This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Creating Windows Service in Java" Watch "Creating Windows Service in Java" New topic
Author

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
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
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:
http://www.google.com/search?q=Windows+Service+Java

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