Search the web
Sign In
New User? Sign Up
domaindrivendesign · Domain-Driven Design
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 7540 - 7569 of 16071   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
7540
I strongly recommend annotations of the Domain objects as the persistence mechanism. OK, there will be a connection between the pure domain and the persistent...
Tomas Karlsson
marcellus874
Offline Send Email
Jun 1, 2008
10:32 am
7541
... One question is, where do you draw the line when it comes to domain object metadata. For example, where do you put the labels to be shown in forms for a...
Rickard Öberg
rickardoberg
Offline Send Email
Jun 1, 2008
10:43 am
7542
Thank you all for you insights. I'm still considering the DAO though, I implemented the generic DAO as illustrated by Java Persistence With Hibernate, and it...
dover.roni
Offline Send Email
Jun 1, 2008
9:12 pm
7543
I speficially did not put in a Matching(ICriteria criteria) method in my IRepository interface. Instead, I allow for the interface to be extended in the...
Tim McCarthy
mccarthyis
Offline Send Email
Jun 2, 2008
1:42 am
7544
On Sun, Jun 1, 2008 at 6:43 AM, Rickard Öberg <rickardoberg@...> ... It's this sort of thing that keeps me using the external Hibernate XML files. I...
Geoffrey Wiseman
diathesis242
Offline Send Email
Jun 2, 2008
2:34 am
7545
Geoffrey Wiseman wrote: "It's this sort of thing that keeps me using the external Hibernate XML files. I just find it clutters the domain class, and I worry...
randy.stafford@...
randalparker...
Offline Send Email
Jun 2, 2008
3:55 am
7546
... I should add that I often begin my lectures by saying sorry for XDoclet ... workaround for bad design patterns... oh well.. Anyway, it seems to me that...
Rickard Öberg
rickardoberg
Offline Send Email
Jun 2, 2008
5:44 am
7547
Hi, I've been exploring Spring.net recently and one thing that sticks out to me is the call to GetObject(). It got wondering, are people in practice using...
Aeden Jameson
bevelededges
Offline Send Email
Jun 2, 2008
6:53 am
7548
Hi Aeden, Typically, you won't see any calls whatsoever to GetObject() (or getBean() for those on the Java side) within your domain or service layers. In the...
Chris Beams
cbeams78
Offline Send Email
Jun 2, 2008
7:57 am
7549
On Mon, Jun 2, 2008 at 1:43 AM, Rickard Öberg <rickardoberg@...> ... This might be an area where having source code as a predominantly text artifact is...
Geoffrey Wiseman
diathesis242
Offline Send Email
Jun 2, 2008
3:20 pm
7550
I have some specifications, CompanyCreditCardSpecification and DuplicateCreditCardSpecification that take a credit card number to determine if it meets certain...
Jesse Napier
juice_johnson17
Online Now Send Email
Jun 3, 2008
6:02 pm
7551
Jesse, I've run into similar problems. My approach was to let the specification do what it needed to do, giving it all the information it needed through its ...
Bil Simser
sim0099
Offline Send Email
Jun 4, 2008
1:54 am
7552
Thanks bill. It feels natural; I just wanted to see what others are doing in these scenarios. Have you ever used a factory creating your specifications? ...
Jesse Napier
juice_johnson17
Online Now Send Email
Jun 4, 2008
2:25 am
7553
It seems to me like the specification should be responsible for knowing boundary values. If you pass boundary values in via the constructor, then the...
Pat Maddox
burritoooboy
Offline Send Email
Jun 4, 2008
2:31 am
7554
True and I suppose you could have a specification that contains the boundary information within itself. I've done this as well but sometimes your specification...
Bil Simser
sim0099
Offline Send Email
Jun 4, 2008
2:40 am
7555
For me, my specification classes are so small and simple I don't need a factory. There's an IsSatisifedBy method and that's about it. I have a blog post here...
Bil Simser
sim0099
Offline Send Email
Jun 4, 2008
2:44 am
7556
Sorry, that blog post was referring to using the Strategy pattern to replace ugly enums. However in the end, somewhere, I shifted to using an ISpecification to...
Bil Simser
sim0099
Offline Send Email
Jun 4, 2008
2:48 am
7557
Found it, JP posted it on his blog here: http://www.jpboodhoo.com/blog/RefactoringToRevealIntent.aspx From: domaindrivendesign@yahoogroups.com ...
Bil Simser
sim0099
Offline Send Email
Jun 4, 2008
2:49 am
7558
Hi to all, I have developed and tested my web service using JPA annotations to map my domain model to the JPA ORM framework.  Everything works fine. Now...
Tchuta leonard
tchuta
Offline Send Email
Jun 4, 2008
4:02 pm
7559
Thanks for the links Bill. Those posts are great examples of refactoring. The main reason I was asking if used a specification factory was to determine how...
Jesse Napier
juice_johnson17
Online Now Send Email
Jun 4, 2008
5:07 pm
7560
Pat, that does seem to make sense if you can pre determine the boundary values. What would you do if the boundary values are dynamic or must be retrieved from...
Jesse Napier
juice_johnson17
Online Now Send Email
Jun 4, 2008
5:09 pm
7561
Jesse, Why would you mock specifications? They're domain concepts so you would end up doing state based testing against them, just like an entity. I don't see ...
Bil Simser
sim0099
Offline Send Email
Jun 5, 2008
4:17 am
7562
I would want to mock them so that I can test the behavior of a test class when the specification IsSatisifed or isn't satisfied without having to worry about...
Jesse Napier
juice_johnson17
Online Now Send Email
Jun 5, 2008
4:57 pm
7563
I agree with this. If you have some logic that depends on calling isSatisfied, you'll want to mock out that call to isolate your tests from changes to the...
Pat Maddox
burritoooboy
Offline Send Email
Jun 5, 2008
7:31 pm
7564
I suppose you have a reason for moving the OR-mapping from annotations to a mapping file. But I cannot find it, so please tell me. (I am working with similar...
Tomas Karlsson
marcellus874
Offline Send Email
Jun 6, 2008
6:57 am
7565
Hi Tomas, The reasons for removing the ORM annotations from the service business entities is to ease service upgrade and migrations. The service is for an SOA...
Tchuta leonard
tchuta
Offline Send Email
Jun 6, 2008
12:47 pm
7566
I was not clear on how replacing the Delivery History collection with a query solve the problem. This is on page 177 in the DDD book. I appreciate an little...
koyav
Offline Send Email
Jun 8, 2008
9:42 pm
7567
I would like to answer the following question: " However, even if the pure dao operations belong with the domain logic, where do they fit in? Should the...
Ariel Leinvand
desiertosonoro
Offline Send Email
Jun 8, 2008
9:43 pm
7568
... Well, if you have a domain concept for "a bunch of Employees", why not introduce that as an Employees domain object? I've been starting to use this idea of...
Rickard Öberg
rickardoberg
Offline Send Email
Jun 8, 2008
10:12 pm
7569
Is there any reasonable way (that can be reommended as a best practise from a pragmatical point of view) to avoid typechecking and downcasting when subclasses...
dddbloke
Offline Send Email
Jun 8, 2008
10:35 pm
Messages 7540 - 7569 of 16071   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help