wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Doubt about session attribute serialization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Doubt about session attribute serialization" Watch "Doubt about session attribute serialization" New topic
Author

Doubt about session attribute serialization

ping zhang
Greenhorn

Joined: Mar 27, 2006
Posts: 19
Who can tell some details about session attribute serialization: Serializable interface and writeObject/readObject methods in session migration.

Thanks!
Vipul Tulsulkar
Ranch Hand

Joined: Dec 06, 2006
Posts: 41
Hi,
I would suggest you to go through HeadFirst JAVA & there is another certification book i.e.Java 2 certification by Simon Roberts & Phillip Heller.If you are not satisfied with them then I would suggest you to go through core java book by Herbert Shieldt.

Regards,
Vipul
John Lincoln
Ranch Hand

Joined: Feb 11, 2003
Posts: 192
Zhang,

What details you are looking for ? If you have the book HFSJ, please read page 258.

If the attributes implement serializable interface you need to worry about the attributes when session migrates in a clustered environment.

But for any reason if your attributes are not serializable, your attribute class has to implement HttpSessionActivationListener.

HTH
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt about session attribute serialization