Title: Message
The way we approach running Java stuff as services is to run them as servlets, since Tomcat (and most other servlet containers) can be run as a service themselves; these "service" servlets do not necessarily processing requests (although we sometimes do that, providing a "status" page to conviently show the status of the service), but instead they basically just fire up the Java process from the servlets init() method and then clean it up when the servlet is destroyed. So its easy to add/remove/cycle services, there's a known lifecycle that's easy to implement against, plus its a platform independant approach...
 
Works really well for us...
Christian
----------------------------------------------
Christian Cryder [[EMAIL PROTECTED]]
Internet Architect, ATMReports.com
Barracuda - http://barracuda.enhydra.org
----------------------------------------------
"Coffee? I could quit anytime, just not today"
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Bhangale, Bhushan
Sent: Wednesday, July 31, 2002 6:25 AM
To: [EMAIL PROTECTED]
Subject: Java Application as a NT Service

Hi Guys,
 
Does anybody know how to register a java application as a Window NT service? I was searching on net and found JNT software which does it, anybody has any idea about this utility. The others ways are by creating some C++ file and do it. Any comments guys? I am looking for simplest solution if anybody knows.
 
Thanks & Regards
Bhushan Bhangale
Sr. Software Engineer
Fusion Infotech India Private Ltd.
Ph. no. - 1-212-641-6932 (O)
 


"The information in this e-mail, and any attachment therein, is

confidential and for use by the addressee only. If you are not the

intended recipient, please return the e-mail to the sender and delete

it from your computer. Although The Bank of New York attempts to

sweep e-mail and attachments for viruses, it does not guarantee that

either are virus-free and accepts no liability for any damage sustained

as a result of viruses."


Reply via email to