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?
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.