Ajeesh
Ajeesh

Reputation: 1646

Modify Website After Deployment without undeploying

I have a website hosted in "Apache Tomcat Server". I would like to edit few pages without undeploying the website (realtime). Website developed using jsp/servlet. I know that generating another .war file and redeploying the new .war file but this will make my website to be unavailable for few seconds/minutes right. Is there any solution to modify without undeploying the current website so that my website will be running always.

Upvotes: 0

Views: 1453

Answers (1)

NilsH
NilsH

Reputation: 13831

If it just is textual content, consider integrating a CMS. If you mean actual code changes, you could edit the files directly in the expanded deployment directory, but I wouldn't recommend that in the long run. If you really have a requirement of no downtime, you should consider setting up an extra instance of your server that you can switch between live. This can be done quite simple, but it can also be as complex as you wish, with clustering/session replication etc.

Upvotes: 2

Related Questions