<This message is posted to both J2EE- and EJB-INTEREST>

As far as I can tell from the EJB 1.1 spec, the
PortableRemoteObject.narrow() method is required when a remote reference
of type EJBObject or EJBHome is obtained in the follow three scenarios:

When a EJBHome is returned from a JNDI lookup.

When a EJBHome is returned from a HomeHandle

When a EJBObject is returned from a Handle.

What about when a collection (or Enumeration) is returned from a finder
method?  Seems to me that this would also require explicit narrowing
using the PortableRemoteObject.narrow( ) method.  Can someone confirm?
Also, it seems obvious, but worth mentioning, that any wide remote
reference will need the assistance of the PortableRemoteObject to be
narrowed to its appropriate type.

Richard

--
Richard Monson-Haefel
EJB Expert for jGuru.com
( http://www.jguru.com  )

Author of Enterprise JavaBeans
Published by O'Reilly & Associates
( http://www.ejbnow.com )

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to