On Fri, 25 Feb 2000, Jouni Juutinen wrote:
> Interesting question (again) is how one handles the persistence of dependent
> objects. I quess there are at least two options:
> 1. Make dependents as regular Java classes (e.g. Address).
[snip]
> Using RDBMS you can
> persist this Java class in one blob ([snip]) or you
> can use BMP and write the required code to persist the class in appropriate
> table/columns.
I've written a fairly simple framework to handle this exact situation. You
write your dependent objects within the bounds of a framework. You don't have
to write any JDBC. All the SQL code goes in an external XML file. Works alright
for me so far.
It's open source and freely available at
http://www.simscomputing.com/products/etk/
Look for "Dependent Object Framework". That's what I've been calling it.
cheers,
david
--
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".