Whatever Tomcat did:

  + When I download Tomcat for Windows, I get a Windows installer.  After 
installation of which, I have a Windows service that I can start and stop

  + When I install Tomcat for Linux (from the distribution’s package 
repository) I get a service script that I can start/stop/restart just like any 
other services

  + I don’t have the latest Mac but I assume the experience is comparable to 
the above.

I don’t know the details of how Tomcat did it.  But if you can do what they 
did, I think your users will be happy.

--
Weiqi Gao

From: Alan Kent 
Sent: Tuesday, July 05, 2011 10:05 PM
To: [email protected] 
Subject: [The Java Posse] Running a Java process as a service on multiple 
platforms

Hi all,

Just wondering what the current "best practice" was on having a Java process (a 
server) that is to be restarted with the machine boot. The service may need to 
be deployed on different platforms (Unix/Linux, Windows32, Windows64, etc).  
You know, that old "write once, run anywhere" business.

Some options I know of:

  a.. "Java Service Wrapper by Tanuki Software 
http://wrapper.tanukisoftware.com/"; - commercial license required for 64 bit 
Windows 
  b.. "Yet Another Java Service Wrapper: http://sourceforge.net/projects/yajsw"; 
- Lots of platforms, free, but marked as beta 
  c.. "Apache Commons Daemon: http://commons.apache.org/daemon"; - no 64 bit 
windows support?

  d.. "JavaService: http://forge.objectweb.org/projects/javaservice"; - Windows 
only

  e.. "NT Wrapper for Windows: http://www.duodata.de/ntwrapper/ " - Windows 
only, commercial license 

There are more - but I was wondering if there was any clear winner.  Any hands 
on experience people are willing to share?  Yet Another Java Service Wrapper 
(yajsw) looked promising, but the beta label was concerning.

Thanks!
Alan
-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to