I'm working on a Maven web project and I'd like to use BaseX in embedded mode to store XML and XHTML documents. I've experimented with other databases in embedded mode, and generally I include a jar (hopefully via Maven, though not always), then I can use the API to create a session, create databases, collections, and documents, run queries, etc.
I found the well-hidden Maven configuration to add Maven to the pom.xml file, but I am having a hard time finding any documentation or examples that show me how to use the API. The examples I have found use sockets to connect to a running instance of the database server. This is not what I had in mind. Is it the only way to use BaseX, or am I missing a more direct way?
Thanks for clarification...
Chas.