Welcome to JaxMe! 

SourceForge.net Logo
JaxMe

- A Framework for Java/XML binding based on SAX2 -

Note:
As of Oct 2003, JaxMe 2 was accepted for incubation into the Apache web services project. As a consequence, the further development of JaxMe 2 on SourceForge is discontinued. Development of JaxMe 1 will continue for a while, as long as JaxMe 2 becomes stable.

Introduction: 

JaxMe is a tool for Java programmers that greatly simplifies working with XML. JaxMe is your friend, if you : 
  • just want to write your Java application, without worrying about the details of XML programming
  • want to have the speed of SAX2 and the simplicity of DOM
  • insist on type safety rather than treating everything as a String
What JaxMe does may be best demonstrated by an example. Suppose we have the following XML document:
    <bankaccount>
      <owner>Jochen Wiedmann</owner>
      <balance>23.67</balance>
      <created>25-Aug-2002 09:34:27</created>
    </bankaccount>
What do you want to do with this document?
  • Insert it into a database
  • Read it from the database and update or delete a record in the database
  • Read it from an external source, such as a web application.
  • Convert it into XML for later use in the same web application
JaxMe automatically generates the following set of Java classes for you:
 
 
ClsBankAccountHandler
  SAX2 ContentHandler 
 
 
ClsBankaccount
  String eOwner;
  Double eBalance;
  java.util.Date eCreated
 
ClsBankAccountManager
  parse(String pXmlDocument);
  parse(java.io.File pXmlFile);
  parse(java.net.URL pUrl);
  insert(ClsBankAccount pXmlDocument);
  update(ClsBankAccount pXmlDocument);
  delete(ClsBankAccount pXmlDocument);
  select(String pQuery);

Note that: 

  • As a SAX2 handler, the class ClsBankAccountHandler supports namespaces. 
  • The instance variables eOwner, eBalance and eCreated have appropriate Java types, providing the standard benefits of type safety.
For more information, see JaxMe Documentation
  FAQ   |   Reference   |   Contact   |   Comments   |   Forward   |   Back   |   Top of Page 

Background images on this frame from freebackgrounds.com