Community

Embed JBoss JCA into your java program ?

reply from Jesper Pedersen in JCA Development - View the full discussion

Once you have deployed your resource adapter you can use it as you normally would by looking up the ConnectionFactory and getting a connection from it.

 

This test case shows how the look up should be done:

 

http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-jca/trunk/deployers/src/test/java/org/jboss/jca/test/deployers/spec/RarTestCase.java?revision=99481&view=markup

 

We will add more documentation in this area once we hit the Beta phase, but community contributions are always welcome !

 

As to the inbound part - that part is optional in a standalone environment, so we will take a look later on what we can do. Contributions is also most welcome here :)

 

Start by checking out our source code

 

http://docs.jboss.org/jca/developerguide/en/html/building.html

 

and send us your documentation patches as JIRAs while you are making progress in this area.

 

We are committed to the embedded use-case as we use it ourselves to actually test the container ;)

Reply to this message by going to Community

Start a new discussion in JCA Development at Community