Saral Saxena wrote:so is there any way that I have the serialized file with me I can see it contents only..!! please advise..!!
Sure, use a hex editor. I assume that's not what you mean though. You want to see something like:
right? Some human-readable form of the objects that have been serialized?
If so, the only way to do that, obviously, is to deserialize the objects. You don't have to use Java's built-in serialization tools to do that, but why wouldn't you? If you don't, then you just have to write the code yourself to do what they're already doing for you.
So learn how to use ObjectInputStream to read the data (the easy part) and then figure out how to represent an arbitrary object graph in a human-readable fashion (the hard part).