Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MDB and Bean-managed tx question

 
gabry brianza
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hiii i have a question:

in spec pag 356 table 13 sents:

2nd row
T1 none none

the comment is : if the client is associated with a transaction T1,and the instance is not associated with a transaction,the container.......
..This can never happen for a Message-driven Bean.

Why is not admissible for MDB this is confuse for me!!!

Thanks !



bye
 
Kathy Sierra
Cowgirl and Author
Rancher
Posts: 1589
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy -- Message Driven Beans do not officially have "clients", so they can never be invoked within a client's transaction. The Container invokes the MDB, and the Container is not considered a client. So any transaction in a MDB always starts *with* the bean.

cheers,
Kathy
 
gabriele rigamonti
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kathy

thanks!

Grazie!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic