title: Query exist-db from Java
body: <p>i want to query existdb from Java. i know there are samples but where can i get the necessary packages to run the examples?</p>
  
  <p>in the samples :</p>
  
  <pre><code>import javax.xml.transform.OutputKeys;
  import org.exist.storage.serializers.EXistOutputKeys;
  import org.exist.xmldb.EXistResource;
  import org.xmldb.api.DatabaseManager;
  import org.xmldb.api.base.Collection;
  import org.xmldb.api.base.Database;
  import org.xmldb.api.modules.XMLResource;
  </code></pre>
  
  <p>where can i get these ?
  and what is the right standard connection string for exist-db? port number etc</p>
  
  <p>and YES, i have tried to read the existdb documentation, but those are not really understandable for beginners. they are confusing.
  All i want to do is write a Java class in eclipse that can connect to a exist-db and query an xml document.</p>