JET Code Generator
Note: There is a whitepaper available on XSL Code Generation which is extremely useful for
anyone trying to use JET Gen.
The JET Code Generator is a DataBase code generation system based
on industry standard XSLT.
If you've ever felt that you're writing the same data access code
over and over again, this tool is for you!!
As a simple initial example, consider the following process:
| From DB Design |
|
To Java Data Access Layer
|
 |
JET Code
Generator |
 |
The process represented by the above arrow is executed day in and
day out by java devleopers around the globe. What if you could
configure a generator such that this task is automated? You could
spend your time writing business operations, rather than the same
old data access code.
This is what the JET Code Generator offers you...
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.
Read On...
|