[jboss-dev-forums] [Design of JCA on JBoss] - Re: JBAS-1437 RARMetaDataRepository
scott.stark@jboss.org
do-not-reply at jboss.com
Mon Feb 26 13:55:11 EST 2007
Right, and I'm saying the natural way to handle this and leverage the existing xml binding deployers is to:
1. Transform the ds.xml into an xml doc partitioned with namespaces:
| <datasources>
| <xa-datasource>
| <username />
| <password />
| <min-pool-size/>
| <max-pool-size/>
| <connection-url/>
| <xa-datasource-property/>
| <xa-datasource>
| </datasources>
|
goes to via a new xsl
| <dsxml:datasources>
| <dsxml:xa-datasource>
| <ns1:username />
| <ns1:password />
| <ns1:connection-url/>
| <ns2:min-pool-size/>
| <ns2:max-pool-size/>
| <ns3:xa-datasource-property/>
| <dsxml:xa-datasource>
| </dsxml:datasources>
|
where you have jaxb or jbossxb factories for each of the dsxml, ns1, ns2, ns3 namespaces that produce distinct metadata attachments for each namespace.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022617#4022617
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022617
More information about the jboss-dev-forums
mailing list