Hi,
Jukka Zitting wrote: > > In a production environment you'd more typically use the standard JNDI > implementation of a containing application server. > regarding JNDI or "model 2" deployment, I would like to know if anyone uses it with Jetty. I had this setup working with Tomcat but switched to Jetty recently (at least for development). As Jetty doesn't support binding ObjectFactories, I can't just use neither the BindableRepositoryFactory nor the BindableRepository directly (it's constructor is protected, so I can't "inject" the necessary parameters). I tried to use TransientRepository, but that seems to generate overhead as it apparently "has some work to do" opening and closing sessions as they are requested by the application layer. However, if I bind the RepositoryImpl directly, the repository won't get shutdown properly on JVM exit. So what would you suggest? Thanks & best regards, Kim -- View this message in context: http://www.nabble.com/What-is-the-DummyInitialContextFactory-tf3443539.html#a9611822 Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
