Can we update a jar / war file in a deployed server and then reload the new jar / war file ?
if so how simple we can achieve this, and please if possible list web servers which support this feature.
Can we update a jar / war file in a deployed server and then
Share
Yes.
All major Java EE Servlet containers support this. All that I’ve worked with anyway, which includes Glassfish, Tomcat, WebSphere, WebLogic and JRun.
I haven’t used the other Oracle container, but I would think it does too.
That said, none of them support it all that reliably (they’ll detect most changes, but there are certain types of class changes that will always require a restart), unless you’re using JavaRebel underneath.