• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why all EnterpriseBean are Serializable ??

 
Bunty
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Does any body know why all the EJB are Serializable. As the actual enterprise doen't need be RMI-IIOP compliant.
As long as I know it may be required during passivation and activation
But EJB specification doesn't mandate to use serialization as the only mechanism for pass/activation. Is there any other reason to for following

public interface EnterpriseBean extends Serializable

Would be grateful , if any body can throw some light

Thanks in advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic