jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: What is the DummyInitialContextFactory
Date Thu, 22 Mar 2007 08:32:59 GMT

On 3/21/07, Stefan Kurla <stefan.kurla@gmail.com> wrote:
> I am new to jackrabbit and see the DummyInitialContextFactory, which I
> suppose is used to get the JNDI context out of the JVM to get a handle
> to the repository. Is that right?
> Also, since its "dummy" what do you guys use in the live enveronment.

The DummyInitialContextFactory is a very simple ("dummy") JNDI
implementation that you can use in a test environment if you don't
have a full JNDI tree available. A typical deployment scenario is for
a JCR Repository to be bound as an entry in JNDI from which the client
application looks it up. The DummyInitialContext implementation makes
it easy to set up and test such configurations.

In a production environment you'd more typically use the standard JNDI
implementation of a containing application server.


Jukka Zitting

View raw message