aspose file tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes spec: handle Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Reply Bookmark "spec: handle" Watch "spec: handle" New topic
Author

spec: handle

JF Tordella
Greenhorn

Joined: Sep 04, 2003
Posts: 10
p137 code example on the bottom of the page implies that there is a method in ObjectInputStream class named readObject(handle) -- there is no such method that takes a handle as a parameter.
Wonder if they simply mean that the readObject when used on a stream that has a handle, can be used to reconnect with the EJB.


Jean F. Tordella
Anselm Paulinus
Ranch Hand

Joined: Sep 05, 2003
Posts: 389
Basically there is a method readObject() in ObjectInputStream which could be used to read serialized handle objects and cast it into a handle Object; i.e.
handle = (Handle)inStream.readObject();
where instream is of type ObjectInputStream; It might be what they tried to state here.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: spec: handle
 
Similar Threads
understand readObjectNoData callback - Serializable
Combining two files to create a new file and then reading it...
Where should we implement readObject() and writeObject()
Marker interface Serializable
how to know when ObjectInputStream do not have anything to read ?