Bit of a basic question but I cant seem to find a straight answer
I have a java app that I currently run by issuing java -jar myapp.jar, but I am wondering what the advantages are to having it run as a daemon, I can run the jar on startup using a shell script so are there any other reasons from a performance / reliability point of view?? Or other issues that I have completely missed?
(running ubuntu 10.10)
Thanks
If you are thinking of something like Apache Commons Daemon, then you would gain things like