• Post Reply Bookmark Topic Watch Topic
  • New Topic

getting UserTransaction object using BMT  RSS feed

 
rajareddy annavaarm
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I heard there are two methods getting UserTransaction object using BMT
1)first one is getting EjbContect
2)second one through JNDI-which jndi name i need to give
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another way is to get it from JNDI using the JNDI name java:comp/UserTransaction.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!