wood burning stoves 2.0*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Placement of getEJBObject() method. 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 "Placement of getEJBObject() method." Watch "Placement of getEJBObject() method." New topic
Author

Placement of getEJBObject() method.

Avike Jorgenssen
Greenhorn

Joined: Oct 13, 2006
Posts: 3
Hi,

What is the reasoning behind putting getEJBObject() in EntityContext/SessionContext instead of in EJBContext?

I could understand if it was put there to avoid MessageDrivenContext inheriting the method, but then why is getEJBHome located in the EJBContext? MDBs have no home either!

Cheers,
Avike.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Placement of getEJBObject() method.
 
Similar Threads
bean things in setSessionContext
Mock exam question (states)
Operations Allowed in the Methods of a MDB
roll back the trasaction
EJBContext methods