Heh, you missed out! This very topic was discussed thoroughly in another
thread just the past week...
To summarize, you got 2 choices:
1) Have the bean return the modified object (if you have multiple values
you need to change, encapsulate!) in the business method
2) Make the value object itself an entity bean and pass by EJBObject (which
is EJB slang for pass-by-reference)
Gene Chuang
Teach the world... Join Kiko!
<http://www.kiko.com/profile/join.jsp?refcode=TAF-gchuang>
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Shelly Aggrawal
Sent: Wednesday, September 08, 1999 2:35 AM
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".
===========================================================================
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".