posted 21 years ago
For the beanClass variable in the statement "PortableRemoteObject.narrow(beanHome, beanClass);", Is it correct to utilize the beanhome.getEJBMetaData to get a reference to the EJBMetaData class. Then excute the getRemoteInterfaceClass method on the EJBMetaDAta reference to retrieve the bean class name to be used in the narrows method? Or should the beanClass name come from an external source? What is the real purpose of the narrows?