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

remy.maucherat@jboss.com do-not-reply at jboss.com
Fri Feb 1 09:27:41 EST 2008


Ok, so my current tactic is to create a TomcatService class which would take over the code from TomcatDeployer which starts and stops Tomcat, to be placed in deploy. That's relatively easy.

What's much harder to me is how to handle TomcatDeployment, which has lots of dependencies and extends AbstractWarDeployment. The class takes care of the actual deployment, and would thus need to be split in two. The "active" parts which depend on Tomcat (the preform(Un)Deploy methods) would be moved to the TomcatService class, and called using JMX. I suppose this would work, but involves passing around a lot of objects.

I would still appreciate some concrete help with this stuff :)

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

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



More information about the jboss-dev-forums mailing list