How can I run a Java server application as an NT service?
You can run a Java server appliation as an NT service if you use theMicrosoft SDK for Java. You can download the latest version fromMicrosoft’s web site. The SDK includes a package called com.ms.servicewhich contains a Service class, with which NT services can be created.You also need to turn the Java application into an executable NT serviceusing the jntsvc.exe utility provided with the SDK. If you look inthe bin directory of the SDK, there is a jntsvc subdirectory which containsjntsvc.exe and an example Java program implementing an NT service. Moreinformation is available in the Microsoft SDK for Java documentation.