• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session migration

 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Last paragraph p 258 says : have your attribute object class implement HttpSessionActivationListener and use the activation/passivation callback to work around it.

how does it help in taking care serialization of the objects.

thnx in advance
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which book??
The question would still be very ambiguous. Need some more explaination about what you need to ask.
 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry, i am talking abt hfsj by kathy sierr and bert bates
 
agrah upadhyay
Ranch Hand
Posts: 579
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HFSJ clearly says that Container is resposible to move Serialized objects and takes care of it but it is not guaranteed to use serialization as means of moving.i.e programmer is be responsible for makins movable objects implement Serializable interface.
 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
do i assume in that case that if the attribute is not serialized then it would not be moved. In case i still want to move the non-serialized attribute then how do i achieve it .

thnx in advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic