Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating Windows Service in Java

 
Thennam Pandian
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear feiends,

I want to convert a Application to window service.


please help me
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic