0

I would like to create a Java APP that could register instances of a service and start/stop them. I don't want a GUI to be launched with the service, but a manager that can run separately to it and interact with the status of the server

Any pointers at where to start?

javaNoober
  • 1,338
  • 2
  • 17
  • 43
  • Windows services can not have any GUIs at all. You're service management GUI has to be a separate program. – Roman Dec 13 '11 at 05:38

1 Answers1

0

Use jcraft to SSH into your local host and call commands. If you do it this way it will take two hours to write. http://www.jcraft.com/jsch/

Also take a look at: In Java, send commands to another command-line program

Community
  • 1
  • 1
Mikhail
  • 7,749
  • 11
  • 62
  • 136