I have a web app on a Jetty server that uses external services (loads data from another server, connects to a an external socket to receive data etc) and websockets to deliver events and onther data to clients. What I need is to switch from one production version to another (let's say my app has FirstApp.xml context config file and 2 wars: AppVer1.war and AppVer2.war) without downtime (even for 1 second), and without closing sockets connections and websockets for clients. Is this possible with jetty?
Obs. Loading data from other server and creating a socket connection is made in a servlet class, so maybe there are other type of components I should use?
EDIT: I'm using Jetty 9.3.5