[jboss-dev-forums] [Design of POJO Server] - JBMETA-110: CreateDestination metadata feature / new metadat

wolfc do-not-reply at jboss.com
Tue Feb 10 06:20:28 EST 2009


We need a way to add new vertical features without affecting the horizontal layers. For example CreateDestination required a change to metadata. It'll will also require a new annotation processor, but that one can (/should) be configured on the EjbAnnotationMetaDataDeployer. (Right now hardcoded in JBoss50Creator.)

For EJBTHREE-987 I stuffed it into the activation properties, which are filtered out when the end point needs to be created. (Let me take the liberty to give myself Brock points for that kind of solution.)
https://jira.jboss.org/jira/browse/EJBTHREE-987

We may end up with tons of features which should not be coded within jboss-metadata itself (cache configurations for example). And I want to abuse it to allow EJB 3.1 to become a true extension.

So we need a blueprint which can us forward.

To ramble a bit on: maybe an xsd that allows for 'random' elements within bean metadata and then have a deployer split those up. Next deployer picks up and deploys something.
<session>
  |   <ejb-name>MyEjb</ejb-name>
  |   <cache xmlns:mycache><max>10</max></cache>
  | </session>

For the jboss xsd that should not pose a problem, but how will this be reflected into code without losing type safety?

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

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



More information about the jboss-dev-forums mailing list