my dog learned polymorphism*
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
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.
 
wood burning stoves
 
subject: Differrence in Passing ValueObjects