On Tue, 7 Jan 2003, James Bates wrote: <clipped> > > Now I think there's no reason to not do both: > > - check XML:DB URL: if it contains a config-file path, use it > (e.g. if the url is like > xmldb:xindice-embed:/path-to-config-file://collection/path) > - otherwise (url is like xmldb:xindice-embed://collection/path) use > param passed to setProperty of Database object (which in principle has > already been created before) > - In absence of both of the above, use System.getProperty() > - As a last resort (system property absent too), fall back to > $XINDICE_HOME/conf/system.xml (look up > and use env. variable). > > Many JDBC drivers allow several different ways of defining the same > connection. It only contributes > to flexibility for end-users. > > Do people think the above approach may satisfy most needs? >
+1 from this member of the people group
