"anil.saldhana(a)jboss.com" wrote : I am asking a generic question (not related to
security deployer for jacc).
|
| jboss.xml supports "depends" tag - has a schema file.
| jboss-web.xml does not support "depends" tag. Just has a dtd file.
| jboss-app.xml does not support "depends" tag. Has a dtd file.
|
jboss-web.xml does support a depends element.
jboss-app.xml does not support depends because its not a component deployment. Its more of
a packing notion. Anything needing a dependency in an ear would have its own depends
support in its descriptor.
In terms of dtd vs schema, everything should be moved to schemas.
In general the need for depends is a hack around not having proper dependency associated
by the component deployer. If I reference a jndi resource, a dependency on the provider of
that binding should be created by the container that resolves the reference. ejb3 has
started doing this for injections.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992356#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...