Forums Register Login

Httpsession vs stateful session

+Pie Number of slices to send: Send
whats the diff b/w storing data in session with that of SFSB
thanx in adv
+Pie Number of slices to send: Send
The main difference is that the HttpSession is tied to the Web Tier, while a Stateful Session Bean is tied to the EJB Tier. Therefore the Stateful Session Bean could be used to store state for any type of client, but the HttpSession can only store state for a web client.
I rarely find the need for Stateful Session Beans unless I need more transactional control and I am going to implement the SessionSynchronization.
I like tacos! And this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 708 times.
Similar Threads
Advice on persisting complex state across multiple server trips
ASP
Alternative to Cookie?
Session problem in NetBeans
Field set in action method coming null in JSP
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 05:42:52.