• Post Reply Bookmark Topic Watch Topic
  • New Topic

PortableRemoteObject.narrow

 
Ron Graham
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!