This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

session passivation  RSS feed

 
Billy Vandory
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I have clustered web servers, and I have a user object, say, in the session, and the session is about to passivate, other than implementing Serializable
on the user class, is there anything else i need to do in order to ensure the user object is moved over to the new session?

sorry if this is the wrong forum
 
Hebert Coelho
Ranch Hand
Posts: 754
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I remember well, your session navigates ok. But, if you are going to store objects, they must implement Serializable.

Session

Objects without Serialization
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!