A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB Certification (SCBCD/OCPJBCD)
�uncommon� methods declared in the javax.ejb.EJBContext interface
Joined: Oct 19, 2002
Dec 24, 2004 08:00:00
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).
It is sorta covered in the
JavaRanch Style Guide
subject: �uncommon� methods declared in the javax.ejb.EJBContext interface
Please help me to understand interfaces
difference between abstract class and interface?
Requirement of Interface in Java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014