This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JNLP and Web Start and the fly likes Creating Windows Service in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Creating Windows Service in Java" Watch "Creating Windows Service in Java" New topic

Creating Windows Service in Java

Thennam Pandian
Ranch Hand

Joined: Oct 11, 2005
Posts: 163
Dear feiends,

I want to convert a Application to window service.

please help me
Peer Reynders

Joined: Aug 19, 2005
Posts: 2921
Usually this involves writing a service wrapper (usually in C) that acts as the windows server and interacts with your Java application. There are open source "Java Service Wrappers" available - simply google for them:

Here are some examples:
What is the Java Service Wrapper?
Running Java Applications as a Windows Service By Rick Proctor
Running a Java� 2 Application as an NT Service
How to make a Java NT Service
Java Windows NT Services

Whether these solutions will continue to work on Vista(Codename Longhorn) I don't know (I have my doubts; a new wrapper may be required).

Moving this to the General Computing Forum.
I agree. Here's the link:
subject: Creating Windows Service in Java
Similar Threads
design patterns
WA #1.....word association
EJB Container service
i want to know how do you invoke any string,array,object data from web service
Design pattern to consume an existing web service