Possible Duplicate:
How to create a windows service from java app
How to make the Java application as windows service? I need to run the Java application as windows service for all PC in my company whichever connected to the server. How is it possible?
I think you will have to use the “Java Service Wrapper”.
Here is a link that I think can help you with that: http://wrapper.tanukisoftware.com/doc/english/introduction.html#service
Update
Another 2 links:
How to use Java Service Wrapper for our java application
http://wrapper.tanukisoftware.com/doc/english/qna-service.html