jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Munteanu <romb...@apache.org>
Subject Re: Jackrabbit - Oak Connection
Date Tue, 14 Jun 2016 08:00:10 GMT

On Mon, 2016-06-13 at 21:38 -0700, techie2k wrote:
> Hi,In my web application(JSF, Spring), we are trying to use
> Jackrabbit Oak
> for document store, search and acl for each application user.To get
> repository handle, I have written following code:And for Mongo DB
> connection:Problem here is:Every time on user login, I need to bind
> jackrabbit session for user operations. Do I need to create JCR
> object for
> each user login, since creating NodeStore takes lot of time(around 2
> mins)?Appreciate your pointers on this.-Thanks

I assume that there should have been some code in your email, but it's
not :-)

At any rate, there is no need to create the NodeStore per request. It
should be created just once- probably at startup - and shutdown when
the application stops.



View raw message