This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Differrence in Passing ValueObjects" Watch "Differrence in Passing ValueObjects" New topic
Author

Differrence in Passing ValueObjects

Nitin Bansal
Greenhorn

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: http://aspose.com/file-tools
 
subject: Differrence in Passing ValueObjects