Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Stateless EJB and transaction  RSS feed

 
Pietro Di Maggio
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, I'm going to modify an application bringing a Db-access interface into a stateless session bean.
My idea is mark the trans-attribute, for stateless bean above, as "Mandatory" in way to leave the beginning of transaction to the caller of Db-access interface wich is forced to take part of already-created transaction
Callers will manage the transaction programmatically.
Does someone know any drawback of this approach ?
Thanks for your help.
Pietro
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!