Database Reference
In-Depth Information
Exactly how to work with a WebDAV server and which client tool to use is
platform-specific. Some operating systems, like Windows, will allow you to inte‐
grate it more or less into the normal file browsing capabilities, while others need
special client tools. Read more about this in “WebDAV” on page 305 .
Java Admin Client
eXist's Java Admin Client tool (see “The Java Admin Client” on page 29 ) also has
some basic facilities for getting files into and out of the database.
External IDE
Some external IDEs, such as oXygen, provide you with the option to work with
eXist natively. This includes importing/exporting files. Find more information in
“oXygen” on page 375 .
Programmatically
Of course, you can import and export files programmatically by writing some
XQuery code that performs what you want on the database. That's okay within
applications, but a bit cumbersome for now. For more information, see “Con‐
trolling the Database from Code” on page 107 and Chapter 13 .
Ant
eXist provides a library for the Ant build tool to automate common tasks like
backup/restore or importing a bunch of files. This method is recommended if
you need to repeat batch tasks on your database. There's more information in
“Ant and eXist” on page 379 .
Hello eXist!
This section performs a first exploration of the fundamental mechanisms in eXist;
that is, how you get it to actually do something—store/retrieve/filter information,
show a web page, transform XML, and more. In other words, this section is an exten‐
ded “Hello world” example in which, in a (very) shallow way, we touch upon the
important processing features of the platform.
For most of the examples, the output is not shown because we want to encourage you
to try this yourselves using the provided example code. We assume you've installed
the example code and know how to access it, as described in “Accompanying Source
Code” on page 15 .
Hello Data
In the example code for this topic, there is an XML file in /db/apps/exist-book/getting-
started/xml-example.xml that looks like Example 2-1 .
Search WWH ::




Custom Search