>> First, you can use constructor injection instead of setter injection
In some cases, yes. In other cases, I have circular dependencies, which cannot use constructor injection. I typically always use setter injection for this reason -- I find it's more flexible. >> Second, you seem to be calling a database relationship a "dependency", which I'd say isn't accurate. I completely agree that dependencies aren't always having to do with database calls -- in my applications they typically are, however. I've got a few "service" CFC's that I pass around to my DAO's, but mostly my "dependencies" have to do with field validation. Say I've got a Book entity that has one or many Authors. Assuming "Books" and "Authors" are each tables in the database, when I create a Book record, I call my BookDAO.cfc -- in this CFC is a validate method that checks to make sure all the Authors the user assigned to this Book are indeed valid records in the Authors table. In this case, I pass BookDAO.cfc a reference to AuthorsDAO.cfc and that gives me the ability to query for Authors from the BooksDAO save method. Again, I'm a new developer getting my feet wet :) So if there's an easier way that I'm missing, let me know! I continue to hear "Transfer/Reactor will do this," so maybe I gave up on it too quickly! Jonathon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291858 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

