jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting ...@yukatan.fi>
Subject Re: Adivce about session
Date Wed, 16 Mar 2005 16:21:50 GMT
Hi,

Bertrand Lega wrote:
> I would be glad to hear your thoughts about using the jcr session in a 
> J2EE web application.

There was a recent short thread on this issue [1]. That thread seemed to
end favoring solution 2 (associate JCR sessions with HTTP sessions).

[1] http://thread.gmane.org/gmane.comp.apache.jackrabbit.devel/909

My two cents:

I personally often try to avoid using HTTP sessions, and would associate
a JCR session with a HTTP session  only if there is a real need to
persist the transient state over multiple requests.

I'd therefore like if the session initialization code (Repository.login)
was relatively streamlined.

BR,

Jukka Zitting



Mime
View raw message