Forums Register Login

PortableRemoteObject.narrow

+Pie Number of slices to send: Send
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?
Can you hear that? That's my theme music. I don't know where it comes from. Check under this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 465 times.
Similar Threads
inconvertible types attempting to cast ejb JNDI lookup to home interface
handle.getEJBObject cast ?
passing a bean object to a servlet
what is metadata interface?
doubt in jsp bean
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 04:16:03.