This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Remote object && Serializable object" Watch "Remote object && Serializable object" New topic
Author

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...
daniel
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Remote object && Serializable object
 
Similar Threads
HFEJB: Why shippable values must be one of these....
SessionContext.getEJBObject()
ques about primary key class
remote method requirements.
Serializable Question