This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Remote object && Serializable object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Remote object && Serializable object" Watch "Remote object && Serializable object" New topic

Remote object && Serializable object

Yi Meng
Ranch Hand

Joined: May 07, 2003
Posts: 270
In HFE pg73, it reads that arguments and return values for a remote method must be one of these:
1. primitives
2. serializable objects
3. an array or collection of primitives or serializable objects
4. a remote object
And we know that in 4, a remote object is basically a stub to the remote object, so is a stub a serilizable object? If not, what makes it different from other non-serializable objects as such that a stub can be the arguments and return values of a remote method call and others cannot.

Meng Yi
Fisher Daniel
Ranch Hand

Joined: Sep 14, 2001
Posts: 582
I think stub is serialized object because it can be sent via network...
Correct me if i am wrong...
I agree. Here's the link:
subject: Remote object && Serializable object
Similar Threads
HFEJB: Why shippable values must be one of these....
ques about primary key class
remote method requirements.
Serializable Question