EXist

Synopsis
eXist-db is an open source database management system built using XML technology. It stores XML data according to the XML data model and features efficient, index-based XQuery processing.

eXist-db supports many Web 2.0 technology standards, making it an excellent platform for developing web-based applications:


 * Technologies: XQuery 3.0, XPath 3.0, XSLT 2.0 (based on Saxon), XForms 1.1 (based on betterForm, Orbeon or XSLTForms) XProc, JSON and JSONP.


 * Interfaces: REST, RESTXQ, WebDAV, SOAP, XML-RPC, and Atom Publishing Protocol

The 1.4 version added a new full text index based on Apache Lucene, a lightweight URL rewriting and Model–view–controller framework, as well as support for XProc. With version 1.4, the XQuery engine has seen a major redesign, resulting in improved performance.
 * XML database specific features: XML:DB, XUpdate, XQuery update extensions (to be aligned with the new XQuery Update Facility 1.0).

The 2.0 version completely redesigned the Security subsystem introducing Access Control Lists and multiple realm authentication, and also introduced a re-write of the WebDAV Server making it more widely compatible with clients. In addition hundreds of bugfixes and performance improvements have been made since the 1.4 release. eXist-db is highly compliant with the XQuery standard (current XQuery Test Suite score is 99.4%). The query engine is extensible and features a large collection of XQuery Function Modules. eXist-db provides a powerful environment for the development of web applications based on XQuery and related standards. Entire web applications can be written in XQuery, using XSLT, XHTML, CSS and Javascript (for AJAX functionality).

Features

 * Persistent storing and indexing of the XML documents
 * Database administration functions (data management, backup, recoveries)
 * Management of the stored documents in collections
 * XQuery engine with extentions for full-text search
 * Support for XQuery, XSLT, XInclude and XPointer (partial), XUpdate, XSLT and XProc
 * XML:DB API
 * Use of network protocols (HTTP/REST, XML-RPC, SOAP, WebDAV)
 * Security Access Control Lists on Documents and Collections
 * Optional multi-realm integration with LDAP and Active Directory
 * Integration with ApacheCocoon

User commentary
Please sign all comments.

Can be very sensitive to placement of certain files, in particular collection.xconf. Silently ignores config files in the wrong place. Stuartyeates 18:15, 26 April 2011 (EDT)

There is a bug in eXist's handling of whitespace. Kshawkin 15:48, 10 March 2015 (CET)

System requirements
eXist is written in Java, and therefore requires a JRE ≥ 6. Being a Java application it can be used on most operating systems, including Windows, Linux, Mac OS X, Solaris and FreeBSD and it can be deployed in several ways, as a standalone server application, as a web application inside a servlet container (such as Apache Tomcat or Jetty) or as a Java library embedded in a larger application.

Source code and licensing
eXist is open-source, released under the GNU LGPL 2.1 license.

Support for TEI
Joe Wicentowski has a step-by-step introduction with full example files on how to publish TEI texts with eXist, presented at the Digital.Humanities@Oxford Summer School in 2011; see the session description with links to slides and sample material.

From the Package Manager, accessed through the eXist Dashboard, one can install the application Shakespeare's Works in TEI from the eXist Public Repository. All Shakespeare's plays from the WordHoard Shakespeare can be queried with search results displayed in the hit list in KWIC format. See also the GitHub repo for this application.

A TEI module called Matumi is distributed as an eXist application. Matumi is still under development. It requires eXist version 1.5 and is installed from within eXist's Package Reposistory. After installation, it can be accessed from http://localhost:8080/exist/apps/encyclopedia/ on a default installation.

Matumi is not a full-blown TEI module yet, but it has some notable features, such as the ability to browse by filtering texts and core parts of the markup. It contains faceted search feeding off the markup, making possible "translingual" searches that utilise references added to name forms.

The app uses XQuery only.

Installation will store a number of basic TEI documents in the data directory. These files are excepts from encyclopaedias, whence the present orientation of the app.

If you access through browsing, you can arrange the data by four criteria - books, entry title, subjects and names.

If you access through search, in order to retrieve some sample results, select lemma and search for "nation", select term and search for "ars", select name and search for "marx", select text and search for "gouvernement", or select key and search for "http://dbpedia.org/page/French_Revolution".

There is a comprehensive discussion of optimising eXist/XQuery for TEI on the eXist-open mailing list

Language(s)
As detailed above, eXist is itself written in the Java language. However, it enables complete applications to be created without writing any programming code, by just using only XQuery, XSLT, (X)HTML, CSS, XForms, XProc and Javascript. Using the available network interfaces is possible to query eXist not only with Java, and there are already available several modules for other languages (PHP, Perl) and frameworks (Spring, ColdFusion, Zope). The documentation is available only in english.

Documentation
eXist Documentation

Tech support
Technical support for the Open Source product is provided mainly through the eXist-db mailing list. Being open-source all kind of support and help is made voluntarily and with no obligations. Anyway the support it is very efficient, and almost all the requests are answered in a complete and qualified way.

Commercial support, consultancy and training is also available from the creators of eXist through eXist Solutions. eXist Solutions directly support and further the development of eXist.

User community
The user community is very active and, as for the technical support, the main way of communication is the eXist-db mailing list. Many participants of this list are also part of the TEI Community. There is also a wiki and an IRC channel: #existdb at irc.freenode.net.

In August 2011, a dedicated email list was created on using eXist with TEI resources. For information or to subscribe, go to the eXist-TEIXML information page.

Sample implementations

 * The Map of Early Modern London maps the streets, sites, and significant boundaries of late 16th-century and early 17th-century London.
 * Carl-Maria-von-Weber-Gesamtausgabe (WeGA) The correspondence, diaries, writings and works of Carl Maria von Weber
 * ACH/ALLC 2005: Conference Program and Abstracts
 * Syrica.org publishes online reference works concerning the culture, history, and literature of Syriac communities from antiquity to the present. Public repo at GitHub.
 * Diary of Robert Graves


 * The Anglo-Norman Dictionary
 * Early Americas Digital Archive
 * A Digital Comparative Edition and Translation of the Shorter Chinese Saṃyukta Āgama
 * Foreign Relations of the United States and other publications of the Office of the Historian, U.S. Department of State
 * Multilingual Concordances with TEI
 * VNS letters online: digital edition of letters concerning the Belgian literary journal 'Van nu en Straks'
 * Corpus Pieter Willems: searchable facsimile edition of the first Dutch dialect survey ever
 * TEI validator: interactive validating app for TEI documents using eXist's XML validation functions
 * Sermones.net : éditions électroniques de sermons latins médiévaux: l’édition électronique de corpus de sermons, dont le premier est la série de sermons de Carême de Jacques de Voragine.


 * The Colonial Despatches of Vancouver Island and British Columbia 1846-1871 contains the original correspondence between the British Colonial Office and the colonies of Vancouver Island and British Columbia.
 * Le mariage sous L'Ancien Régime
 * Scandinavian-Canadian Studies / Études scandinaves au Canada
 * Vienna-Oxford International Corpus of English: a corpus of transcripts of spoken ELF interactions in TEI format.
 * Greek Manuscripts in Sweden

Current version number and date of release
Current stable release: eXist 2.0 revision 18252 - 2013-02-07

How to download
Download an installer for the current stable version (version 2.1, July 2013) from the eXist Home Page; clone or download the current trunk version from the eXist GitHub Page.