jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Lifetime of a session?
Date Wed, 02 Mar 2005 15:38:18 GMT
Hi all,

I'm wondering what is the expected lifetime of a Session, especially in 
the context of a webapp.

Is it a lightweight object that can be created anew for each browser 
request, or can it be stored in the user's session, or should it be 
pooled and shared between users like a JDBC connection?

Also, what about a Session's thread safety? The spec doesn't say 
anything about it.

Thanks for your answers,

Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }

View raw message