Castor is an open source data binding framework for Java[tm]. It’s basically the shortest path between Java objects, XML documents and SQL tables. Castor provides Java to XML binding, Java to SQL persistence, and then some more.