The only way this can be done is that you pass remote reference to the bean
in your client.When you do like this both the caller and the callee share
the state. If you dont have the remote reference then you have to pass the
object by value and receive it by value.

Regards
Ashwani Kalra
E-Commerce Group
NIIT Ltd. India


> ----------
> From:         Shelly Aggrawal[SMTP:[EMAIL PROTECTED]]
> Reply To:     A mailing list for Enterprise JavaBeans development
> Sent:         Wednesday, September 08, 1999 3:04 PM
> To:   [EMAIL PROTECTED]
> Subject:      Passing by reference in EJBs
>
> Hi All,
>
> I have a very peculiar problem pertaining to argument passing in EJBs.
>
> The problem is :
> The client to the bean needs to pass objects to the bean. The bean is
> supposed to fill up / change value of these arguments.  After the remote
> method call the client should be able to get the values from the passed
> argument. How can this be achieved? In short I want to achieve something
> similar to 'pass by reference' of C++
>
> Any kind of help will be useful.
>
> Thanks and Regards,
> Shelly
>
> ==========================================================================
> =
> 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".
>
>
>
Visit http://www.NetVarsity.com for online learning

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