<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Java Serialization</title>
	<atom:link href="http://javapapers.com/core-java/java-serialization/feed/" rel="self" type="application/rss+xml" />
	<link>http://javapapers.com/core-java/java-serialization/</link>
	<description>Blog on core java, servlets, jsp and design patterns.</description>
	<lastBuildDate>Mon, 06 Feb 2012 18:56:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Anonymous</title>
		<link>http://javapapers.com/core-java/java-serialization/#comment-9795</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 06 Feb 2012 11:02:22 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=282#comment-9795</guid>
		<description>Excellent work Joe!!
- Shyam :)</description>
		<content:encoded><![CDATA[<p>Excellent work Joe!!<br />
- Shyam :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://javapapers.com/core-java/java-serialization/#comment-9788</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 06 Feb 2012 08:51:56 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=282#comment-9788</guid>
		<description>toooooooooooooo good</description>
		<content:encoded><![CDATA[<p>toooooooooooooo good</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ganesh Machkure</title>
		<link>http://javapapers.com/core-java/java-serialization/#comment-9583</link>
		<dc:creator>Ganesh Machkure</dc:creator>
		<pubDate>Fri, 27 Jan 2012 15:33:49 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=282#comment-9583</guid>
		<description>Nice way of presentation. 

I have a question regarding de-serialization.
First you serialize a object SerializationBox and write it to a file outfile.ser. On a different JVM i take the outfile.ser file and try to deserialize it using readObject() but i get java.lang.ClassNotFoundException as there is no class file sent. 

How does it reconstruct the object and type cast to the SerializationBox object?

I know the file contains Class information as shown in the hex-format. but how do you write code to use readObject and typecast to the serialized object.

 SerializationBox  reconstructedSBX = SerializationBox ois.readObject();</description>
		<content:encoded><![CDATA[<p>Nice way of presentation. </p>
<p>I have a question regarding de-serialization.<br />
First you serialize a object SerializationBox and write it to a file outfile.ser. On a different JVM i take the outfile.ser file and try to deserialize it using readObject() but i get java.lang.ClassNotFoundException as there is no class file sent. </p>
<p>How does it reconstruct the object and type cast to the SerializationBox object?</p>
<p>I know the file contains Class information as shown in the hex-format. but how do you write code to use readObject and typecast to the serialized object.</p>
<p> SerializationBox  reconstructedSBX = SerializationBox ois.readObject();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: prakash</title>
		<link>http://javapapers.com/core-java/java-serialization/#comment-9534</link>
		<dc:creator>prakash</dc:creator>
		<pubDate>Wed, 25 Jan 2012 06:23:20 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=282#comment-9534</guid>
		<description>Good</description>
		<content:encoded><![CDATA[<p>Good</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sunil Kumar Maghar</title>
		<link>http://javapapers.com/core-java/java-serialization/#comment-9521</link>
		<dc:creator>Sunil Kumar Maghar</dc:creator>
		<pubDate>Tue, 24 Jan 2012 16:59:26 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=282#comment-9521</guid>
		<description>Hi,
This is very helpful example....


Thanks
Sunil Kumar</description>
		<content:encoded><![CDATA[<p>Hi,<br />
This is very helpful example&#8230;.</p>
<p>Thanks<br />
Sunil Kumar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sunil Kumar</title>
		<link>http://javapapers.com/core-java/java-serialization/#comment-9520</link>
		<dc:creator>Sunil Kumar</dc:creator>
		<pubDate>Tue, 24 Jan 2012 16:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=282#comment-9520</guid>
		<description>its very nice def....</description>
		<content:encoded><![CDATA[<p>its very nice def&#8230;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

