How can i create a java application that can start开发者_运维百科/stop like tomcat. It must run 24/24.
You have to run your application as a daemon, Apache Daemon is exactly what you're looking for. It supports both Unix and Win32, and the codebase is originated from Tomcat actually. I have no experience with it myself though.
精彩评论