Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Writing Java TCP/UDP Server - processes

807580Feb 4 2010 — edited Feb 16 2010
Hi,
i want to write an java server that runs few processes (in each process some threads).
Could anyone give me guidelines where to start searchig for an solution.
I want to make something like apache has:
- runs i processes
- Xi process has some threads
- client connects to serversocket and the requests are redirected into suitable process
- after request done process sends response

I found ProcessBuilder but it let you to run external commands and im not sure if
i can do this that way. I have to share some resources too. Gives in java this kind
of mechanism ? (something like shared memory in C)

Greets,
Kuba
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 16 2010
Added on Feb 4 2010
31 comments
731 views