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 that use the cast operator to narrow the remote and home interfaces are likely to fail if the container implementation uses RMI-IIOP as the underlying communication transport. |