• 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
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!