Storing conversational state in a web application
Context: Multi-tier web application.
I need to store conversational state over several user actions.
To achieve this I plan on storing a reference to a Statful Session bean within a JavaBean which is itself stored in the javax.servlet.http.HttpSession object. The Session bean will hold the conversational state.
Are there any better ways to do this?
Nick
hi nick
i've posted a "very close question" to yours in this forum today...
in my last project i've implemented it like you in a worker-bean and stored the worker-bean in the http-session. but i'm really not sure if this is THE way of doing it...
I tought also about the ejb-handle but in the end i didn't use it...
up to now my experience isn't bad with this approach but... perhaps the pitfalls are on their way
i'm wondering now if there are some answers...
best regards
sandro