Blog Archive for January 19, 2010

Working with JDom

January 19, 2010

JDom is the simplest interface for working with XML in Java that I've found.

Parsing to a Document

To parse code from a file into a JDom document, use the following code:

SAXBuilder lBuilder = new SAXBuilder();
Document lDocument = lBuilder.build(new FileReader("file.xml")); …

Tags: jdom xml java

Django vs Tapestry

January 19, 2010

I been doing Tapestry since early Tapestry 4. I've written a call centre front end to a large loan application with it (team of four), and I've used Tapestry 5 in conjunction with spring, hibernate and Postgres to build a small case tool type application for storing our web service …