On Java Development

All things related to Java development, from the perspective of a caveman.

Archive for the ‘XML’ Category

Parsing XML Data Elements Using Apache Digester

without comments

Introduction

This post presents Apache’s Digester project which implements the SAX API. While Digester is not as fast as alternatives, it is faster than DOM based parses and consumes less memory. Digester is very flexible and data elements can be mapped to any data object e.g. ArrayLists, Maps, Entities, etc.

Presented are a couple of examples showing how Digester can be used to isolate data to be persisted as entities in a database.
Read the rest of this entry »

Written by admin

August 15th, 2014 at 11:56 am

Posted in XML

XML Anatomy

without comments

Introduction

This post presents a brief description of the parts that make up an XML file.
Read the rest of this entry »

Written by admin

July 26th, 2014 at 3:03 pm

Posted in XML