The only I ever used once was [Apache Commons Daemon](http://commons.apache.org/proper/commons-daemon/jsvc.html). At first glance it only supports Unix, but I think [Windows is supported](http://commons.apache.org/proper/commons-daemon/procrun.html), too.