HI Madasamy,
        I think u are right. Becoz we are also trying to do the same thing.
I don't think there is a better solution that this. if it is , pls let me
know.

with regards,
sivakumar


> ----------
> From:         Thandayuphapeni, Madasamy[SMTP:[EMAIL PROTECTED]]
> Reply To:     A mailing list for Enterprise JavaBeans development
> Sent:         Wednesday, June 21, 2000 6:39 AM
> To:   [EMAIL PROTECTED]
> Subject:      Reaching a session bean from other beans
>
> We have a requirement to be able to get a handle to a stateful session
> bean
> from another bean (in our case, an entity bean). We cannot pass this as
> argument to the entity bean method. the ejb contexts of these two beans
> seem
> to be different copies. moreover, the getEnvironment() of EJBContext is
> also
> deprecated.
>
> We are planning to use this as the replacement for an abstract "Global"
> class with all class variables.
>
> Any suggestions?
>
> T. Madasamy
> PM Architecture Team
> Voice : 6(720)2175
> Fax   : 6(720)-8153
> Snail : M3-2A
>
> ==========================================================================
> =
> 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".
>

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