Hi, the EJBObject interface exposes the following method:
public EJBHome getEJBHome()
If my client wants to use this method, shall it cast the returned object to the bean's home interface type? If so, should it 'narrow' the returned object, or would a simple cast be enough?
A client program that is intended to be interoperable with all compliant EJB Container implementations must use the javax.rmi.PortableRemoteObject.narrow(...) method to perform type-narrowing of the client-side representations of the remote home and remote interfaces.
My Linked In
I have always wanted to have a neighbor just like you - Fred Rogers. Tiny ad: