[jboss-dev-forums] [Design of JBoss/Tomcat Integration] - Re: JBIDE-3394, hot deployment management api

emuckenhuber do-not-reply at jboss.com
Sun Dec 21 07:19:44 EST 2008


"max.andersen at jboss.com" wrote : I would *really* like to avoid us having to deploy *anything* on a server to manage these things.
  | Deploying something like that is a road to endless support issues.
  | 
  | I would rather not have this feature in the tools if there is no other way - but from the sound of Scott it sounds like we could do something ?

Hmm, how about using something like the ProfileService DeploymentManager:
http://anonsvn.jboss.org/repos/jbossas/projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/deployers/spi/management/deploy/DeploymentManager.java

With this you can deploy a relative deployment from the file system, or you can tell PS to copy a zipped deployment into the deploy/ dir.
Both ways will include it in the hotDeployment checking.
There is also an API (on the Profile itself) to disable checking for modified deployments.

NOTE: we are going to work on this API in the next weeks, so we can definitely have a look and see how we can simplify things for you.

I can point you to a testcase in the AS testsuite if you want to give this DeploymentManager a try :)

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

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



More information about the jboss-dev-forums mailing list