I have recently been looking at some of the core J2EE design paterns
that deal with composition and data access and have found some useful
ideas here. Have a look at the Dirty Marker pattern:

http://java.sun.com/blueprints/corej2eepatterns/Patterns/CompositeEntity.html

I use a Facade or Manager class to handle calling different DAO's when
a composite object contains objects that also need CRUD.

-Stuart
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]

Reply via email to