aspose file tools*
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
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
 
 
subject: Remote object && Serializable object
 
Similar Threads
remote method requirements.
Serializable Question
SessionContext.getEJBObject()
ques about primary key class
HFEJB: Why shippable values must be one of these....