有两个开源项目可以实现将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.
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程序注册为系统服务的开源项目:Wrapper和YAJSW。Wrapper允许Java应用程序像本地NT或Unix服务一样被安装和控制,并具备故障纠正软件自动重启崩溃或冻结的JVM。YAJSW则是一款LGPL授权的纯Java替代方案,提供多种额外功能并支持Groovy脚本扩展。
6319

被折叠的 条评论
为什么被折叠?



