[jboss-dev-forums] [Deployers on JBoss (Deployers/JBoss)] - Re: Ordering of .ear subdeployments

dimitris@jboss.org do-not-reply at jboss.com
Wed Aug 23 05:43:45 EDT 2006


Maybe a simpler/better solution is to add in jboss-app.xml a new tag:

<module-order>implicit|strict</module-order>

with 'implicit'  being the legacy behaviour, and 'strict' work by simply putting the the application.xml & jboss-app.xml modules in that order.

If modules from the 2 descriptors need to be arbitrarily mixed (e.g. a -ds.xml before an ejb jar), they can always be moved to jboss-app.xml (we already support this).

The only restriction is a module must appear only once in the 2 descriptors.

This is essentially the same with adding a new list (like unified-order) but we reuse the existing one, and add the extra flag to specify what we want.

On the other hand, I would argue that 'strict' should be the default, which is the "correct" behaviour, especially in the absence of a jboss-app.xml descriptor. If an old deployment gets broken, they can simply add the 'implicit' flag.


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

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



More information about the jboss-dev-forums mailing list