This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Entity and transactions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Entity and transactions" Watch "Entity and transactions" New topic
Author

Entity and transactions

Lukas Stephienn
Ranch Hand

Joined: Dec 23, 2005
Posts: 60
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...


SCJP 5.0 (91%), SCBCD 1.3 (94%), SCWCD 1.4 (88%)
 
 
subject: Entity and transactions
 
Similar Threads
Desperate for Help
compilation error when comping entity bean
!Help! Error: Exception in thread "main" java.lang.ClassCastException
syntax error
Thanks anyway