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.