eXist

Content search for eXist
eXist (Arun Batchu) Labels: xml, database, exist, xquery
Port settings on eXist (Arun Batchu) Labels: exist
Code Quality Checking in eXist (Arun Batchu) Labels: pmd, exist, intellij, idea
eXist blog entries
Last changed Oct 20, 2008 16:22 by Arun Batchu
Labels: pmd, exist, intellij, idea

I was reviewing eXist documentation today. Ran into an article on how you can check for code quality using the http://pmd.sourceforge.net/ . What struck me was that you can express the checking rules in Java as well as XPath. The reason I am excited about the latter style is because recently I have been realizing that XPath has precise and very concise expressive power.

Since OO classes exhibit an inherent inheritance either through Type hierarchy or composition, I have been wondering lately about using XPath bindings to query static code (Java) ; this has been particularly true in recent projects when reviewing code using IntelliJIdea's very effective code analysis system - I felt a "realtime" Java Static code query system using XPath would be cool! I am very glad someone else did the work for me! I am thinking of getting the book : http://pmdapplied.com by the author of the codebase.

What a small world: eXist, XPath, Java, IntelliJIdea!

Posted at Oct 20, 2008 by Arun Batchu | 0 comments
Last changed Jan 06, 2009 10:28 by Arun Batchu
Labels: exist

On Windows, when launching eXist using "startup.bat" , I had to change the port settings on jetty.xml (default=8080).
The jetty.xml file is in <exist_install_directory>/tools/jetty/etc .

Posted at Dec 13, 2007 by Arun Batchu | 0 comments
Notes

Full-featured,standards-compliant XML database http://exist-db.org/documentation.html is the main page for finding documentation. http://exist.sourceforge.net/deployment.html has info about deployment.
downloads, ant tasks


On Windows, I downloaded the executable jar. On running it, an installer was launched. I pretty much picked all defautlts; did not install as a service, which I probably should during deployment so its keep running on the background even after logging out of the machine. Quite smooth so far. By default it runs on port 8080. The "admin" user is not password protected. So it would be important to create a new user with dba (group is what they call) privileges but password protected and disable this. I also removed the guest user bad idea- do not else web UI fails. There is a "client" UI for administration too. But so far, I mainly used the web front-end of exist. Occasionally, when things went awry with exist web front-end I have had to restart the browser to clear the session. Also, I have had to rely on the GUI admin client tool that was installed to overcome some screwed up situations.

Snippets
  • Prolog to XQuery (thanks to DanMcCreary)
    • control media-type (content-type) - important for XForms
    • control output indentation ( for readability and testing)
    • control xml prefix string (if needed )

Labels

xml xml Delete
database database Delete
exist exist Delete
xquery xquery Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.