Forums Register Login

spec: handle

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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.
eat bricks! HA! And here's another one! And a tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 504 times.
Similar Threads
understand readObjectNoData callback - Serializable
Where should we implement readObject() and writeObject()
Marker interface Serializable
Combining two files to create a new file and then reading it...
how to know when ObjectInputStream do not have anything to read ?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 07:38:04.