Vadim Gritsenko wrote:

<snip/>

Ehm, we not only start the hsqldb but also an xindice now? Puh! Now, I think the source factory is wrong place because the db could run on a different host/different jvm. So perhaps an on xindice server component that gets this configuration?


I'm totally unaware of how xmldb works, but isn't there an equivalent as JDBC's DriverManager.getConnection(String, Properties) where the properties parameter could hold db-specific configurations?


Hmmm... There is setProperty() on Database... I guess I'll have to make use of it...


So we can envision these properties to be fetched from the SourceFactory configuration in cocoon.xconf.

Sylvain

--
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance  -  http://www.orixo.com




Reply via email to