[Deployers on JBoss (Deployers/JBoss)] - DeployerConfig vs. WebMetaData
by bstansberry@jboss.com
Wanting to clean up some stuff related to clustered webapp configuration, but first want to be sure I understand how things are meant to work.
Looking at DeployerConfig and WebMetaData, it seems like there's some overlap in their usage. Both contain some metadata about a web app. AFAICT, DeployerConfig should contain information that solely tells the deployer how to do the deployment, while WebMetaData would be the place to put things that the webapp itself would need to understand. Metadata that the deployer doesn't care about but the webapp does should be stored in WebMetaData.
DeployerConfig has a number of clustering-related properties that based on the above should be stored in WebMetaData rather than in DeployerConfig:
cacheName
useJK
useLocalCache
snapshotMode
snapshotInterval
This will eliminate a bunch of code where TomcatDeployment is passing these values into the clustered session manager one at a time. Instead they all would get passed with WebMetaData.
Am I wrong-headed here?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083615#4083615
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083615
17 years, 1 month