... I'm not sure how well known this paper is, but it's worth reading... http://www.martinfowler.com/apsupp/recurring.pdf (PDF) "Many business processes are...
274
domaindrivendesign@ya...
Dec 1, 2003 11:40 pm
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the domaindrivendesign group. File :...
276
Dave Ford
dford@...
Dec 2, 2003 8:04 pm
What is the difference between DAO and repository? Dave Ford...
My repositories all have a begin() and commit() method. For example: repos.begin(); Person p = repos.getById("123"); p.setLastName("Smith"); repos.commit(); ...
One repository per type of object. ... From: sobesoft sobesoft@... Date: Wed, 03 Dec 2003 19:09:23 -0000 To: domaindrivendesign@yahoogroups.com Subject:...
Yes. Typically a DAO ("data access object") is an object that belongs to the layer between your domain objects and their persistent datastore and has the ...
... Here is a specialized paper where time has an important element. I haven't waded through it myself, but someone might find it interesting. The title is An...
Hi Matthew. Thank for the answer. Don't I know you from JDO-Central? I'm not sure I understand your answer. It sounds to me like the DAO description and the...
Your PersonHome is like a Repository. Let's say it implemented findByID using a ResultSet Adaptor that knew how to adapt the columns in the ResultSet to the...
Hi Dave, Yep, you know me from JDOCentral. ... I can see where you might have been confused, as the term "repository" can get overloaded. After reviewing...
While reading Domain Driven Design, I was reminded of a couple of essays from Fred Brooks, in particular "No Silver Bullet-Essence and Accident in Software...
I am only about half-way through Eric's book so forgive me if this question is answered later in the text... I am implementing a Domain Model which has a...
... I don't see how you can cache anything at all, then. Any caching strategy would be randomized, at best. Is 100% data integrity not a requirement? -- J. B....
Hi Josh, You've identified at least three separate concerns here: cache staleness, identity integrity in memory, and graph connectedness. It may be helpful to...
Yes 100% data integrity is a requirement, and I could go directly to the datastore upon every get/set, but I am running into problems because I rely on...
<JavaAssumption> Just implement your IdentityMap with java.lang.ref.SoftReferences or java.lang.ref.WeakReferences. </JavaAssumption> Randy ... From: Josh...
Randy, Let me see if I can elaborate a bit better: I am modeling a network switch. This switch contains, among many things, ports and vlans. I currently have...
josh, from Fowler's Patterns of Enterprise Application Architecture: * Optimistic Offline Lock (416) - add a version number to your objects. check it and...
I think I understand. Your follow-on question was "Do I cache the query, or each object returned from the query or perhaps nothing at all?" I didn't...
In New York City, the Design Patterns Study Group is looking at Eric's "Domain Driven Design" right now. We meet every Monday to discuss patterns-related...
... I see almost everything as Value Objects, because I'm a Test-Driven Design practitioner. Everything's a Value Object because I often use assertEquals() to...
I think of value objects (mutable and immutable), entity objects, and "Other" including "stateless" objects... For example, a "configuration object" may be a...
Two points, explained below: -the book is mostly about the domain layer -entities and values only apply to software based on a model One thing I'll point out...
From: "J. B. Rainsberger" <jbrains@...> Subject: Re: [domaindrivendesign] Terminology question on Value Objects and Entities I see almost everything as...
... I'm not sure /why/ all this extra stuff is needed, but then, I haven't finished reading the book yet, so that may explain my uncertainty. I suspect that my...
Hi Eric, I just bought your book and I enjoy reading it (I havent finished it yet)! I also have a question about Entities versus Values. Although your ...