> Curious though, how do you actually use the DAOs?  I have been treating them
> as static classes and have the CRUD functions accept an instance of the
> object...

Yep, I'd pass an object in and expect objects back where appropriate. 
Here's a good blueprint - while it's Java-focused, the code is easily
understood as it's just method sigs and comments.  It's worth a good
hard read, as it goes into using the DAO pattern with the Factory
Method and the Abstract Factory patterns.

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

Cheers,

Joe

-- 
For Tabs, Trees, and more, use the jComponents:
http://clearsoftware.net/client/jComponents.cfm
----------------------------------------------------------
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 
[EMAIL PROTECTED]

Reply via email to