I think you need to do narrow on each
remote interface you get from enumeration. Atleast i
need to do it in IBM's WebSphere 3.0 version.

Thanks
Srinivas

--- Richard Monson-Haefel
<[EMAIL PROTECTED]> wrote:
> <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".
>
>


=====
class JSignature{
 final static String name = "Srinivas Hasti";
       static String email= "[EMAIL PROTECTED]";
       static String ring = "919-484-3026";
}

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.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