|  |  |  | License Codehaus OpenEJB OpenJMS OpenORB Tyrex

Old releases
General
Release 1.3
Release 1.3rc1
Release 1.2

Main
Home
About
Features
Download
Dependencies
Reference guide
Publications
JavaDoc
Maven 2 support
Maven 2 archetypes
DTD & Schemas
Recent HTML changes
News Archive
RSS news feed
Project Wiki

Development/Support
Mailing Lists
SVN/JIRA
Contributing
Support
Continuous builds
Prof. services

Related projects
Spring ORM support
Spring XML factories
WS frameworks

XML
XML

XML Code Generator
XML Code Generator

JDO
Introduction
First steps
Using JDO
JDO Config
Types
JDO Mapping
JDO FAQ
JDO Examples
JDO HOW-TOs
Tips & Tricks
Other Features
JDO sample JAR

Tools
Schema generator

Advanced JDO
Caching
OQL
Trans. & Locks
Design
KeyGen
Long Trans.
Nested Attrs.
Pooling Examples
LOBs
Best practice

DDL Generator
Using DDL Generator
Properties
Ant task
Type Mapping

More
The Examples
3rd Party Tools
JDO Tests
XML Tests
Configuration

About
License
User stories
Contributors
Marketplace
Status, Todo
Changelog
Library
Contact
Project Name

## Download Castor & its 3rd-party products dependencies

Documentation Author(s):
Werner Guttmann

Releases
Latest Stable Release
Castor
Download sets
Samples
Commons
Latest Milestone Release
Binaries
Download sets
Samples
Castor XML Spring factory beans
Spring ORM for Castor JDO
Commons
Past Releases
SVN Snapshots
Dependent Libraries

## Releases

Please carefully make yourself familiar with the license model of Castor, available here.

### Latest Stable Release

#### Castor

Latest Released Version: Castor 1.3.2
Release date:
Release notes - What changed ?

Castor XML | http://dist.codehaus.org/castor/1.3.2/castor-1.3.2-xml.jar
Castor Core | http://dist.codehaus.org/castor/1.3.2/castor-1.3.2-core.jar
Castor JDO | http://dist.codehaus.org/castor/1.3.2/castor-1.3.2-jdo.jar
Castor XML code generator | http://dist.codehaus.org/castor/1.3.2/castor-1.3.2-codegen.jar
Ant task definition for Castor XML code generator | http://dist.codehaus.org/castor/1.3.2/castor-1.3.2-anttasks.jar
Castor JDO DDLGen | http://dist.codehaus.org/castor/1.3.2/castor-1.3.2-ddlgen.jar
Castor XML schema support | http://dist.codehaus.org/castor/1.3.2/castor-1.3.2-xml-schema.jar

#### Download sets

- | The Castor JARs, docs, DTDs, command line tools, and examples <url>http://dist.codehaus.org/castor/1.3.2/castor-1.3.2.tgz</url> <url>http://dist.codehaus.org/castor/1.3.2/castor-1.3.2.zip</url>
- | Full documentation including all JavaDocs and specs (big) <url>http://dist.codehaus.org/castor/1.3.2/castor-1.3.2-doc.tgz</url> <url>http://dist.codehaus.org/castor/1.3.2/castor-1.3.2-doc.zip</url>
- | Full SVN snapshot: All sources, docs, and 3rd party libraries (big) <url>http://dist.codehaus.org/castor/1.3.2/castor-1.3.2-src.tgz</url> <url>http://dist.codehaus.org/castor/1.3.2/castor-1.3.2-src.zip</url>

#### Samples

- | Self-executing JDO examples using Apache Derby (big) <url>http://dist.codehaus.org/castor/1.3.2/castor-1.3.2-examples.zip</url>
- | Castor examples -- sources (incl. XML, JDO, source generator) <url>http://dist.codehaus.org/castor/1.3.2/castor-1.3.2-examples-sources.jar</url>

#### Commons

-

The Castor Commons JAR
<url>http://dist.codehaus.org/castor/1.3.2/castor-1.3.2-commons.jar</url>
As of release 0.9.9.1, a new JAR file with the suffix '-commons' has been introduced, holding classes that can be used independently of Castor XML and Castor JDO. With the 0.9.9.1 release it only contains the Base64Decoder, Base64Encoder, IdentityMap and IdentitySet classes. More (e.g. Castor's cache) will follow with future releases. Since these classes are also required for Castor XML and/or Castor JDO, they are included in the other JARs (XML, JDO) that require them. Therefore, you don't need to change your class path if it includes one of the other Castor JARs (XML, JDO). The only intention of the commons package is to provide you with a small JAR containing classes that are commonly needed by applications even if they do not need Castor's XML and/or JDO part.

The tarball and zips include all the JARs required by Castor, the docs, and the API JavaDocs. To fully install Castor, simply extract all the JARs into your classpath.

The SVN snapshot includes additional JARs required to build Castor. It is self-sufficient and does not require any external components other than javac.

The documentation set includes JavaDocs for the full source code, documenting class usage. A small documentation set without the full source JavaDocs is available in the tarball and zips.

All of the JARs included with Castor (used for building Castor) are available for distribution free of charge, subject to the respective license agreements.

All implementation JARs (i.e. not APIs) are available under an open source license and available from our FTP server. Open source licenses in use include Apache (ASF), Exolab, Mozilla (MPL), and public domain. All licenses are fully compatible with each other.

The example JAR includes fully functional samples that demonstrate the use of various features of Castor -- including marshaling and unmarshaling to and from XML, data persistence using JDO, and source code generation from an XML Schema instance.

The example web application (in form of a WAR archive) includes fully functional samples that demonstrate the use of Castor from within a standard J2EE web application. The WAR file can be deployed to any J2EE compliant web application container (including, amongst others, Tomcat, WebSphere, JBoss, and Weblogic) using the standard deployment method of your web application server.

### Latest Milestone Release

Latest Milestone Version: Castor 1.3.2
Release date: 29 Mar 2011
- | What changed?

#### Binaries

- | The Castor JAR (XML, DAX; without XML code generator and JDO) <url>http://dist.codehaus.org/castor/1.3rc1/castor-1.3.2.jar</url>
- | The Castor XML JAR <url>http://dist.codehaus.org/castor/1.3rc1/castor-1.3.2-xml.jar</url>
- | Castor JDO <url>http://dist.codehaus.org/castor/1.3rc1/castor-1.3.2-jdo.jar</url>
- | Castor XML code generator <url>http://dist.codehaus.org/castor/1.3rc1/castor-1.3.2-codegen.jar</url>
- | Ant task definition for Castor XML code generator <url>http://dist.codehaus.org/castor/1.3rc1/castor-1.3.2-anttasks.jar</url>
- | Castor JDO DDL generator <url>http://dist.codehaus.org/castor/1.3rc1/castor-1.3.2-ddlgen.jar</url>
- | Castor XML schema support <url>http://dist.codehaus.org/castor/1.3rc1/castor-1.3.2-xml-schema.jar</url>
- | *** NEW *** The Castor Core JAR <url>http://dist.codehaus.org/castor/1.3rc1/castor-1.3.2-core.jar</url>

#### Download sets

- | The Castor JARs, docs, DTDs, command line tools, and examples <url>http://dist.codehaus.org/castor/1.3rc1/castor-1.3.2.tgz</url> <url>http://dist.codehaus.org/castor/1.3rc1/castor-1.3.2.zip</url>
- | Full documentation including all JavaDocs and specs (big) <url>http://dist.codehaus.org/castor/1.3rc1/castor-1.3.2-doc.tgz</url> <url>http://dist.codehaus.org/castor/1.3rc1/castor-1.3.2-doc.zip</url>
- | Full SVN snapshot: All sources, docs, and 3rd party libraries (big) <url>http://dist.codehaus.org/castor/1.3rc1/castor-1.3.2-src.tgz</url> <url>http://dist.codehaus.org/castor/1.3rc1/castor-1.3.2-src.zip</url>

#### Samples

- | Self-executing JDO examples using Apache Derby (big) <url>http://dist.codehaus.org/castor/1.3rc1/castor-1.3.2-examples.zip</url>
- | Castor examples -- sources (incl. XML, JDO, source generator) <url>http://dist.codehaus.org/castor/1.3rc1/castor-1.3.2-examples-sources.jar</url>

#### Castor XML Spring factory beans

- | Spring factory beans for Castor XML <url>http://snapshots.repository.codehaus.org/org/codehaus/castor/spring-xml/1.0-SNAPSHOT/</url>

The JARs in this directory carry a timestamp in their name. Please make sure that you always use the latest JAR file, unless you require a specific version.

For those of you working with Maven 2, please add the following dependency to your POM to include the Spring factory beans for Castor XML with your project:

    <dependency>
       <groupId>org.codehaus.castor</groupId>
       <artifactId>spring-xml</artifactId>
       <version>0.8-SNAPSHOT</version>
    </dependency>

As we currently provide snapshot releases only for the factory beans, you will have to add the following `<repository>` element to your POM as well, so that Maven 2 knows about the Codehaus Snapshot repository when trying to resolve and download dependencies.

    <repository>
        <id>codehaus-snapshots</id>
        <name>Maven Codehaus Snapshots</name>
        <url>http://snapshots.maven.codehaus.org/maven2/</url>
    </repository>

#### Spring ORM for Castor JDO

- | Spring ORM implementation for Castor JDO <url>http://snapshots.repository.codehaus.org/org/codehaus/castor/spring-orm/2.1-SNAPSHOT/</url>

The JARs in this directory carry a timestamp in their name. Please make sure that you always use the latest JAR file, unless you require a specific version.

For those of you working with Maven 2, please add the following dependency to your POM to include the Spring ORM package for Castor JDO with your project:

    <dependency>
       <groupId>org.codehaus.castor</groupId>
       <artifactId>spring-orm</artifactId>
       <version>RC2-SNAPSHOT</version>
    </dependency>

As we currently provide snapshot releases only for the factory beans, you will have to add the following `<repository>` element to your POM as well, so that Maven 2 knows about the Codehaus Snapshot repository when trying to resolve and download dependencies.

    <repository>
        <id>codehaus-snapshots</id>
        <name>Maven Codehaus Snapshots</name>
        <url>http://snapshots.maven.codehaus.org/maven2/</url>
    </repository>

#### Commons

-

The Castor Commons JAR
<url>http://dist.codehaus.org/castor/1.3.2/castor-1.3.2-commons.jar</url>
As of release 0.9.9.1, a new JAR file with the suffix '-commons' has been introduced, holding classes that can be used independently of Castor XML and Castor JDO. With the 0.9.9.1 release it only contains the Base64Decoder, Base64Encoder, IdentityMap and IdentitySet classes. More (e.g. Castor's cache) will follow with future releases. Since these classes are also required for Castor XML and/or Castor JDO, they are included in the other JARs (XML, JDO) that require them. Therefore, you don't need to change your class path if it includes one of the other Castor JARs (XML, JDO). The only intention of the commons package is to provide you with a small JAR containing classes that are commonly needed by applications even if they do not need Castor's XML and/or JDO part.

### Past Releases

You may be able to find some past releases on the HTTP Server:

<url>http://dist.codehaus.org/castor/</url>

## SVN Snapshots

To obtain the latest SVN version, please use a SVN-enabled client to access our SVN server. Instructions for doing so can be found here.

For those of you behind a firewall with the SVN port non-accessible, please download Castor from the SVN server using the HTTP interface at <url>http://svn.castor.codehaus.org/viewrep/castor/castor/trunk</url> as provided by FishEye (tm):

- | zip
- | tgz
- | tbz2

## Dependent Libraries

JARs required to build Castor and dependencies for various packages are contained in the `lib` directory. For details, please see dependencies.

<notice> Copyright © 1999-2005 ExoLab Group, Intalio Inc., and Contributors. All rights reserved. </notice>
<notice> Java, EJB, JDBC, JNDI, JTA, Sun, Sun Microsystems are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and in other countries. XML, XML Schema, XSLT and related standards are trademarks or registered trademarks of MIT, INRIA, Keio or others, and a product of the World Wide Web Consortium. All other product names mentioned herein are trademarks of their respective owners. </notice>