Hi,

On Wed, Apr 22, 2009 at 12:11 PM, Taeho Kang <[email protected]> wrote:
> 1. Open a Session whenever needed and destroy it immediately after the use

This would be my default approach. Creating a new session is a
reasonably light-weight operation in Jackrabbit.

> Due to the initialization cost of creating/connecting to the repository, I'm
> thinking of going with (2)...

Note that the initialization costs are mostly associated with creating
the Repository instance.

BR,

Jukka Zitting

Reply via email to