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 home and remote interface. Note Programs using the cast operator for narrowing the remote and home interfaces are likely to fail if the container implementation uses RMI-IIOP as the underlying communication transport. |