File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Placement of getEJBObject() method.

 
Avike Jorgenssen
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic