Re: requirement of the getEJBHome method in interface javax.ejb.EJBObject<br>
Wednesday, October 31, 2001 11:07 PM
at times, your bean may need to get a reference to its home interface which is why this method is provided in EJBObject interface. remember that the only way to create, remove, find ... EJBs is through bean's home interface. A bean instance can use this method to create new beans of its own type or, for entity beans, find other bean entities of its own type. most beans will not need access to their EJB home, but if you need one, getEJBHome() provides a way to get it.