Modified:
12/06/2004
Script ID: #1573
It uses the JDBC API to connect to your database, and export the schema as an XML formatted file.
Once the schema of the database in into an XML format, standard eXtensible Stylesheet Language Transformations (XSLTs) can be used to generate java code. That's right!, it's not just for presentation anymore!
It can be used to generate virtually anything that depends integrally upon your schema. Examples are presented for strait forward data access layer, but by writing custom XSLTs, the generator could be used to produce:
-Data Access Objects, and a persistence layer that changes automagically with your schema;
-EJB Entity Beans;
-FORM based Java Server Pages;
-Simple Swing GUIs
The JET Code Generator comes with two complete examples based on a sample InstantDB database and the Northwind database included with the Microsoft Access database
License Information
Direct link to this listing: