upgrade - How may I update my Java EE application with no downtime? -


How can I automate (no downtime) deployment?
and be able to shut down any server for maintenance.
Which equipment should I use?

I am using Tomcat but I am ready to go to another Java EE server which is suitable for presenting requirements.

I want to know that use the configuration details.

If you have two templates running in a cluster (behind load balancer or apache)), It's really easy

  1. Update the server from the cluster to the server 1.
  2. Back up the server 1.
  3. Move 2 servers from the cluster, update the server.
  4. Revert Servers 2.

If you are fully re-deploying your application then there will be some results in downtime (though brief).

If you can afford a bit of downtime (& lt; 1 second), then you can simulate this by deploying it in another incident of Tomcat, then on your load balancer on the second example Can indicate. In this case, you will lose any active session, but the switch should be real fast.

In both cases there are issues of database synchronization that you may have to know though.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -