I have a very simple Java procedure that I would like to install on a windows server 2003 machine as a SERVICE.
This application does a little file processing. It checks for files to process and loops around a wait statement if no files exist. In between loops it does a check for a 'stop' file. If a certain file, a.k.a stop.file exist then the application exits!!!
Currently I have + a simple C++ program that uses windows service start & stop API + the start and stop API methods call a start & stop bat file. + the start.bat launched java application + the stop.bat copies stop.file to end application This works fine until user logs of windows. When user logs off, the child java processes die.
Does any one have any suggestion about my soln? Does anybody know some fancy what of generating a service from java app, MACRO?
I am familar with open source proejct SERVICE WRAPPER but are ther any alternative?
The men of Ireland were hurling when the gods of Greece were young