Felix Röthenbacher wrote:



Michael Wechner wrote:

Felix Röthenbacher wrote:

[...]



Also I think we should make it independent of Jackrabbit, either by
using Avalon or Spring or programming something on our own, but such
that we can decide on runtime what implementation to use, either Jackrabbit or
Jeceira or whatever, whereas Jackrabbit could be default, because it's
already being shipped with Cocoon and it's Apache ;-)

We actually already have some code to do this with spring and would be
happy to contribute, but I am not sure if we want to introduce another application framework beside Avalon ...


The way to get a repository independent of the implementation is to use
the JNDI registry, either in a Servlet-Container (Tomcat, jettyPlus)
or with the rmiregistry which comes with the jdk.




but doesn't that mean we would have to run a JNDI service as a server
parallel to Lenya (similar to a DNS demon)? Also the binding would
have to happen during startup, because it's implementation specific.
If we can do this out of the box, then great, but I don't know how
simple this is to integrate.


web.xml is the place where it can be defined for Tomcat. With Jetty,
either JettyPlus has to be used or the rmiregistry has to be started.
Out-of-the-box is possible and not too hard to implement.


you might want to give it a try ;-)

What about other servlet containers, e.g WebLogic?

Michi


- Felix


Michi



- Felix

Michi



Michi


-- Andreas




--
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to