This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
The enterprise bean from the client's perspective is not your javax.ejb.XBean. That is just the class the container delegates to. As the application sees it, the remote interface is the javax.ejb.EJBObject. I'll agree it is fuzzy question. I hope their questions are better than this one. Scott
In question 8 of the EJB exam, don't you think the correct answer is C? In the linked document, it says that an EJB is considered created after the data is inserted into the database. In the CMP entity bean, the data is NOT inserted into the database in ejbCreate. It is done by the container after ejbCreate finished. Any opinion is welcome. Thanks.
Joined: Aug 07, 2000
Michael, They want to know when the instance of the entity bean is created. At the completion of ejbCreate(), the instance is has been fully initialized by the container. All of the attributes have been assigned their values. Check out the spec, section 9.5.2, OID Fig 9-7. Scott