Hi, On Wed, Apr 16, 2008 at 2:24 PM, Alexander Klimetschek <[EMAIL PROTECTED]> 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?) Yes. > 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. BR, Jukka Zitting