<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>XML-DBMS GUI Released - Lots of Classes you can use......</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Dear All,</FONT>
</P>
<P><FONT SIZE=2>If you go to the sourceforge page @</FONT>
</P>
<P><FONT SIZE=2><A HREF="http://sourceforge.net/projects/xmlmiddleware/" TARGET="_blank">http://sourceforge.net/projects/xmlmiddleware/</A></FONT>
</P>
<P><FONT SIZE=2>& grab the file release:</FONT>
</P>
<P><FONT SIZE=2>export-2002-04-28.zip</FONT>
</P>
<P><FONT SIZE=2>You will find a .bat file in there you can run or cut & paste it into a shell file if you're using Unix/Linux.</FONT>
</P>
<P><FONT SIZE=2>You will need in your classpath any DB drivers you want to use & JDOM Beta 6.</FONT>
</P>
<P><FONT SIZE=2>You will need a Java 2 VM. I have tested the code against JDK1.2, 1.3 & 1.4.</FONT>
</P>
<P><FONT SIZE=2>For details of the classes & XML Docs see:</FONT>
</P>
<P><FONT SIZE=2><A HREF="http://www.softfab.com/xmlmiddleware/docs/main.html" TARGET="_blank">http://www.softfab.com/xmlmiddleware/docs/main.html</A></FONT>
</P>
<BR>
<P><FONT SIZE=2>The design has been as modular as possible such that classes can be taken out & used on their own if you wish.</FONT>
</P>
<P><FONT SIZE=2>The one remaining thing "ToDo" is to build a test suite allowing you to run the XML-DBMS code itself e.g. get in XML as a Message over JMS or from a file, transform it with XSLT & save it to a DB with a Mapfile, or extract from a DB with a Mapfile, transform with XSLT & send to a JMS topic or save to (possibly many) files (each with it's own XSLT transform).</FONT></P>
<P><FONT SIZE=2>It's not difficult but I want it to be sufficiently generic such that it could adapt to future uses & technologies (e.g. Web Services).</FONT></P>
<BR>
<P><FONT SIZE=2>For JDOM people or people looking at doing JDBC/XML stuff in general (e.g. Building a SQL Designer tool or whatever) the classes themselves are designed to be modular such that you can take bits you want & the Builder GUI itself works via plugins.</FONT></P>
<P><FONT SIZE=2>The main JDBC & general JTree <> JDOM Doc/XML classes are in the: </FONT>
</P>
<P><FONT SIZE=2>net.xmlmiddleware.gui.treebuilder package</FONT>
</P>
<P><FONT SIZE=2>This is where all the JDOM Treebuilding classes are & contains:</FONT>
</P>
<P><FONT SIZE=2>BasicNode - This is a basic extension of javax.swing.tree.DefaultMutableTreeNode.</FONT>
</P>
<P><FONT SIZE=2>ElementNode - This is an extension of BasicNode which encapsulates a JDOM Element. This is the fundamental link between a JDOM Document and the JTree GUI Component via the JDOMTreeModel.</FONT></P>
<P><FONT SIZE=2>BasicTreeListener - This is a Multiple Jtree Listener which extends java.awt.event.MouseAdapter</FONT>
<BR><FONT SIZE=2>& implements javax.swing.event.TreeExpansionListener & javax.swing.event.TreeSelectionListener</FONT>
<BR><FONT SIZE=2>It will get the menu relevant for a given Node/ JDOM Element from the .xmldbms.gui.mapbuilder.StaticMenuh & show it as well as controlling the various tree events (e.g. TreeCollapsed).</FONT></P>
<P><FONT SIZE=2>JDOMTreeModel - This extends DefaultTreeModel & is the basis for displaying "live" JDOM Documents as a JTree. </FONT>
</P>
<P><FONT SIZE=2>JDBCTreeBuilder - This builds a JDOM Document from the metadata returned by the Database.</FONT>
</P>
<BR>
<BR>
<BR>
<P><FONT SIZE=2>---</FONT>
</P>
<P><FONT SIZE=2>Adam Flinton </FONT>
</P>
</BODY>
</HTML>