permaculture playing cards*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Don't get me started about those stupid light bulbs.
subject: Windows Service
Similar Threads
Listening for connections
How can I create a background process
how can we write memory resident program
How to run Java Program as windows service?
Checking for a Windows Service from Java