How to pass sockets created to another Java Process

Posted by whoi on Stack Overflow See other posts from Stack Overflow or by whoi
Published on 2009-12-17T14:24:04Z Indexed on 2010/04/16 14:23 UTC
Read the original article Hit count: 155

Filed under:
|
|

Hi; We have an application which creates many sockets which belongs to its thread, By design if this application somehow fails, all threads stop which is not wanted. So to overcome this issue, each thread must be separated from the main application, if one of the threads fails, the other ones should be running. One thing in our mind is to pass created socket to another java process, so what is the correct way?

An other approach also is welcome?

Waiting for your suggestions...

© Stack Overflow or respective owner

Related posts about java

Related posts about socket-programming