# The JaxMe 2 manual

Jochen Wiedmann
2003-2004 The Apache Software Foundation

## Introduction

JaxMe 2 is a Java source generator. It is used as the base of XML application frameworks. Using JaxMe can generate code that can:

- Convert XML documents into Java beans and back to XML documents again.
- Persist those Java beans into a datastore. It is recommended to use an XML database as a backend, but relational databases are supported through an object-relational mapper. (If your XML documents are sufficiently simple, that is ;) It is even possible to mix different database engines, depending on the document type. JaxMePM (the JaxMe persistence management framework) is design to be extensible. Developers can create new implementations to add support for datastores that JaxMe does not support out-of-the-box.
- Query the database for previously stored data and convert this data into Java beans.
- The database can be accessed directly or by EJB entity or session beans. These beans may be generated by JaxMe.

So, the complete workflow of a typical application is supported: gathering, storing, processing, and presenting data.

JaxMe is an open source project: You may redistribute sources, or binaries, as you like. JaxMe comes to you under The Apache Software Foundation License, a very liberal license: you are even allowed to redistribute derived works under a modified license. This is in contrast to the GPL, which requires that derived works are GPL'ed again.

&firststeps;

## Reference

This chapter is more formal and can be assumed to be the JaxMe reference documentation.

&xjctask; &marshalling;
&license; &faq; &glossary;