This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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

Win a copy of Java 8 in Action this week in the Java 8 forum!
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
Similar Threads
Difference between 310-090 and 310-091
Passed SCBCD5 with 90%