(This is untested as I don't have an Ubuntu box at hand – the locations depend on your distro, as with Apache installs.)
There actually are sane people in the Java community – underneath the "Java EE" overcomplexity there are some regular old Java web frameworks that are pretty simple and robust. Unfortunately they can be easily overlooked, as the EE community is loud.
A Java app can be written similarly:
(This is untested as I don't have an Ubuntu box at hand – the locations depend on your distro, as with Apache installs.)There actually are sane people in the Java community – underneath the "Java EE" overcomplexity there are some regular old Java web frameworks that are pretty simple and robust. Unfortunately they can be easily overlooked, as the EE community is loud.