Castor is an open source data binding framework for Java[tm]. It provides direct, short paths between Java objects and XML documents. Castor essentially provides Java-to-XML binding and more.
Project documentation: http://castor-data-binding.github.io/castor/
Note: The persistence part of Castor has been migrated to a separate GitHub repository.
To use Castor XML, you need to use following Maven dependency:
<dependency>
<groupId>org.codehaus.castor</groupId>
<artifactId>castor-xml</artifactId>
<version>${castor-xml-version}</version>
</dependency>
or download jars from Maven Central.
To use Castor's source generator, you need to use the following Maven dependency:
<dependency>
<groupId>org.codehaus.castor</groupId>
<artifactId>castor-codegen</artifactId>
<version>${castor-codegen-version}</version>
</dependency>
If you are not using Maven as build too, you can still get the binary JARs for a particular release in form of a binary distribution.
Please browse to Sonatype's OSS repository or Sonatype's OSS snapshot repository, select the required (snapshot) release and download one of the available distributions:
or
The easiest ways to participate beyond using Castor is to join one or many of the Castor mailing lists at freelists.org: