I am looking for the best method to run a Java Application as a *NIX daemon or a Windows Service. I\'ve looked in to the Java Service Wrapper, the Apache Commons project \'
Are there any special attributes that you need to apply (like OS guided resource management) that you need to support? Otherwise, for Unix you should be able to daemonize your application by writing an appropriate init.d script and setting your app to start automatically.