File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Placement of getEJBObject() method." Watch "Placement of getEJBObject() method." New topic

Placement of getEJBObject() method.

Avike Jorgenssen

Joined: Oct 13, 2006
Posts: 3

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!

I agree. Here's the link:
subject: Placement of getEJBObject() method.
It's not a secret anymore!