I'm looking for confirmation or comments on whether I'm right in believing
that I do not need to use narrow when downcasting the result of calling
getEJBObject on EntityContext (as opposed to downcasting the result of
getEJBObject on Handle, where narrow is needed).
The scenario is that I have an entity bean that saves a reference to its
EntityContext, and in one of the bean methods it needs to pass a reference
to its remote interface as a parameter, so it calls getEJBObject on the
EntityContext and downcasts the result to its remote interface.
The reason it seems to me that narrow isn't needed in this case is that the
method implementation is not a client, so is never remote from itself.

Erik Voldal
Email: [EMAIL PROTECTED]
Phone: 507-253-4788

===========================================================================
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