jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: remove JackrabbitRepository.shutdown()
Date Wed, 16 Apr 2008 11:32:29 GMT

On Wed, Apr 16, 2008 at 2:24 PM, Alexander Klimetschek <aklimets@day.com> wrote:
> From the perspective of a passionate Jackrabbit user: please do both!
> Embedded is so important in the Java world, and it's a big advantage, cause
> it reliefs you from the complexity of installing, configuring and starting
> an external application.

OK. Responding below for the embedded case:

> The best solution IMHO would be:
>  1) have a simple Repository start interface, including registering the
> object on JNDI, starting the RMI server etc.

I don't think that stuff is needed in an embedded repository.

>  2) have a simple "give me the Repository interface" for the JCR client
> (that's what JSR-283 specifies right?)


>  3) have a proper shutdown() which requires admin rights (via Session as
> already proposed, not just by doing an "((RepositoryImpl)
> session.getRepository()).shutdown())

Why not use TransientRepository?

>  4) provide command line tools for start and stop, that are built on top of
> 1 and 3 (and other adminstration tasks, but that's for the future)

Again, not needed in the embedded case.


Jukka Zitting

View raw message