How can I run my Java application as a Windows Service?
The Java Service Wrapper makes it easy to turn almost any Java application into a Windows Service in minutes.
On Windows systems, Java applications are run in a command prompt. This requires a user account to be logged on to the system at all times, and a command prompt to be open and running on the desktop.
There are several drawbacks to this ranging from security, to system performance, to simply having the risk of a user pressing the wrong key on the command prompt and killing the Java application.