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

  



Features


Features
    Castor XML
    Castor XML code generator
    Castor JDO
    Castor JDO DDL generator
    Additional tools
    Build management integration
    Integration with other frameworks


Features

Definition (wikipedia.org)

  Castor is an open source data binding framework for moving data from 
  XML to Java programming language objects and from Java to 
  databases.

Castor is made up of (independent) modules as follows:

-Castor XML
-Castor XML - Code generator
-Castor JDO - Persistence framework
-Castor JDO - DDL generator
-Additional tools
-Integration with other frameworks

Castor XML

XML data binding framework to bind XML artefacts to Java objects and vice versa.

-Employs default mapping conventions for mapping-less operation.
-(Optional) mapping file for existing (more complex) object models
-XML-based mapping file to specify bindings for existing object models.
-Support for schemaless Java-to-XML binding.

Castor XML code generator

Code generator that generates Java source code from XML Schema information.

-Generates Java domain classes based upon the type/element definitions in the given XML schema(s).
-Support for native Java 5 artifacts (e.g. enums, annotations)
-Support for enum-style classes for Java 1.4
-Additionally generates descriptor classes to be used during (un)marshalling to dramatically enhance performance.
-Extended support for in-object validation (through validation rules encoded in descriptor classes).

Castor JDO

Java persistence framework to bind Java objects to RDBMS tables.

-XML-based JDO mapping file to specify bindings for (existing) object models
-Support for ODMG OQL queries.
-EJB container managed persistence provider for OpenEJB
-Supports two-phase commits, object rollback and deadlock detection.
-Support for in-memory caching (various cache providers).
-Support for write-at-commit to reduce JDBC operations.

Castor JDO is not the same-as or compatible with Sun's JDO. We have a different approach to handling data object to RDBMS mappings. Please see the JDO FAQ for more information.

Castor JDO DDL generator

Generates DDL statements from JDO mapping files.

Additional tools

-MappingTool: Ability to create base mapping from existing Java classes
-XMLInstance2Schema: Ability to create an XML Schema from an XML input document
-DTDConvertor: Converts a DTD definition to an equivalent XML schema definition.

Build management integration

Various artefacts to support build management systems.

-Ant task definitions for XML code generator
-Maven plugin for XML code generator

Integration with other frameworks

Castor is currently integrated with the following frameworks or has support for being integrated:

-Spring ORM support for Castor
-Spring OXM for Castor
-Spring XML artifacts
-Web Service toolkits
-Apache Cocoon (Castor transformer)
-extendedXML module for Mule, offering enhanced XML-transformation support for Mule, using Castor
 
   
  
   
 


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.