Pass A's identity to B?

Consider that B might not reside on the same server as A, in which case
B will have no way of getting A's identity, unless A explicitly sends it
(or a reference to itself) to B.

arkin


"Lewis, Brent" wrote:
>
> All,
>
>         Is there a way to retrieve calling chain information from the lowest
> level of a bean call? For instance, consider an EJB "system" which begins
> with a call to a session bean A, which in turn makes a call to another
> session bean B. B then makes a call to an entity bean C. Is there a way for
> C to get A's identity information? I know that C could use its EntityContext
> and use the getCallerIdentity() method to retrieve information about B, but
> then is there a way to get A's information? This example is very elementary
> to the problem that one could face...what if there were 10 calls in the
> calling chain? Any information would be appreciated.
>
> Brent Lewis
> Software consultant
> OakTree Software
> [EMAIL PROTECTED]
>
> What if the Hokey Pokey really is what it's all about?
>
> ===========================================================================
> 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".

--
----------------------------------------------------------------------
Assaf Arkin                                           www.exoffice.com
CTO, Exoffice Technologies, Inc.                        www.exolab.org

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