[jboss-dev-forums] [Design of POJO Server] - Re: WarDeployer dependency on TomcatClusteringCache

scott.stark@jboss.org do-not-reply at jboss.com
Tue Oct 31 13:27:15 EST 2006


Ok, I was confused about what I ended up with. The org.jboss.web.tomcat.tc6.deployers.WarDeployer should just be deleted as it was an early local prototype.

org.jboss.web.deployers.AbstractWarDeployer is the base AbstractSimpleRealDeployer that is creating the ServiceMetaData for the web app mbeans in deployWebModule. This is passing on the jboss-web.xml dependencies to the web app ServiceMetaData.

There are a lot of refactoring to be done once tomcat itself is better broken up, but for now the only problem is that the dependencies declared on the WarDeployer should really be propagated down to the web application mbean. So the war-deployer-beans.xml should just have the names of the beans/services that satisfy the tm, clustering, security, etc. needs, and these should just be added to the WebMetaData depends list for processing by the service layer.

How these services are injected/accessed is likely going to need to be pushed down into the web app mbean as well.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982185#3982185

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982185



More information about the jboss-dev-forums mailing list