O'Reilly logo

Java & XML Data Binding by Brett McLaughlin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installation and Setup

The process of installing these frameworks is fairly similar. You will need to visit http://jxquick.sourceforge.net online and locate the Quick downloadable archive. At the time of this writing, that file was called Quick4.3.0.zip. You should open this file and extract its contents into a directory you can work from, such as c:\dev\Quick4 or ~/dev/Quick4. There are two directories of immediate interest to you: Quick4/BATs and Quick4/JARs. The first contains utility programs that will be used in common Quick tasks and should be added to your PATH environment variable. The second contains a number of libraries you will need; add each to your CLASSPATH environment variable.

Tip

If you already have an XML parser in your CLASSPATH variable, such as xerces.jar, you can skip adding the included crimson.jar library.

When you’re finished, your CLASSPATH should look something like this:

C:\dev\javajaxb\ch09\src\xml>echo %CLASSPATH%
c:\dev\toolsTech\Zeus\lib\xerces.jar;c:\dev\Quick4\JARs\dtdparser113.jar;
c:\dev\Quick4\JARs\Quick4rt.jar;c:\dev\Quick4\JARs\Quick4util.jar

Once these libraries and batch files are accessible, you are ready to move on to marshalling and unmarshalling.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required