Turn the Java class into a Windows NT service 3 method (using java serivce wrapper)
Three ways to integrate Java Service Wrapper with the Java class into the 3 Method (using Java Servce Wrapper): 1 Launch your application using the WrappersImpleApp class, which is the simplest, also recommended for Java Service Wrapper Method. 2 uses the WrapPerstartStopApp class. This method and the first difference are that you can use a class boot service, another class to stop the service. This is particularly like a service program like Tomcat. 3 This method provides more The first two methods are more flexible to implement service. The flexible back is to write code to complete. Specifically, the WrapperListener interface is implemented. When the user's interface class is launched, it will be registered to WrapperManager. This allows us to customize the service received. Commands and corresponding responses, such as launching and closing services, etc.
Originally, please refer to: http://wrapper.tanukisoftware.org/doc/english/integrate.html