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 �uncommon� methods declared in the javax.ejb.EJBContext interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "�uncommon� methods declared in the javax.ejb.EJBContext interface" Watch "�uncommon� methods declared in the javax.ejb.EJBContext interface" New topic
Author

�uncommon� methods declared in the javax.ejb.EJBContext interface

Timothy Toe
Ranch Hand

Joined: Oct 19, 2002
Posts: 156
I understand that we only have a method in a parent class/interface only if it is a common method for all its children class/interface.

But then why are there so many �uncommon� methods declared in the javax.ejb.EJBContext interface ?

getEJBHome(), getEJBLocalHome()... can�t be used by MDB (because MDB has no client interfaces like home and component interfaces).
getUserTransaction() can�t be used by EB (because EB must use CMT).

Why ?


Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: �uncommon� methods declared in the javax.ejb.EJBContext interface