The following Java code snippets demonstrate how easy it is to run database commands, create collections, perform queries, etc. via the BaseX API.Note that the <code>XML:DB</code> and <code>XQJ</code> APIs is generally discouraged; instead, we recommend everyone to use our own APIs, as they offer better performance and are better supported by our core team.
==Local Examples==