将java程序注册成系统服务

网上有帖子说有两个开源项目可以实现将java程序注册成系统服务

 

先记录下来,后续研究

1) http://sourceforge.net/projects/wrapper/ 
Configurable tool which allows Java applications to be installed and controlled like native NT or Unix services. Includes fault correction software to automatically restart crashed or frozen JVMs. Critical when app is needed 24x7. Built for flexibility. 

2) http://sourceforge.net/projects/yajsw/ 
YAJSW is an LGPL licensed pure java alternative for tanuki java service wrapper. It implements a multitude of additional functions and can be easily extended with groovy scripts. JSW configurations can be easily ported.

 

你可能感兴趣的:(java)