License     Codehaus     ExoLab     OpenEJB     OpenJMS     OpenORB     Castor     Tyrex     
 

Main
  Home
  About
  Features
  Download
  API
  Schema
  Mailing Lists
  CVS/JIRA
  Contributing
  Support
  RSS news feed
  Recent changes

XML
  Using XML
  Source Generator
  Schema Support
  XML Mapping
  XML FAQ
  XML HOW-TOs
  Custom Handlers

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

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

More
  Presentations
  The Examples
  3rd Party Tools
  JDO Tests
  XML Tests
  Configuration
  Tips & Tricks
  Full JavaDoc
  CastorWiki
  
  

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

  



Download Castor & dependencies to 3rd-party products

Documentation Author(s):
Werner Guttmann


Releases
    News
    Latest Stable Release
    Latest Milestone Release
    Past Releases
CVS Snapshots
Dependent Libraries
    Castor XML
    Castor JDO
    Castor DSML


Releases

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

News

As of release 0.9.9.1, a new JAR file with the suffix '-commons' has been introduced, holding classes that can be used independend of Castor XML and Castor JDO. With 0.9.9.1 release it only contains Base64Decoder, Base64Encoder, IdentityMap and IdentitySet classes but more (e.g. Castor's cache) will follow with future releases. As this classes are also required for Castor XML and/or Castor JDO they are also 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). Its only intention 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.

Latest Stable Release

Lastest Released Version: Castor 0.9.9.1
Release date: 15 Nov 2005
-What changed?
-NEW *** The Castor Commons JAR *** NEW
http://dist.codehaus.org/castor/0.9.9.1/castor-0.9.9.1-commons.jar
 
-The Castor JAR (XML, JDO, DAX)
http://dist.codehaus.org/castor/0.9.9.1/castor-0.9.9.1.jar
 
-The Castor JAR (XML only)
http://dist.codehaus.org/castor/0.9.9.1/castor-0.9.9.1-xml.jar
 
-The Castor JARs, docs, DTDs, command line tools and examples
http://dist.codehaus.org/castor/0.9.9.1/castor-0.9.9.1.tgz
http://dist.codehaus.org/castor/0.9.9.1/castor-0.9.9.1.zip
 
-Full documentation including all JavaDocs and specs (big)
http://dist.codehaus.org/castor/0.9.9.1/castor-0.9.9.1-doc.tgz
http://dist.codehaus.org/castor/0.9.9.1/castor-0.9.9.1-doc.zip
 
-Full CVS snapshot: all sources, docs, libraries (big)
http://dist.codehaus.org/castor/0.9.9.1/castor-0.9.9.1-src.tgz
http://dist.codehaus.org/castor/0.9.9.1/castor-0.9.9.1-src.zip
 

and

-Ant task definition for the source generator
http://dist.codehaus.org/castor/0.9.9.1/castor-0.9.9.1-srcgen-ant-task.jar
 
-Self-executable JDO examples using Apache Derby (big)
http://dist.codehaus.org/castor/0.9.9.1/castor-0.9.9.1-examples.zip
 

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

The CVS snapshot includes additional JARs required to build Castor. It is self sufficient and does not require any external components, except for javac.

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

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

All implementation JARs (i.e. non 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 marshalling and unmarshalling to/from XML, data persistence using JDO, source code generation from an XML Schema instance.

The example wep 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, Weblogic, etc.) using the standard way of deployment of your web application server.

Latest Milestone Release

Lastest Milestone Version: Castor 1.0 M3
Release date: 07 Mar 2006
-What changed?
-NEW *** The Castor Commons JAR *** NEW
http://dist.codehaus.org/castor/1.0/castor-1.0M3-commons.jar
 
-The Castor JAR (XML, JDO, DAX)
http://dist.codehaus.org/castor/1.0/castor-1.0M3.jar
 
-The Castor JAR (XML only)
http://dist.codehaus.org/castor/1.0/castor-1.0M3-xml.jar
 
-The Castor JARs, docs, DTDs, command line tools and examples
http://dist.codehaus.org/castor/1.0/castor-1.0M3.tgz
http://dist.codehaus.org/castor/1.0/castor-1.0M3.zip
 
-Full documentation including all JavaDocs and specs (big)
http://dist.codehaus.org/castor/1.0/castor-1.0M3-doc.tgz
http://dist.codehaus.org/castor/1.0/castor-1.0M3-doc.zip
 
-Full CVS snapshot: all sources, docs, libraries (big)
http://dist.codehaus.org/castor/1.0/castor-1.0M3-src.tgz
http://dist.codehaus.org/castor/1.0/castor-1.0M3-src.zip
 

and

-Ant task definition for the source generator
http://dist.codehaus.org/castor/1.0/castor-1.0M3-srcgen-ant-task.jar
 
-Self-executable JDO examples using Apache Derby (big)
http://dist.codehaus.org/castor/1.0/castor-1.0M3-examples.zip
 
-Castor examples - sources (incl. xml, JDO, source generator)
http://dist.codehaus.org/castor/1.0/castor-1.0M3-examples-sources.jar
 

Past Releases

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

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

CVS Snapshots

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

For those of you behind a firewall with the CVS port non-accessible, please download Castor from the CVS server using the HTTP interface at http://cvs.castor.codehaus.org 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:

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.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.1.jarJUnit testing framework (for CTF suites)
ldapjdk.jarMozilla Directory SDK (DSML/MDS)
ldapsp.jarJNDI LDAP service provider from Mozilla
log4j-1.2.8.jarLog4J
postgresql-6.3.jarPostgreSQL 6.3 driver with DataSource support (used in default example)
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

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. Other 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 uses Apache Derby and depends 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 positive experience 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.