I am not sure if I understand it correctly. How would many sessions help if
there is single instance of Persistence Manager and methods in it are
synchronized. All threads will be blocked and only one will go through.

This is very basic issue. So either I am missing something or I am not using
it the right way.

Thanks,
Naren

On Mon, May 17, 2010 at 3:56 AM, Alexander Klimetschek <[email protected]>wrote:

> On Mon, May 17, 2010 at 05:10, Narendra Sharma
> <[email protected]> wrote:
> > This doesn't answer the question about synchronization in
> > AbstractBundlePersistenceManager.
> >
> > I am aware of using Session. However, all session will eventually access
> > Persistence Manager to fetch data.
>
> Access is synchronized inside Jackrabbit, above the persistence
> manager. As Rakesh already mentioned: "You create as many session
> instances as you need (essentially one Session per thread of
> execution)."
>
> Regards,
> Alex
>
> --
> Alexander Klimetschek
> [email protected]
>

Reply via email to