Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

In session beans transaction attributes are specified for methods of EJBObject /Local

 
vijay Mamilla
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In session beans transaction attributes are specified for methods of javax.ejb.EJBObject and javax.ejb.EJBLocalObject interface.

Thanks,
Vijay
 
sawan parihar
Ranch Hand
Posts: 250
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In session beans transaction attributes are specified for only business methods.

sawan
 
vijay Mamilla
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks --
 
Miki Muzsi
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and even for entity beans, you only need to specify the transaction attributes for the remove() methods from the EJBObject (and from the home)

Miki
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic