• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

large object graphs inside an HttpSession?

 
jaiswal alok
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Do not store large object graphs inside an HttpSession: If you store the data in the HttpSession as one large object graph, the application server will have to process the entire HttpSession object each time. This forces Java serialization and adds computational overhead. The throughput decreases as the size of the objects stored in the HttpSession increases because of the serialization cost.


I just want to know how Java serialization and adds computational overhead
happens? what is serialization cost.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic