[jboss-dev-forums] [Design of POJO Server] - Re: Ordering of nested deployments

scott.stark@jboss.org do-not-reply at jboss.com
Wed Oct 11 02:57:19 EDT 2006


"adrian at jboss.org" wrote : 
  | This is just scheduling of deployments. It says, I'm going to deploy
  | these components.
  | 
  | The real deployment is done width first in a staged manner.
  | 
  | I don't see the need to differentiate inner from outer deployments?
  | 
  | Is there a case where stage N of an outer deployment depends
  | upon stage N of an inner deployment?
  | Why?

How do I control the order in which deployers that both rely on ServiceMetaData components to have these services started in the correct order? Its the old issue of lacking explicit service dependencies, having a coarse module based ordering mechanism. Currently the war deployer is a AbstractSimpleRealDeployer with the same relative order as the RARDeployer. A war with a nested rar has no guarentee of correct startup of the rar without an explicit dependency on its service. Maybe it will be irrelevant in the end as interaction with the rar services will be through injection and the required dependencies will show up, and this will be a non-issue.


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

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



More information about the jboss-dev-forums mailing list