Hi,

At the moment I start the HTTP class server and reggie using scripts:

jini-httpd.sh
jini-reggie.sh

Which I took from the examples. These start Java processes:

java -jar ../lib-jini/classserver.jar -port 8080 -dir ../lib-jini-dl

And:

java -Djava.security.policy=jini-start.policy -jar
../lib-jini/start.jar start-reggie.config

All good, and I appreciate that there are other ways of running Jini, and
the various scripts in the examples demonstrate some of the flexibility
available, though I have not yet explored the options in much depth.

What I would like to do now, for the sake of simplicity, is to have a
single Java main() method, that laucnhes the class server, reggie, and my
"management console" application, all as a single process. Services that
can be managed, will then make themselves available through that registsry,
as and when they come online. This is the most common way in which it will
be run.

Are there any example available on doing this? Perhaps I just need to start
digging through the main() methods in classserver.jar and start.jar to get
an idea of how it is done.

Thanks for your help.

Rupert

Reply via email to