It's not a secret anymore!
The moose likes Java in General and the fly likes Windows Service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Windows Service" Watch "Windows Service" New topic

Windows Service

Mamu Jan
Ranch Hand

Joined: Sep 21, 2005
Posts: 45

How can I make my java application run in the background just like firewalls or anti virus softwares?? Whats the difference between these programs and a windows service?? Is it possible to write a windows service in java?


There is no patch for ignorance...
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Its not possible to write a Windows Service in Java, but it is possible to wrap a Java process up as a Windows Service. Have a look at something like Java Service Wrapper or JavaService.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: Windows Service
It's not a secret anymore!