hello, if i serialize one object, write it in a binary file and read it again, it works fine. but i need to write multiple serialized-objects of the class into a binary file and want to read them later. how can i fix a delimiter for each obeject that is written to a file. and how do i retreive each object ...
I have an application that contains 2 components that communicate over a network, and need to send objects back and forth. To do this I ensure that the object is a Bean, and then use XMLEncoder/XMLDecoder to serialize/deserialize the object. I can then take the resultant text and ship it over the wire using whatever protocol is handy. This has worked ...