About JaxMe 2
JaxMe 2 is a Java/XML tool that simplifies converting XML documents to
other forms such as Java objects, relational database tables, and Enterprise
Java Beans. When you use JaxMe, you save time because you don't have
to do the gruntwork of writing a lot of XML processing logic.
JaxMe has two major phases:
- A code generation phase, where JaxMe translates your mapping specification
into Java source code
- A runtime phase, where your application uses the generated code to
map XML documents to and from other forms
For your mapping specification, you'll design and use a JaxMe
schema, which supports a subset of the W3C XML schema, with
extensions for JaxMe mapping. For more information, see About the JaxMe Schema.
Once you've designed your JaxMe schema, you use the JaxMe code generator
to automatically translate the JaxMe schema into Java source files. Then
your Java application can transfer data between XML documents and:
- Java objects
- Relational database tables
- Enterprise Java beans
- Tamino database
- Other data representations [TBD]
JaxMe comes in the tradition of tools such as Castor, Zeus, Breeze, and the Bolero-Tamino-Clip
from Software AG. It differs from other Java/XML tools in the following ways:
- JaxMe uses SAX2 rather than DOM or other in-memory representations;
therefore, it's very fast and has a small memory footprint
- The JaxMe code generator is designed with a single mapping file as
its input, to ensure safe deployment. If you want to change implementation
details, you change the JaxMe schema file and then rerun the code generator.
- JaxMe allows for customization by deriving subclasses of the generated
classes. If the superclasses are regenerated, you don't lose your work.
For a tutorial in using JaxMe, see Generating
Java classes.
NEXT PREVIOUS TABLE
OF CONTENTS