On Mon, 15 Nov 2004 18:44:26 -0500, Patrick McElhaney <[EMAIL PROTECTED]> wrote: > Wait a minute! Isn't the purpose of the DAO to abstract away the > details of the persistence mechanism? And if that's the case, how do > you know that the data is stored in a single row?
Well... yeah, you're right... that was very sloppy wording on my part... DAO is a way to abstract persistence for a single entity, gateway is a way to abstract peristence for a set of entities (and usually it's a set of query methods). Typically DAO interacts with a single object - a business object or a transfer object. Gateway objects tend to return query objects - record sets, whatever. -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ Breeze Me! -- http://www.corfield.org/breezeme Got Gmail? -- I have 1 invite "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ---------------------------------------------------------- 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]
