Is javax.servlet.http.HttpSession is Serialized

Hi All,I just want to know, whether HTTPSession i.e., HttpSession got from HttpServletRequest is serialized?As per my opinion its serialized.Thanks in advance.Pankaj Chomal
[207 byte] By [chomal_pankaja] at [2007-11-26 19:09:41]
# 1
Its up to you... you can implement Seriable.MeTitus
Me_Titusa at 2007-7-9 21:04:50 > top of Java-index,Java Essentials,Java Programming...
# 2
look if it implement Serializable interfaceif not you can implement Serializable interface with you Servlet class
eaajea at 2007-7-9 21:04:50 > top of Java-index,Java Essentials,Java Programming...
# 3

In a servlet container you obtain an object of the type implementing HttpSession. The very type can implement Serializable or not, depending on the implementation, the API does not mandate this.

As if I had seen somewhere a hint that you should only put Serializable stuff into the session, that is, that very container appears to use serialization to distribute the session information in a cluster.

What do you need?

BIJ001a at 2007-7-9 21:04:50 > top of Java-index,Java Essentials,Java Programming...