Bookmark Topic Watch Topic
  • New Topic

diff between HttpSession & Stateful Session

 
jaya sudha
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi Everyone........

Wt is Differance Between Wt is Differance Between HttpSession & Statefull Session ??

Thanks
 
Prakash Dwivedi
Ranch Hand
Posts: 452
  • Mark post as helpful
  • send pies
  • Report post to moderator
Well,
there is no similarity between these two, don't get confused by the name session which appears in both the terms. HttpSession is used for tracking record of the user browsing the site (As Http is stateless protocol). Stateful session beans are EJBs, which have entirely different purpose (from HttpSession).
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Report post to moderator
Well, both are "state" vehicles ie., way of storing and retrieving state. However they are very different implementations - HttpSession exists in the Web domain and (therefore) maintained by the Web container whereas Stateful Session(Beans - the key word you omitted) exists in the domain of enterprise Java beans and are managed by the EJB container.

HTH
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Report post to moderator
Oops, I saw this other thread after posting my reply. Since it deals with the same topic, I am going to close this thread.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!