This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one for details.
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Serialization for bean passivation