Here is a paper I recently finished. I am a complete fan of Domain driven design. When I read the book it said things so well, things that I wanted to say for...
hi,every one. There is a example which called "Chemical Warehouse Packer". in chapter Nine. Let's think about a scenario that we put two chemical into a...
Hi, I'm reading the DDD book, which I find very interesting. However, there's a specific issue in where I need some more clarification. Eric Evans says that...
Any OR mapping tool will have several options for handling transactions. For example, in Hibernate, the simplest method is to pass a session to your repository...
If one develops with Java, the Spring declarative transaction management engine, which is an abstraction that works well with different transaction management...
... transactions. For ... your ... flushed ... a web ... scenarios, ... I would be very interested to learn about those more sophisticated patterns. Do you...
As Dmitriy just mentioned, Spring is a good place to look for some standard transaction handling mechanisms. If you're using Hibernate, there are some simple...
We are doing this by using Spring's AOP framework. Here is an article explaining the concepts: http://www.onjava.com/pub/a/onjava/2005/05/11/spring.html...
Hi, My current predicament is that I have a ProductRepository that loads up an IProduct. All products are categorised, so IProduct is associated to a category...
I've been exploring the use of Fit storytests to start/help in clarifying and evolving a ubiquitous language for a domain. This means finding ways to be more...
excellent. which day? ... -- Rex Madden Director of Technology Cyrus Innovation IT Consulting and Agile Software Development New York City, New York ...
spell 'technolgy' as 'technology' ... http://jobsearch.monster.com/getjob.asp?JobID=31577631 ... __________________________________________________ Do You...
Hi Iyad, we did something similar with a UML virtual machine back in the bubble: http://www.riehle.org/computer-science/research/2001/oopsla-2001.html (The...
There's a great example of separating the transactional layer in Chapter 8 of "Hibernate in Action" by Christian Bauer and Gavin King. Billy McCafferty ... ...
Hi all, we started using Hibernate about a week ago, and even though I think it is probably the best of the ORM tools available, it does get in the way with ...
Sorry about my broken post previously, I hit CTRL+Enter by mistake _____ From: domaindrivendesign@yahoogroups.com [mailto:domaindrivendesign@yahoogroups.com]...
Hi, I've been using hibernate also, and wanted to add/comment on a few things that Dirk said. 1) The only real way to create value objects without repeating...
... We do this all the time. You have to implement UserType, but only for your "mapper" class. These are like factories. For example, I have a few UserTypes...
Hi, I've been using hibernate also, and wanted to add/comment on a few things that Dirk said. The only real way to create value objects without repeating the...
Roni, ... A UserType tells Hibernate how to persist your value object. You do not need to change your value object at all; it doesn't need to extend or ...
What is the best way to acquire a new instance of a child object. For example: Let's say we have a parent class Company and a child class Employee. We also...
Well, since the "Company" is the aggregate root, I'd lean towards giving it a responsibility of managing its dependent objects. So for creating instances of...
As I always say, in these situations, you must have application requirements to choose a model. Is this a real example? If so, tell us more about the purpose...
Dirk (not Roni!) Sorry, didn't read your post carefully enough. Regarding #2, I didn't ... access="field" which avoids using getters and setters but goes to...
First: I left my DDD book in another city. I am currently working remote, doh! :( The Company class represents one of our customers the AddEmployee method ...
So, then this is the generic subdomain of access control and security? The entire purpose of these objects is to determine whether a particular user has access...