if i have a server machine with tomcat etc. How could i create well hosting for myself only. I mean if i would have several sites on one tomcat? If it possible to create stable environment with that without needing to restarting whole server when uploading new code to particular application on the tomcat? I just know that it is almost impossible with classic Java to have several sites which would be online 24×7 if someone changes some code on one of the application. It is not so easy as with ruby on rails right?
Share
Wrong. It’s actually quite easy to redeploy a running application in Tomcat, and other applications are not affected.
The main problem with this is classloader leaks in applications, which can eventually lead to an
OutOfMemoryErrorand require a restart.