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...
Want to share photos of your group with the world? Add a group photo to Flickr.

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 6356 - 6385 of 15990   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
6356
Hello, I think the problem is that the metadata model in Java frameworks like JPA/Hibernate is basically incompatible with 3-layer domain models. Those...
Phillip Calçado
pcalcado
Online Now Send Email
Dec 1, 2007
8:39 am
6357
Absolutely but to me thats a seperate issue, I'd suggest looking at Fowlers temporal patterns. ... all ... to ... record ... due ... probably ... that...
Colin Jack
colin.jack
Offline Send Email
Dec 1, 2007
9:06 am
6358
So when getting the pieces of the player you go through the role but when modifying/creating you go through the role? Seems very sensible. I do wonder what...
Colin Jack
colin.jack
Offline Send Email
Dec 1, 2007
10:18 am
6359
Person and Organization are both specializations of Party, so I've used a Role supertype named PartyRole, whose player instance variable was typed as Party....
randy stafford
randalparker...
Offline Send Email
Dec 1, 2007
1:44 pm
6360
I live near the DC area. I'd very be interested in attending. ... -- ... http://www.linkedin.com/in/jeffwaltzer...
Jeff Waltzer
jeffwaltzer
Offline Send Email
Dec 1, 2007
8:21 pm
6361
I think to biggest problem is to use named queries. It sounds like the old problem of use SQL direct in your code. People says HQL is different, but what I see...
Felipe Rodrigues
feliperod777
Offline Send Email
Dec 2, 2007
1:16 pm
6362
Hey, To that specific problem (of query language into the doman) I generally describe the query as an speciication and use an interface to model it. A...
Phillip Calçado
pcalcado
Online Now Send Email
Dec 2, 2007
1:26 pm
6363
You mean, an simple interface and put the query on the interface? Our domain would implemments this interface? Could you give some example? Thanks, Felipe...
Felipe Rodrigues
feliperod777
Offline Send Email
Dec 2, 2007
1:55 pm
6364
Say you have the need to get all users with a given name. In the Domain Model all you classes deal with is (method styles, names and etc are merely...
Phillip Calçado
pcalcado
Online Now Send Email
Dec 2, 2007
2:01 pm
6365
And the query object would be used by domain objects like a repository? I'm not sure if it is a good approach when we have a lot of queries. We also would have...
Felipe Rodrigues de A...
feliperod777
Offline Send Email
Dec 2, 2007
2:12 pm
6366
On Dec 3, 2007 1:12 AM, Felipe Rodrigues de Almeida ... No, they would be handled like specifications. Repositories are still the same. ... You mean...
Phillip Calçado
pcalcado
Online Now Send Email
Dec 2, 2007
2:23 pm
6367
My question was if we must have as many interfaces for query objects as variants of queries. If we do, then it means a lot of interfaces and implementations....
Felipe Rodrigues de A...
feliperod777
Offline Send Email
Dec 2, 2007
9:04 pm
6368
Hi, On Dec 3, 2007 8:04 AM, Felipe Rodrigues de Almeida ... Yo don't have to. I thought you were xpliciting talking about qury objects, f the queries you're in...
Phillip Calçado
pcalcado
Online Now Send Email
Dec 2, 2007
9:20 pm
6369
I agree. In fact I feel some level of rough domain modeling must precede use case identification, because use case names are of the form Verb a Noun, where...
randy stafford
randalparker...
Offline Send Email
Dec 3, 2007
12:59 am
6370
... I would use 1+n packages: the most important package contains your entities and the interfaces of your repositories. The other packages contain persistence...
Johan Stuyts
objectthinker
Offline Send Email
Dec 3, 2007
6:25 am
6371
... I have built an architecture in Java that ties the transaction/unit of work to the request. Requests for a service come in through a number of protocols...
Johan Stuyts
objectthinker
Offline Send Email
Dec 3, 2007
6:25 am
6372
1. In terms of packaging, I prefer to keep repository interfaces together with the model and repository implementation separate. Keeping repository interfaces...
Aleh Matus
aleh_matus
Offline Send Email
Dec 3, 2007
6:25 am
6373
i think that the Domain Model is not compromised with annotation, because it is only configuration, remove JPA and nothing will change in the model... not are...
christiano milfont
chrismilfont
Offline Send Email
Dec 3, 2007
6:26 am
6374
Your repositories can be a place where you can add business rules associated with persistence. On our project, we use our repository to validate entities...
Ray Houston
rayhouston72
Offline Send Email
Dec 3, 2007
6:26 am
6375
I agree with you that in a perfect world that works great, but it seems we have to choose our compromises. I dream of the day we have lightening fast...
Ray Houston
rayhouston72
Offline Send Email
Dec 3, 2007
6:26 am
6376
Hi Christiano, When you say remove JPA, you mean remove even the annotations, not only the jar, because if you don't remove the annotations the class won't ...
Felipe Rodrigues de A...
feliperod777
Offline Send Email
Dec 3, 2007
8:29 pm
6377
Although I'd generally agree that this is the most pragmatic solution in Java I can't agree that it won't compromise domain with persistence information (this...
Phillip Calçado
pcalcado
Online Now Send Email
Dec 3, 2007
8:55 pm
6378
As the title asks: What to do when there's no apparent aggregate root? The user needs to be able to add/delete/update objects in a list. There's no aggregate...
chrisholmesonline
chrisholmeso...
Offline Send Email
Dec 4, 2007
5:02 am
6379
Hi Hal, ... The problem I have with the DAO pattern as documented in Core J2EE Patterns is that it gave me a lot of cognitive dissonance as someone who had...
randy stafford
randalparker...
Offline Send Email
Dec 4, 2007
5:03 am
6380
Hi Hal, ... The problem I have with the DAO pattern as documented in Core J2EE Patterns is that it gave me a lot of cognitive dissonance as someone who had...
randy stafford
randalparker...
Offline Send Email
Dec 4, 2007
5:03 am
6381
Randy, Excellent post! Thanks for the precise descriptions in their historical context. -Jeff ________________________________ From:...
Jeff Lowe
jefflowe7
Offline Send Email
Dec 4, 2007
5:03 am
6382
For editing purposes, we treat each item as an aggregate, but for display purposes we use DTOs to view the items in a list fashion. I'd like to hear what other...
Ray Houston
rayhouston72
Offline Send Email
Dec 4, 2007
5:26 am
6383
A repository can retrieve a collection of domain objects. It doesn't have to return a single aggregate root instance....
patrik_nordwall
Offline Send Email
Dec 4, 2007
7:03 am
6384
Hello fellow DDD'ers of New York! This is the reminder that the next meeting of DDD NYC Group will happen next Tuesday, December 11th from 7pm to 9pm+ at...
Vladimir Gitlevich
ventane
Offline Send Email
Dec 4, 2007
3:58 pm
6385
Right, but what I'm concerned with is where to put domain logic to handle the adding/removing of items from that list. For instance, there's some business...
chrisholmesonline
chrisholmeso...
Offline Send Email
Dec 4, 2007
5:12 pm
Messages 6356 - 6385 of 15990   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