Database Reference
In-Depth Information
When you embed eXist into your own application, because eXist
shares the same JVM process and memory space as your applica‐
tion, should your application exhaust the memory available to the
JVM or crash, this can affect the integrity of your eXist database.
Take care when creating and freeing resources within your applica‐
tion and when exiting the JVM.
Whichever local API you choose, one challenge when embedding eXist into your
own application is ensuring that you have all of the dependencies and configuration
files that eXist relies on bundled with your application and available on the classpath.
To a certain extent, the libraries bundled with eXist that you will also need to bundle
with your application will depend on which features of eXist you wish to use, but at
an absolute minimum you will need the runtime dependencies listed in Table 13-8 .
Table 13-8. Minimum dependencies for embedding eXist 2.1 in your own
application
Library
Description
$EXIST_HOME/exist.jar
Contains the eXist core implementation.
$EXIST_HOME/start.jar
Contains the eXist startup helpers.
Dependency of eXist core.
$EXIST_HOME/lib/core/xmldb.jar
XML:DB API library.
$EXIST_HOME/lib/core/commons-io-2.4.jar
Apache Commons I/O library.
Dependency of eXist's XML:DB client library and eXist core.
$EXIST_HOME/lib/core/pkg-repo.jar
EXPath PKG Repository library.
Dependency of eXist core.
$EXIST_HOME/lib/core/commons-pool-1.6.jar
Apache Commons Pool library.
Dependency of eXist's XML:DB client library.
$EXIST_HOME/lib/core/quartz-2.1.6.jar
Quartz Scheduler library.
Dependency of eXist core.
$EXIST_HOME/lib/core/gnu-crypto-2.0.1-min.jar
GNU Crypto minimum library.
Dependency of eXist core.
$EXIST_HOME/lib/core/commons-codec-1.7.1.jar
Apache Commons Codec library.
Dependency of eXist core.
Search WWH ::




Custom Search