Next up is the Zeus data binding framework. This is a project over at Enhydra (http://www.enhydra.org), and is based on a series of articles I originally wrote for the folks at IBM’s Developer Works (http://www.ibm.com/developerWorks). It was the direct result of my need for a simple solution for data binding (at the time, Castor seemed overly complex for a fairly straightforward data binding problem). Since then, it’s developed into a complete project at Enhydra, and several other folks are working on it. You can get the complete story by checking out http://zeus.enhydra.org. I’ll touch on the same things I dealt with in Castor, so you can use either competently in your applications.


Zeus is still in the fairly early stages of functional development (it’s been around a bit, but some serious architecture is still going on). As a result, I’d recommend you get the latest version from CVS instead of downloading a binary. That way, you’ll be sure to get the latest and greatest in features. You can find complete instructions on getting Zeus from CVS at the web site, but in short, you’ll need to get CVS (from http://www.cvshome.org, for example). Simply use the following command:

cvs -d :pserver:anoncvs@enhydra.org:/u/cvs login

Enter “anoncvs” as the password. Then:

cvs -d :pserver:anoncvs@enhydra.org:/u/cvs co toolsTech/Zeus

You’ll get everything you need. Change into the Zeus directory (which is created by the CVS download), and build the binaries:

bmclaugh@GANDALF ...

Get Java and XML, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.