With the caveat that not everything that can be achieved in C under Unix can actually be done in Java, this sounds like a relatively simple project. I would need to see your code before committing to providing a solution, but am relatively confident that it can be done. I am an experienced Java server developer with 15 years Java development experience.