This content has been marked as final. Show 2 replies
IMO, there should be a common location for all the jboss specific annotations. Hence i think the ejb3-ext-api is the right place for this.
Also we need to be able to extend jboss-metadata to allow plugins, so that the retry function can be enabled via descriptors.
I am not really good at xml xsd and similar things, but i guess there would be some option available where in we can say a given xsd element (ex: sessionBeanType) can have multiple different type of sub-elements whose type is not known. Just an example in jboss.xml
<session> <tx-retry>numberofattempts</tx-retry> ...// later on for some other functionality <xyz>blahblahblah</xyz> </session>
can have multiple different type of sub-elements whose type is not known.
Or maybe the type of the sub-elements can be a common JBoss specific interface which the new elements implement.