File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Differrence in Passing ValueObjects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Differrence in Passing ValueObjects" Watch "Differrence in Passing ValueObjects" New topic

Differrence in Passing ValueObjects

Nitin Bansal

Joined: May 22, 2002
Posts: 8
What is the difference in passing the Valueobject in EJB 1.1 and EJB 2.0?

SCEA 1/3
Thomas Hofmann
Ranch Hand

Joined: Nov 23, 2002
Posts: 72
There is only a difference if you use local interfaces according to EJB2.0. With local interfaces parameter (VO) are passed by reference. In the other case (remote interfaces) parameters are passed by value (they are copied) and serialized due to RMI.
I agree. Here's the link:
subject: Differrence in Passing ValueObjects
It's not a secret anymore!