About the JaxMe Schema

Before you can use JaxMe, you need to create a JaxMe schema file to serve as your mapping specification.

Normally, a W3C XML schema is used to define valid XML documents  (see http://www.w3.org).  JaxMe extends the W3C specification to include information about how to map the XML document to Java objects, RDBMS tables, EJB objects, and other representations. JaxMe schema extensions reside in <xs:appinfo> elements, defined by W3C.

The JaxMe distribution includes the following sample JaxMe schema files, which you'll be using in the tutorial:

If you already have an XML schema for your XML documents, you can use it as the basis for your JaxMe schema. (For information about DTD support, see Using a DTD).

However, note that JaxMe doesn't support the extensive W3C XML schema specification. If you already have a complex W3C XML schema, you may find that it contains constructs that are not supported by JaxMe. The JaxMe schema file jaxme.xsd describes the supported subset of the W3C XML schema.

In general, the following are supported in the JaxMe schema:

The following are not currently supported in the JaxMe schema: NEXT      PREVIOUS     TABLE OF CONTENTS