Re: DAO with EOF
Chuck Hill <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
On Nov 13, 2007, at 4:11 AM, Anders Peterson wrote: > Hi, > > I'd like to make my business objects independent of EOF. Thinking > about doing doing this using the Data Access Object design pattern > where the EOs are the DAOs and the BOs are POJOs. > > http://java.sun.com/blueprints/corej2eepatterns/Patterns/ > DataAccessObject.html > > Is (something like) this commonly done? Has anyone done it? I have never heard of anyone doing this with WO. Given how EOF works, I don't see it as being of great benefit. And you are still going to have to manage and pass around an EOEditingContext. If you still want to do this, EOGenerator will be a big help. Chuck -- Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects