• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

serialization

 
Lucas Smith
Ranch Hand
Posts: 808
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have read that serialization is used by the container. It is connected with session migration.
Can you give me some clues about that? What is the role of serialization in session migration and distributable application?
 
Chinmaya Chowdary
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Lucas.

What is the role of serialization in session migration and distributable application?

By using serialization, container saves the state of the object(HttpSession object) and passes it across the network. By using deserialization it will get life. We know objects will not travel across network, its state will travel.
 
avi sinha
Ranch Hand
Posts: 453
Google Web Toolkit Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chinmaya Chowdary wrote:Hi, Lucas.

What is the role of serialization in session migration and distributable application?

By using serialization, container saves the state of the object(HttpSession object) and passes it across the network. By using deserialization it will get life. We know objects will not travel across network, its state will travel.


i think as per the specification it is NOT REQUIRED for a container.

avi sinha
 
Lucas Smith
Ranch Hand
Posts: 808
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, I know that attributes (especially session attributes) should be (but it is not necessary) serialized to apply session migration.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic