Monday, September 09, 2013

Running Java Application as Daemon on EC2 Instance


To run an application as a daemon (similar to Windows service) these are the primary options:

Java Service Wrapper

http://wrapper.tanukisoftware.com/doc/english/launch-nix.html

Apache Jakarta Commons Daemon

http://commons.apache.org/proper/commons-daemon/

Shell Script

http://www.source-code.biz/snippets/java/7.htm

http://stackoverflow.com/questions/11809191/linux-launch-java-program-on-startup-ec2-instance