Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Placement of getEJBObject() method.

 
Avike Jorgenssen
Greenhorn
Posts: 3
  • 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