[jboss-as7-dev] UserTransaction used by remote clients

Jason Greene jgreene at redhat.com
Tue Mar 6 19:55:05 EST 2012


Another interesting thing you can also do is use Arjuna in Jta mode on the client and join local resources in the transaction as well.

Sent from my iPhone

On Mar 6, 2012, at 1:09 PM, "David M. Lloyd" <david.lloyd at redhat.com> wrote:

> On 03/06/2012 11:17 AM, Wolf-Dieter Fink wrote:
>> Is it possible to lookup and use UserTransaction from a remote-client as
>> in AS5?
>> Or is it planned for further release?
> 
> In AS 7, you can have a connection to more than one server at once. 
> Thus you have to specify which server node you want to talk to.  The 
> method you want is 
> org.jboss.ejb.client.EJBClient#getUserTransaction(String), where the 
> argument is the node name.  Note that your connection must already be 
> established at this point.
> 
> We do not presently have a way to pull a UserTransaction out of JNDI, 
> though that could be considered for an enhancement.
> 
> -- 
> - DML
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev



More information about the jboss-as7-dev mailing list