File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt about session attribute serialization

 
ping zhang
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Who can tell some details about session attribute serialization: Serializable interface and writeObject/readObject methods in session migration.

Thanks!
 
Vipul Tulsulkar
Ranch Hand
Posts: 41
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 192
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic