ParallelLogic
Member
- Messages
- 35
- Reaction score
- 0
- Points
- 6
The basics of what I want to do is take information sent from a Flash app not hosted on x10, process it and generate a few GET/POST calls, using Java, that are then sent to another site.
I currently have a method to go from the Flash app, XML and PHP to get to x10 (which I presume could then be filtered into Java). I also have a Java program that can generate the GET/POST calls necessary (I can run this program on my home computer). Ideally, I'd like my Java program to run on x10 in some form because I'd like it to ping a website (via the GET/POST calls) every 5 or 10 minutes or so to show that the program is running. Also, on occasion a user will interact with the Flash app, providing the second form of communication. So I need this system to accomplish two things: ping a server and communicate with a user (from a Flash app through Java and to a GET/POST call). The latter is more important than the former, so I could have the program 'wake up' each time a user interacts with the Flash app and simply drop the pinging of the server, but I'd prefer to show the user the program is online as well.
In my ideal situation, I could host my Java program on the x10 servers. I haven't looked into this deeply yet as I don't have experience with server-side operations and I was hoping some other users could provide some insight into what is and isn't technically possible.
This isn't an applet, although I may be able to convert it into one, I do fear however that that would limit or prevent me from sending GET/POST calls.
I am open to working in other languages, I'm just more familiar with Java and have a working program there - if there's a way to send POST/GETs, etc with PHP or another more appropriate language, please feel free to direct me to that
Fun stuff, thanks for reading
I currently have a method to go from the Flash app, XML and PHP to get to x10 (which I presume could then be filtered into Java). I also have a Java program that can generate the GET/POST calls necessary (I can run this program on my home computer). Ideally, I'd like my Java program to run on x10 in some form because I'd like it to ping a website (via the GET/POST calls) every 5 or 10 minutes or so to show that the program is running. Also, on occasion a user will interact with the Flash app, providing the second form of communication. So I need this system to accomplish two things: ping a server and communicate with a user (from a Flash app through Java and to a GET/POST call). The latter is more important than the former, so I could have the program 'wake up' each time a user interacts with the Flash app and simply drop the pinging of the server, but I'd prefer to show the user the program is online as well.
In my ideal situation, I could host my Java program on the x10 servers. I haven't looked into this deeply yet as I don't have experience with server-side operations and I was hoping some other users could provide some insight into what is and isn't technically possible.
This isn't an applet, although I may be able to convert it into one, I do fear however that that would limit or prevent me from sending GET/POST calls.
I am open to working in other languages, I'm just more familiar with Java and have a working program there - if there's a way to send POST/GETs, etc with PHP or another more appropriate language, please feel free to direct me to that
Fun stuff, thanks for reading