License     Codehaus     OpenEJB     OpenJMS     OpenORB     Tyrex     
 

Main
  Home
  About
  Features
  Download
  JavaDoc
  Maven 2 support
  DTD & Schemas
  Recent changes
  News Archive
  RSS news feed

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

Related projects
  Spring ORM support
  Spring XML factories

XML
  Using XML
  XML Mapping
  XML FAQ
  XML HOW-TOs
  Custom Handlers
  Best practice

XML Code Generator
  Introduction
  Properties
  Custom bindings
  Ant task
  Maven 2 plugin
  Command line
  Schema Support
  Example

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

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
  Presentations
  The Examples
  3rd Party Tools
  JDO Tests
  XML Tests
  Configuration
  Tips & Tricks
  CastorWiki
 
 

About
  License
  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
    Castor XML
    Castor JDO
    Castor DSML


Releases

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

Latest Stable Release

Castor

Lastest Released Version: Castor 1.1.2.1
Release date: 28 Jun 2007
-What changed?
- The Castor JAR (XML, DAX; without code generator and JDO)
http://dist.codehaus.org/castor/1.1.2.1/castor-1.1.2.1.jar
 
- The Castor JAR (XML only, without code generator)
http://dist.codehaus.org/castor/1.1.2.1/castor-1.1.2.1-xml.jar
 
- *** NEW *** Castor JDO (only)
http://dist.codehaus.org/castor/1.1.2.1/castor-1.1.2.1-jdo.jar
 
- *** NEW *** Castor XML code generator
http://dist.codehaus.org/castor/1.1.2.1/castor-1.1.2.1-codegen.jar
 
- *** NEW *** Ant task definition for Castor XML code generator
http://dist.codehaus.org/castor/1.1.2.1/castor-1.1.2.1-anttasks.jar
 
- *** NEW *** DDL generator
http://dist.codehaus.org/castor/1.1.2.1/castor-1.1.2.1-ddlgen.jar
 

*** Note ***: Please note that the Castor XML JAR no longer includes the code for Castor JDO, the DDL generator or XML code generator (and of course still do not include the code for the Ant task for the XML code generator.) In other words, if you want to use Castor JDO, the Castor XML Schema code generator or the DDL generator, you will need to download JARs in addition to the JARs you downloaded previously.

Download sets

Note: Please note that as part of the 1.1 release, the new JARs for the XML code generator, its Ant task and the DDL generator have not been included as part of download sets enlisted below. This will be fixed with Castor 1.1.1. For the time being, please download these files as required from the links provided above.

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

Samples

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

Commons

- The Castor Commons JAR
http://dist.codehaus.org/castor/1.1.2.1/castor-1.1.2.1-commons.jar
 
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

Lastest Milestone Version: Castor 1.1.2.1
Release date: 28 Jun 2007
-What changed?

Binaries

- The Castor JAR (XML, DAX; without XML code generator and JDO)
http://dist.codehaus.org/castor/1.1.2.1/castor-1.1.2.1.jar
 
- The Castor JAR (XML only, without code generator and JDO)
http://dist.codehaus.org/castor/1.1.2.1/castor-1.1.2.1-xml.jar
 
- *** NEW *** Castor JDO (only)
http://dist.codehaus.org/castor/1.1.2.1/castor-1.1.2.1-codegen.jar
 
- *** NEW *** Castor XML code generator
http://dist.codehaus.org/castor/1.1.2.1/castor-1.1.2.1-codegen.jar
 
- *** NEW *** Ant task definition for Castor XML code generator
http://dist.codehaus.org/castor/1.1.2.1/castor-1.1.2.1-anttasks.jar
 
- *** NEW *** DDL generator
http://dist.codehaus.org/castor/1.1.2.1/castor-1.1.2.1-ddlgen.jar
 

*** Note ***: Please note that the Castor XML JAR no longer includes the code for Castor JDO, the DDL generator or XML code generator (and of course still do not include the code for the Ant task for the XML code generator.) In other words, if you want to use the Castor JDO, the XML Schema code generator or the DDL generator, you will need to download JARs in addition to the JARs you downloaded previously.

Download sets

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

Samples

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

Castor XML Spring factory beans

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

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
http://snapshots.repository.codehaus.org/org/codehaus/castor/spring-orm/1.0-SNAPSHOT/
 

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
http://dist.codehaus.org/castor/1.1.2.1/castor-1.1.2.1-commons.jar
 
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:

http://dist.codehaus.org/castor/

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 http://cvs.castor.codehaus.org/viewrep/castor/castor/trunk 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. JARs required for distribution are marked with bold text, although many of these JARs are required only if the feature obviously associated with that JAR is used.

ant-1.6.jarThe Ant build tool
ant-1.6-launcher.jarThe Ant launcher tool
cglib-full-2.0.2.jarCGLIB (Castor JDO only)
commons-logging-1.1.jarJakarta Commons Loggin
jdbc-se2.0.jarJDBC 2.0 standard extension (JDO)
jndi_1.2.1.jarThe JNDI API (DSML/JNDI)
jta1.0.1.jarThe JTA API (transactions) (Castor JDO only)
jtf-0.1.jarThe Java Testing Framework
junit_3.8.2.jarJUnit testing framework (for CTF suites)
ldapjdk_4.1.jarMozilla Directory SDK (DSML/MDS)
ldapsp.jarJNDI LDAP service provider from Mozilla
log4j-1.2.13.jarLog4J
servlet.jarUsed by the Servlet examples
xerces-J_1.4.0.jarXerces XML library
adaptx-0.9.13.jarXSL(T) processor, used for building documentation
derby-10.1.2.1.jarApache Derby JDBC driver (used in default example)

and optionally

jakarta-oro-2.0.5.jarSupport for regular expressions
jakarta-regexp-1.1.jarSupport for regular expressions

The last two JAR files are required when using patterns with XML Schema type definitions.

Castor XML

Castor XML is dependent on the latest release of Xerces available from the library directory and Apache Xerces. Another XML parser may be used instead of Xerces, however, Xerces is required to provide the XML serializer package for XML document production.

Castor JDO

Castor JDO uses Castor XML for processing the XML mapping file and thus has the same dependency on Xerces as explained above.

In addition, applications that rely on Java 1.3 and earlier that use Castor JDO must include jdbc-se2.0.jar or any alternative JAR that includes the javax.sql.DataSource interface.

The JDO examples use Apache Derby and depend on the JDBC driver provided with the examples archive. This driver is only required for running the samples and is not required otherwise, especially if you use a different database server.

Castor DSML

Castor DSML is dependent on the latest release of Xerces available from the library directory and XML Apache. Other XML parser may be used instead of Xerces, however, Xerces is required to provide the XML serializer package for XML document production.

Castor DSML has two implementations, one that uses JNDI and one that uses the Mozilla Directory SDK. Applications that use the JNDI package (org.exolab.castor.dsml.jndi) are required to include jndi.jar or any alternative JAR that includes the JNDI 1.2 API. Applications that use the Mozilla Directory SDK (org.exolab.castor.dsml.mozilla) are required to include ldapjdk.jar or any alternative JAR that includes version 4.0 of the Mozilla Directory SDK.

We recommend using the Mozilla Directory SDK as the JNDI LDAP service provider and have had positive experiences using it with OpenLDAP. The JNDI LDAP service provider is included in the ldapsp.jar.

 
   
  
   
 


Copyright © 1999-2005 ExoLab Group, Intalio Inc., and Contributors. All rights reserved.
 
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.