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 Architect Certification (SCEA/OCMJEA) and the fly likes EJB and Security Quizzes from Sun 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 » Architect Certification (SCEA/OCMJEA)
Bookmark "EJB and Security Quizzes from Sun" Watch "EJB and Security Quizzes from Sun" New topic
Author

EJB and Security Quizzes from Sun

scott irwin
Ranch Hand

Joined: Aug 07, 2000
Posts: 87
Security Quiz
EJB Quiz
Enjoy
Madhu Juneja
Ranch Hand

Joined: Mar 10, 2001
Posts: 176
Also at :
http://www.javaranch.com/ubb/Forum26/HTML/000249.html
Olivier Stembert
Greenhorn

Joined: May 15, 2001
Posts: 5
What interface must the enterprise bean implement so that an application can invoke its operations?
Reponse: javax.ejb.EJBObject
The question is ambiguous: the enterprise bean remote object implements the remote interface which extends javax.ejb.EJBObject but the bean itself implements javax.ejb.SessionBean or javax.ejb.EntityBean
Olivier
scott irwin
Ranch Hand

Joined: Aug 07, 2000
Posts: 87
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
Michael Chang
Ranch Hand

Joined: Jan 08, 2001
Posts: 31
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.
scott irwin
Ranch Hand

Joined: Aug 07, 2000
Posts: 87
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB and Security Quizzes from Sun
 
Similar Threads
EJB quiz
Sun Quizzes to prepare SCEA part I
EJB Quiz ?
What J2EE test question might look like?
quizz from sun