Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Serialization for bean passivation

 
Mehul Sanghvi
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

The specs say that every member variable of a bean is considered to be a part of bean's conversational state and will be serialized (or equivalent) during passivation. Limiting the member types to non-transient primitive and Object type.

My question is though EnterpriseBean implements Serializable doesnt it require each of its Object type member variable to in-turn implement Serializable?

Regards,
Mehul.
 
Damanjit Kaur
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My question is though EnterpriseBean implements Serializable doesnt it require each of its Object type member variable to in-turn implement Serializable?


It requires the object member variable to implement Serializable.
 
Mehul Sanghvi
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!

Regards,
Mehul.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic