From: Wolfgang M. <me...@if...> - 2002-10-17 14:37:57
|
On Tuesday 15 October 2002 23:02, Mark R. Diggory wrote: > I also notice that in eXist that the base "db" collection is immutable. > It would appear that one can only have one db currently running in eXis= t > via the xmldb api. Is this true? the /db collection is just an alias for the / root collection and is=20 immutable. I called it /db for compatibility with Xindice. You cannot have more than one database instance inside the same JVM conte= xt.=20 Access to the database backend is managed by class BrokerPool, which is=20 implemented as a singleton class. It would basically be possible to configure more than one BrokerPool (but= how=20 do you select the correct pool in an xmldb URI?). However, I'm not sure w= hy I=20 should have more than one database in one java process. I can always have= =20 remote access to a second database. Best regards, Wolfgang |