Well, its not the different VM's thats the cause of being required to do
pass by value however, because CORBA/IIOP can pass by reference across
VM's.
Dave Wolf
Internet Applications Division
> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Kjetil Helgaker Paulsen
> Sent: Friday, September 08, 2000 6:22 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Passing by reference in EJBs
>
>
> You can't pass by reference to a bean since the client aint in
> the same VM,
> (it can be if the client is a bean). If the object is a bean
> you'll have to
> pass the remote reference of that bean, else you have to pass by value and
> return that object.
>
> /kjetilhp
>
> > -----Original Message-----
> > From: Shelly Aggrawal [mailto:[EMAIL PROTECTED]]
> > Sent: 8. september 1999 11:35
> > 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".
>
>
===========================================================================
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".