[jboss-dev-forums] [Design of JCA on JBoss] - Re: JBAS-1437 RARMetaDataRepository

weston.price@jboss.com do-not-reply at jboss.com
Fri Feb 23 07:28:16 EST 2007


Prior to the TCK mess starting up I was nearing completion on both the Repository and the Programmatic Deployment stuff. To recap:

1) New JAXP based parser was created to handle parsing the *-ds.xml file format

2)RARMetaDataRepository was constructed to hold RAR, MCF, ActivationSpec and AdminObject metadata

3)Two new deployers (ManagedConnectionFactoryDeployer and ManagedConnectionFactoryParserDeployer) were created. 

4)The RARDeployment MBean (the older guy) was refactored as a DynamicMBean that takes the MetaData as a value to it's constructor. In this manner. Nice thing is all those attributes that were previously null in the JMX console now actually show something useful ;-)


The only real drawback I can see in this approach is the JAXP parsing stuff. Clearly this is not the most elegant way to go, but I wanted something that was fast, independent and portable. Introducting a DataBinding mechanism at a later time is no big deal since the parser is injected into the ParserDeployer via the MC. 



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

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



More information about the jboss-dev-forums mailing list