Hi Marcantonio, It's probably not a good idea. I've been down this road, and made a blog entry yesterday about things like this: http://clearsoftware.net/client/index.cfm?mode=entry&entry=4492E3A9-E081-2BAC-6969DBF6739A5A92
Some reasons: - Your bean would become tied to a specific database implementation, and would therefore lose a good deal of its reusability. - Your bean exists to represent the data of an animal. Your DAO exists to save the state of the Bean. Blurring two breaks down the idea of an object "doing one thing and doing it well." -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 www.mail-archive.com/[email protected]
