struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Akins <angryg...@gmail.com>
Subject Getting rid of session state
Date Mon, 01 Nov 2010 13:02:25 GMT
I'm developing a new Struts2 application, am new to Struts2, and want
to reduce my dependency on the session.

What kind of "best practices" are folks using to move the type of
information that needs to be persisted during a session to other
mechanisms?

I can think of a few.. does anyone have any other ideas, or is there
just a standard Struts2 way to do this?

1.  Implementing something similar to ViewState in aspx
2.  Managing values by manually keeping them in the request
3.  Storing everything in a db and looking it up with each request
4.  Scope Interceptor

-- 
Greg Akins

http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message