JaxMe 2 JaxMe 2

the JaxMe 2 site
 
   

Welcome to JaxMe 2

PDF
PDF

JaxMe 2 is an open source implementation of JAXB, the specification for Java/XML binding.

Note
JaxMe is an incubated subproject under the sponsorship of the Apache Software Foundation's (ASF) Web Services project. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

A Java/XML binding compiler takes as input a schema description (in most cases an XML schema, but it may be a DTD, a RelaxNG schema, a Java class inspected via reflection, or a database schema). The output is a set of Java classes:

  • A Java bean class matching the schema description. (If the schema was obtained via Java reflection, the original Java bean class.)
  • Read a conforming XML document and convert it into the equivalent Java bean.
  • Vice versa, marshal the Java bean back into the original XML document.

In the case of JaxMe, the generated classes may also

  • Store the Java bean into a database. Preferrably an XML database like eXist, Xindice, or Tamino, but it may also be a relational database like MySQL. (If the schema is sufficiently simple. :-)
  • Query the database for bean instances.
  • Implement an EJB entity or session bean with the same abilities.

In other words, by simply creating a schema and running the JaxMe binding compiler,

Running the JaxMe 2 compiler

you have automatically generated classes that implement the complete workflow of a typical web application:

Workflow of a JaxMe 2 application
Valid HTML 4.01!Valid CSS!Built with Apache Forrest logo