简体   繁体   English

如何使用 java 创建 window 服务?

[英]how to create a window service using java?

is it possible to run a java program as window service is anyone done that successfully,?是否可以将 java 程序作为 window 服务运行,有人成功做到了吗?

I'm trying to create LDAP application using java, want to run a java application as a window service, java is good choice or not, if any of you guys done any simple window service using java means,can you please share the steps, thanks!我正在尝试使用 java 创建 LDAP 应用程序,想要将 java 应用程序作为 window 服务运行,java 是否是不错的选择,如果你们中的任何人完成了任何简单的 window38 服务,请使用 848214谢谢!

Yes.是的。 There are a number of frameworks available.有许多可用的框架。 I would recommend commons-daemon , which I have been using for a long time.我会推荐commons-daemon ,我已经使用了很长时间。 It is well documented, so just follow the instructions to get it up and running.它有据可查,因此只需按照说明启动并运行它即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM