Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Entity and transactions

Lukas Stephienn
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
suppose we have entity (EJB 2.0):

and suppose, all of these methods are defined in EJBObject interface;

Can we be sure that getFullName() will be executed only in one transaction?
Does always container calls ejbStore() after this method? Even if I did not invoke any setter? Maybe it depends on the container...
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!