[jboss-dev-forums] [Embedded JBoss Development] - Re: ShrinkWrap - Descriptors

ALRubinger do-not-reply at jboss.com
Tue Sep 29 15:29:26 EDT 2009


"epbernard" wrote : web.xml "name" does not exists, it's displayName so that one is a non issue :) 

Bah, you get the idea. ;)  The fact is that archives don't have associated metadata; their descriptors do.  So lumping every operation together in one master object gives me the feelings of an antipattern.

You could counter that argument by saying that descriptors are the only mechanism to give "real" archives some metadata, and that they're in fact one and the same.  But I still prefer to draw the line.

"aslak" wrote : What is a ResourceAdapterArchive(ra) without its Descriptor(ra.xml)?

The way I'm proposing, just a regular archive which additionally supports "public ResourceAdaptorDescriptor getDescriptor()".

S,
ALR

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

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



More information about the jboss-dev-forums mailing list