-
1. Re: JTA/WS-AT bridging
adinn Feb 20, 2011 8:01 AM (in response to kzuno)1 of 1 people found this helpfulUno Kazuya wrote:
For example,
a JBossAS(client side) begins a JTA transaction, does some transactional works(like a EJB3 local session bean)
and invokes a web service.
another JBossAS(servier side) receives a web service request and does does some transactional works(like a EJB3 local session bean).
client side JTA transaction controlls whole transaction boundary.
so, JTA -> WS-AT transformation at client side, plus WS-AT -> JTA transformation at server side.
And if it is possible, is there a sample code?
Yes, this is possible in AS 6.. There is a transaction bridge package which can be used to perform bridging from JTA to WS-AT on the client side and from WS-AT to JTA on the server side. It includes a demo which shows how to bridge on the server side from WS-AT to JTA.
Look at the README in directory txBridge of the JBossTS release (for AS 6.0..0.Final the bundled version of TS is JBossTS 4.14.0.Final)
http://anonsvn.jboss.org/repos/labs/labs/jbosstm/tags/JBOSSTS_4_14_0_Final/txbridge/README.txt
This describes the package and identiifies the location of the documentation. The docs provide full instructions for building and deploying the bridge code and writing/configuring your application to use it.
-
2. JTA/WS-AT bridging
kzuno Feb 20, 2011 9:24 AM (in response to adinn)Hi, Andrew.
Thanks for fast reply!