• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to create Transaction in client

 
walter wang
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are bean managed transcation
container managed transcation
and client managed transcation
how to create a client managed transcation
actually how to initialize a UserTransaction object in client managed transcation?

could any one give me a example?
rgds
walter
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JTA is usually made available thru JNDI. The details of the lookup is application server specific. For example, to get a UserTransaction object in WebLogic you need to do a JNDI lookup on javax.transaction.UserTransaction.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!