I have a standalone Java application which will run continuously post start-up (e.g. java com.<mycompany>.FooServer
) on a Windows EC2 instance.
Currently I have started this from a command shell. How do I make sure that it runs on a re-boot, should I be wrapping this into a Windows service? What is the easiest way to handle start/stop of my standalone server?