Jump to content

sending commands to a java program


ubu

Recommended Posts

sorry, i think i didnt make myself clear.

i dont wanna use servlets;

lets say that we have a java program running on a server, and we have a php script containing a form. when subscribing, data is passed to the java program..(in fact, it could be a c++ program too) from now, it doesnt matter what the program uses the submitted data for;

 

firstly, i wanna know how to send args to a running app; then, the other side..how to receive them;

 

 

firstly, i wanna know how to send args to a running app;

 

Use sockets to send the data to a specific port.

 

then, the other side..how to receive them;

 

Has nothing to do with PHP but you'll basically need to make the application listen on a specific port. (Also, using sockets).

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.