0

Jakarta Commons: Using Digester

Here is my take on Jakarta Commons – it could dramatically cut down the development effort on any projects specially the new ones. Not to mention the testing effort – less things to test. Imagine that.

At one of my clients in Malaysia, I worked the Lang library into one of our projects , emailed my team lead about it, and got praised.  During that time, I felt we needed something better than the raw, lengthy, and hard-to-read data-checking codes. Imagine that. One other project, which has something to do with Surescript, uses Digester.

Here is a sample code that uses Digester:

The XML file is something like the following:

Life is short. Do not be a coder. Reuse, and work smart.

Karl San Gabriel

Karl San Gabriel

Java and Enterprise Technologies Expert