Okie I have a JMS Client which should start listening as soon as the windows is started. One way probably to do it would be just to put the bat file running the program in startup BUT there should be an option for the user to OFF the service and re-start it without restarting the system. So for that I think the solution will be to run it as windows service, that is the first problem on how to do it.
Its very simple.. You first make executable file from your Java file.. you can make it via J2Exe or if you are using JBuilder 9.. then you can make it via JBuilder tool.. Secondly, get "srvany" from google search.. its very commonly used service converter.. it will make service of your exe file..
Joined: Sep 03, 2003
Thanks Ali. Will work on that.
subject: How to run Java Program as windows service?