jQuery in Action, 3rd edition
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 2930
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: http://aspose.com/file-tools
subject: Creating Windows Service in Java
jQuery in Action, 3rd edition