• Post Reply Bookmark Topic Watch Topic
  • New Topic

Do you need to use HttpSession with Stateful Session Beans?

 
SAFROLE YUTANI
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know how stateful session beans are dedicated to 1 client, but can you still use HttpSession on the client-side -- by client-side I mean JSP/Servlet layer -- in order to maintain session information and determine session expiration?
SAF
 
Ram Dhan Yadav K
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.
Both are different in functionality and they server different purposes. You can use HTTPSession to cache the data and use the Session bean to perform the business logic.
Ramdhan YK
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!