File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Head First Android this week in the Android 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.
 
It's not a secret anymore!