[jboss-dev-forums] [Design of JBoss/Tomcat Integration] - Re: Tomcat Deployer is wrong in JBoss Head

scott.stark@jboss.org do-not-reply at jboss.com
Fri Feb 1 12:31:34 EST 2008


"adrian at jboss.org" wrote : anonymous wrote : What's much harder to me is how to handle TomcatDeployment, which has lots of dependencies and extends AbstractWarDeployment.
  | 
  | My understanding is that AbstractWar/TomcatDeployment are encapuslated
  | by the WebModule MBean that is used to "populate" the runtime. 
  | 
  | It is the WebModule that is created as the ServiceMetaData
  | description by the deployers and it delegates to the Deployment which in
  | turn "talks to" the runtime in the start/stop
  | once dependencies are resolved (e.g. the clustering implementation or ejb-links resolved)
  | 
  | This could probably be simplified (a lot :-) At least since WebModule 
  | seems to be doing little except possibly avoiding a change in api 
  | at some previous point in history?
  | 
Yes, the refactoring should completely redo the server/*/war deployer classes as these have not been supported as a generic spi since jboss 3x days. All we have done at this point is minimal changes to emit service metadata for things that used to be directly started by the tomcat mbean (WebModule).


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

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



More information about the jboss-dev-forums mailing list