Home:ALL Converter>Which Java Service or Daemon framework would you recommend?

Which Java Service or Daemon framework would you recommend?

Ask Time:2009-10-11T11:01:16         Author:

Json Formatter

I have encountered many different ways to turn a Java program into a Windows Service or a *nix daemon, such as Java Service Wrapper, Apache Commons Daemon, and so on. Barring licensing concerns (such as JSW's GPL or pay dual-license), and more advanced features, which one would you recommend? All I intend to do is convert a simple Java program into a service; I don't need anything fancy, just something that runs as a service or a daemon, so I can start it or stop it in the service manager, or it runs for the lifetime of my *nix uptime.

EDIT:

I've decided to make this community wiki. I didn't start this question with an intention to find an answer for a problem I really had. I was just doing some reading and researching and chanced upon this question, so I was looking for recommendations and the like. Sorry for not doing this sooner or doing this at first. I didn't know what community wiki was for when I first started, and I completely forgot about this question until now. Many thanks for the answers!

Author:,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/1549723/which-java-service-or-daemon-framework-would-you-recommend
CarlG :

I've used JavaService for years and have been very happy with it. Very simple.\n\nThat said, we're switching to JSW for the next major release - its multi-platform support is awesome. Also, having all of the params in a .conf file vs the Windows registry is a major plus. But if you're only looking at Windows, JavaService might be a good way to go. (no experience with Apache Commons Daemon)",
2009-10-11T03:13:22
yy