• Post Reply Bookmark Topic Watch Topic
  • New Topic

transaction across web layer and ejb layer  RSS feed

 
zb cong
Ranch Hand
Posts: 416
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a interview question, they asked me, any way to implement transaction across servlet and ejb (the transaction begin from servlet and end with ejb)?

thanks.
 
Meiyappan Kannappa
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes it is possible, you ca look up for the transaction from JNDI, start the transaction, invoke ejb and commit it. Also you need to have BMT for your bean
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!