GeeCON Prague 2014*
The moose likes EJB and other Java EE Technologies and the fly likes Serialization for bean passivation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Serialization for bean passivation" Watch "Serialization for bean passivation" New topic
Author

Serialization for bean passivation

Mehul Sanghvi
Ranch Hand

Joined: Feb 04, 2002
Posts: 134
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

Joined: Oct 18, 2004
Posts: 346
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

Joined: Feb 04, 2002
Posts: 134
Thanks!

Regards,
Mehul.
 
GeeCON Prague 2014
 
subject: Serialization for bean passivation