I suspect that it will behave like RMI and return a remote reference if
the object implements java.rmi.Remote.  Otherwise, it will be serialized
and returned by value.

Regards,
Charlie Alfred

> -----Original Message-----
> From: Smith, Curt H. [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 16, 2000 7:31 AM
> Subject: Method returns Object, control whether it's replicated or a
> refe rence?
>
>
> > Hi,
> >
> > How do I control whether an EJB method returning an object serializes the
> > return (replicates on client) or returns a remote reference (proxy)?
> >
> > Thanks
> >
> > curt
> >
> >
> > Curt Smith
> > Z-Tel
> > email:        [EMAIL PROTECTED]
> > work: 404-237-1166  x182
> > FAX:  404-237-1167
> >
> >
>

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