This content has been marked as final.
Show 1 reply
-
1. Re: OSGi WebApps on JBossWeb
thomas.diesler Oct 26, 2009 9:18 AM (in response to thomas.diesler)"Burr" wrote:
Will this feature allow me to have 2 of the same .war files deployed at the same time but with different version numbers and with possibly different implementations?
If so, how will we "route" requests to the right version of the .war file?
If so, how will we handle http session replication across a cluster, like when the 2 versions of the .war file have slightly different implementations of POJOs that used in the session (e.g. ShoppingCart, UserProfile)?
I would assume that the deployment name would have to be different (i.e. mywebapp_v1.war, mywebapp_v2.war). Each webapp would have to be deployed to its own http context.
OSGi Package-Import manifest headers would make sure that each webapp is wired to the correct implementation