[jboss-dev-forums] [JBoss OSGi Development] - Re: OSGi WebApps on JBossWeb
thomas.diesler@jboss.com
do-not-reply at jboss.com
Mon Oct 26 09:18:02 EDT 2009
"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
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262176#4262176
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262176
More information about the jboss-dev-forums
mailing list