Serialization with Super class and Sub class
<p>My doubt is using Scenario 1 it is possible to achieve serialization . If I extend one abstract class which is serializable  by many sub classes means , is this possible to achieve ?. As I tried with Scenario 2.</p>

<p>Serializable will be applicable for all beans or not,Please help me.</p>

<p><strong>my doubt scenario 1 and scenario 2 will be same or different.</strong> </p>

<p>//method to send message  :::  sendMsgs(SerializableObject)</p>

<p>Scenario 1:</p>

<pre><code>public class EmailMaster implements Serializable 
{
// setters and getters
}
</code></pre>

<p>Scenario 2:</p>

<pre><code>public abstract class MessageBean implements Serializable 
{ 
}

//whether EmailMaster and EmailEvent  will become serializable ?

public class EmailMaster extends MessageBean 
{
// setters and getters



public class EmailEvent extends MessageBean 
{
// setters and getters
}
</code></pre>
