Menu

#243 jca 1.5 deployment in jboss 4

open
nobody
None
5
2003-03-14
2003-03-14
No

I've implemented deployment of jca 1.5 adapters in jboss 4, with the exception of AdminObjects. There is an example deployment descriptor testadapter15-ds.xml in testsuite/src/resources/jca/adapter15.

The deployment process works in two steps: the ra.xml is converted into a collecton of xmbean descriptors in the first step, and in the second step the *-ds.xml file is converted into a *-service.xml format xml document using the xmbean descriptor from the first step, and deployed.

This process makes heavy use of mbean interceptors to convert the jboss lifecycle events into the lifecycle events needed by the jca adapter.

As a subproject I addded the ability to directly specify the mbean interceptor chain classes in the xmbean descriptor. There are examples of this in RARDDTemplate1.5.xsl.

There is a simple test adapter and a simple test that demonstrates sending a message from an outbound adapter through an inbound adapter to an mdb. This test passes for me when run alone but sometimes fails when run in the entire testsuite.

I would greatly appreciate an example of an admin object since I don't really understand what they are for yet. Apparently they need to be bound in a target(?) mdb java:/comp/env/ jndi context, which may mean the jboss specific mdb dd will need modification.

I would also greatly appreciate a real example of a jca 1.5 adapter.

Discussion


Log in to post a comment.