You will never get the changed state unless the object you are passing is
Remote. ie. you have to pass the remote reference. and the change will be
immediately available to any client have that reference. Another method as
mentioned by Mark is Value object pattern. whose purpose is to bring the
bulk data from the server to the client.
Check out this pattern at the following url

http://developer.java.sun.com/developer/restricted/patterns/J2EEPatternsAtAG
lance.html




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cheers
Ashwani Kalra
Sr. Mem. Dev. Staff
Aithent Technologies
India
http://www.geocities.com/ashwani_kalra/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Sankaran, Rajesh
Sent: Tuesday, November 20, 2001 10:24 PM
To: [EMAIL PROTECTED]
Subject: passing an object to an stateless EJB from a richclient


Hi,

We are trying to call a method in a stateless EJB from a rich client, and an
object is passed as argument to this method.  This stateless EJB is deployed
in iAS 6.0 and both rich client and the App server runs under Solaris 2.6.

Though there is no problem in invoking the ejb method, and the method can
access the object's data, the updated object inside the method  is not
showing up the changed value to the calling rich client application.

The EJB is deployed with both RMI-IIOP enabled option and disabled with pass
by value option.

Could any one help us by throwing some light on this?

Thanks.
Rajesh

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