Starting Java Programs as Windows Services

Last week at work we needed to run a Java server application in background as a windows service. Turns out that the Java Service Wrapper works pretty well, it takes care of launching the JVM with the appropriate options in the context of a windows service.