You can use RMI, CORBA or JMS for callbacks.
-Chris.
> -----Original Message-----
> From: Anil Colin Lobo [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, January 27, 2000 1:31 AM
> To: [EMAIL PROTECTED]
> Subject: Bean Reference problem
>
> Hi,
> I have a scenario in which thee following is done:
> 1: I have two stateful session EJB's
> 2: The client gets a reference to bean 1 via JNDI,
> 3: The client gets a reference to bean 2 via JNDI and passes the
> reference of bean 1's remote interface to it.
> 4: Now the question is can the bean 2 access methods in bean 1 using this
> reference?
>
> Also how do I achieve callbacks from the EJB to the client? Using ordinary
> RMI or do I have to use JMS.
> Regards,
> Anil.
> --
> Anil Colin Lobo
> Systems Engineer
> Object Technology Group
> Tata Infotech Ltd.
> http://www.tatainfotech.com
> --------------------------------------------------------------------------
> -----
> (CORBA && EJB) > DCOM ...Period
> --------------------------------------------------------------------------
> -----
> Think about it:
> "People demand freedom of speech as a compensation for the freedom of
> thought which they seldom use."
> -Kierkegaard
> --------------------------------------------------------------------------
> -----
>
> ==========================================================================
> =
> 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".