Monday, August 16, 2010

How to convert java application to windows service?

I have a java proxy server . I run by commandline argument . When I run it it runs as an application I want to run this program as windows service . so that It does not appear to user and user can't stop this program .


Please let me know how to run java application as a windows serviceHow to convert java application to windows service?
There are some third-party tools for doing that - wrapping an application as a ';service';. Some support doing that for more than just Windows Service, but also various flavors of Unix/Linux.





http://yajsw.sourceforge.net/


http://wrapper.tanukisoftware.org/doc/en鈥?/a>


http://commons.apache.org/daemon/





What do you mean by ';user can't stop this program';? A user with admin privileges can stop/start/reconfigure any service. On Windows, they just go to Control Panel -%26gt; Administrative Tools -%26gt; Services.

No comments:

Post a Comment