 |
 |
 |
 |
| Author |
Message |
daneel
Joined: 03 Feb 2006 Posts: 11
|
Posted: Mon Apr 02, 2007 8:06 am Post subject: External aux service |
|
|
Hello
I don't know if this is the precise place where to post this, sorry in advance if it's not..
Anyway, here's my problem: I want my POL (095) server to be able to use a simple Java service that will be hosted in the same host where POL runs.
I'd like to do this because otherwise I'd have to implement the same thing in POL which is not so simple. This Java program is a very simple server, so I'd like POL to talk to it.
Now, all I know about this is that POL can listen on a certain port and receive and send packets through the net connection, but can't instead start a conversation itself.
So, what's the best way to accomplish the task? The only one I see by now is making POL listen on a port and then at start-up, after launching POL, launch the Java service for it to wait for packets from POL which represent requests for service.
But this isn't so good for many reasons.. for example, I can't "spawn" new instances of the Java services on demand because it's not POL who starts the conversation (unless I complicate the protocol very much).
Do you have any suggestions?
Thank you  |
|
 |
|
|
 |
 |
|