0 Replies Latest reply on Apr 21, 2015 6:51 PM by Avneet Bajwa

    What should be the node name that we need to give in EJBClient.getUserTransaction(<nodename>) when an application is deployed on cluster

    Avneet Bajwa Newbie



      Need some inputs on this, When going against a cluster how can i dynamically find our which node I need to take the transaction from i.e. what should i give as input in this method  EJBClient.getUserTransaction(<nodename>). Both the nodes of cluster have different name and i cant tell which node I got the connection from.


      Is it recommended to use context lookup of transaction object rather where the context we used for lookup would get us the right transaction of the remote jvm or should i use this method and give the node name.


      Thanks for the help