On Wed, 15 Mar 2000, Javier Borrajo wrote:

> We use several mechanisms to keep SQL out of our Java classes.
> No need to use CMP entity beans to get SQL-less Java.
> For example an XML file mapping Java classes and fields to
> DB tables and columns, including lookup tables, 1..N relationships,
> search criteria, etc. Very fast development achieved. Just get an XML parser
> and develop a simple O/R mapper.

<open source>
fwiw, this is exactly what I did when I wrote a "dependent object framework".
SQL statements are placed in an XML file. No SQL goes inside the BMP code.

I no longer use CMP. Instead, I use BMP and put my SQL statements in XML files.
And it's fully portable for EJB 1.1.

anyway, all the code is open source and available at
http://www.simscomputing.com/products/etk/

cheers,
david

</open source>

--
David Sims               [EMAIL PROTECTED]
Sims Computing, Inc.       www.simscomputing.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to