Re: DAO with EOF

Anders Peterson <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Daryl Thachuk wrote:

> On 13-Nov-07, at 5: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?
>>
>> /Anders
>>
> 
> Why would you want to do this? 

I've started thinking about this because I have two different 
application in the same domain - one is a WebObjects app the other one 
is not. Trying to figure a pattern that will allow me to share as much 
code as possible between the two apps.

/Anders

> I think this pattern exists because of 
> limitations in J2EE. Limitations which do not exist in EOF.
> 
> Of course I could be wrong :-)
> 
> -daryl
> 
> ------
> Daryl Thachuk
> Montage Technologies Inc.
> http://www.montagetech.com
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> WebObjects-dev mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/webobjects-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.