Usually when developing a server, you create all the server peers as separate Threads. Try making your servers implement Runnable or extending Thread and running them as separate processes.
If your servers are not java classes (let's say some external applications) you can make use
and then
in order to keep your init process alive.
Good luck.