How to create Windows Service using JRuby?

让人想犯罪 __ 提交于 2020-01-17 05:04:07

问题


I know we can create windows service using win32-service gem which is available in Ruby. How we can create a windows service in JRuby, is there any java-specific way which can be re-used ??


回答1:


I'm not sure if there's anything JRuby specific, but you should be able to use Java based service wrappers like 'Java Service Wrapper'. It's used by a lot of OSS projects.

For more information, check the sample integration.



来源:https://stackoverflow.com/questions/4013970/how-to-create-windows-service-using-jruby

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!