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 'jsvc', and the Apache Commons project 'procrun'. So far, the Java Service Wrapper looks like it's the best option... but, I'm wondering if there are any other "Open Source friendly" licensed products out there.
You can install any Java application as a service. Usually, you install applications that run forever like an HTTP server in this case. We use the application as is with just a small change.
I've had great success with Java Service Wrapper myself. I haven't looked at the others, but the major strengths of ServiceWrapper are:
Anyway, just my 2 cents... :)
Another option is WinRun4J. This is windows only but has some useful features:
Its also open source friendly (CPL) so no restrictions on use.
(full disclosure: I work on this project).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With