binary.zip - contents:

javaservice.jar
javaservice.exe
javaservice.list - list of JDaemon-derived classes to register
sampledaemon.jar - jar file containing one JDaemon-derived class (SampleDaemon)
SampleDaemon.java - JDaemon-derived sample service

Instructions:

unzip the contents of binary.zip into its own directory
on an intel-based (or AMD-based etc.) computer with Windows NT 4.0
(have not tested on NT 5.0) and Sun's java runtime 1.2.2
(available at http://java.sun.com/products/jdk/1.2/jre/index.html)
installed.

In a command window, type "javaservice /install" to install
the sample service referenced in javaservice.list (SampleDaemon)

Once installed, you should see "SimpleJavaService" in the
list of services in Control Panel.

If you start "SimpleJavaService" from the control panel, it should
beep and print "hello" to System.out until it is stopped.

System.out is redirected to javaservice.out and
System.err is redirected to javaservice.err

so after running SimpleJavaService for a while, you should
see its output in javaservice.out

To write your own services, put javaservice.jar in your java compiler's
CLASSPATH and use SampleDaemon as a starting point.


jsource.zip - contains Java source code for javaservice.jar
csource.zip - contains C++ source code for javaservice.exe

If you have any questions, email me at mjenning@islandnet.com
with a subject of "JAVASERVICE"

Good luck!
-Mike Jennings











