This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Serialization for bean passivation
 
Similar Threads
Stateful session bean reference to entity beans passivate?
Cannot activate my Stateful Session Bean after it was passivated
Persistence in Entity Beans
Stuff about serializable
Primitive/ Arrays in ejbPassivate()