Writing Java TCP/UDP Server - processes
807580Feb 4 2010 — edited Feb 16 2010Hi,
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