[jboss-as7-dev] UserTransaction used by remote clients
David M. Lloyd
david.lloyd at redhat.com
Tue Mar 6 12:28:23 EST 2012
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
More information about the jboss-as7-dev
mailing list