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 2302 - 2331 of 15986   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
2302
"If not, you might be better off ditching EJB, running everything in the in the servlet container (but still rigorously separating into ui and domain logical...
Allan Halme
allanhalme
Offline Send Email
Jun 1, 2005
1:12 pm
2303
Allan, what cluster-aware cache are you using? We're using OSCache, but it's not totally cluster-aware. Looking for alternatives. Steve ...
Molitor, Stephen L
steve_molito...
Offline Send Email
Jun 1, 2005
1:32 pm
2304
C A L L F O R P A P E R S ============================= The 5th OOPSLA Workshop on Domain-Specific Modeling October 17, 2005 San Diego, California, USA ...
Juha-Pekka Tolvanen
jpt_mcc
Offline Send Email
Jun 6, 2005
11:55 am
2305
Below is my question and Eric Evans' answer regarding whether you should have a repository reference inside an entity. I hope the answer is helpful to other...
cyboc
Offline Send Email
Jun 6, 2005
3:25 pm
2306
In the applications that I have worked the majority of entities do not need to have access to the repositories. But in a small number of cases it made sense...
Chris Richardson
cer
Offline Send Email
Jun 6, 2005
4:10 pm
2307
Chris, Thanks for your reply. The pros and cons of the three options you described are discussed at great length in the Spring Framework posting I listed below...
cyboc
Offline Send Email
Jun 6, 2005
4:27 pm
2308
I must admit I’m confused with Eric’s reply. I was in the belief that Repositories are a domain concept and thus could be used from the domain the same way...
Roni Burd
roniburd
Offline Send Email
Jun 6, 2005
4:48 pm
2309
But then this means holding a reference to the repository, and that's not good, even if you could get your persistence framework to do it. In your scenario,...
Rex Madden
rexmadden
Offline Send Email
Jun 6, 2005
5:54 pm
2310
... that's not ... FYI, Well, I just did some more research this morning and the Spring Framework has experimental support for injecting dependencies (like ...
cyboc
Offline Send Email
Jun 6, 2005
6:06 pm
2311
... And the reason it is not good is because...? ... I'm not sure why passing in a restaurant instead of the RestaurantRepository would help. The application...
Chris Richardson
cer
Offline Send Email
Jun 6, 2005
6:21 pm
2312
I’ve found that in most cases where I wanted to have an entity call a repository that I could solve it by having the entity raise an event, which would be...
Udi Dahan
udidahan7
Offline Send Email
Jun 6, 2005
7:12 pm
2313
... Because Services and Repositories are a layer above the Entities, or so I am told. ... I think I misunderstood the query the first time around....
Rex Madden
rexmadden
Offline Send Email
Jun 6, 2005
7:16 pm
2314
Actually, .NET does have spring: http://www.springframework.net It's not as far along as the java version, obviously, but it's still pretty functional. -...
Griffin Caprio
griffincaprio@...
Send Email
Jun 6, 2005
8:22 pm
2315
Is calling a Repository from a Specification ok, and are specifications at the same level as Repositories? If so can why can I use specifications form entities...
Roni Burd
roniburd
Offline Send Email
Jun 6, 2005
9:48 pm
2316
Roni, Could you elaborate on how you use repositories in entities to do validation? Steve ________________________________ From:...
Molitor, Stephen L
steve_molito...
Offline Send Email
Jun 6, 2005
9:56 pm
2317
... I believe it is perfectly OK to have Specifications to be associated with Entities. The are (Specifications) domain concepts, after all. I'll give a small...
Dmitriy Kopylenko
dima767
Offline Send Email
Jun 7, 2005
12:23 am
2318
Actually I’m not even sure I’m using them correctly, hence my questions. Since I started the project I believe I could have done the validation with ...
Roni Burd
roniburd
Offline Send Email
Jun 7, 2005
12:46 pm
2319
I make a clear distinction between a Repository and a DAO. A Repository is a model elements that exposes a public interface for working with a Context Root,...
Jeff Lowe
jefflowe7
Offline Send Email
Jun 7, 2005
3:51 pm
2320
... In my mind, DAO and Repository are synonymous. This became clear to me when I studied the TradeOrderRepository collaboration diagram in figure 6.21 on page...
cyboc
Offline Send Email
Jun 7, 2005
4:07 pm
2321
On page 155 it says "The REPOSITORY will delegate to the apropriate infrastructure services to get the job done". The DAOs are the infrastructure services. ...
Jeff Lowe
jefflowe7
Offline Send Email
Jun 7, 2005
4:42 pm
2322
... I interpreted "infrastructure services" to mean something like Spring-JDBC, raw JDBC, Ibatis SQL maps or Hibernate (in which case the SQL passed is...
cyboc
Offline Send Email
Jun 7, 2005
4:59 pm
2323
... implementation of _TradeOrderRepository_ that doesn't need a database (e.g. contains a Map of trackingIDs and TradeOrders). As long as it returns an...
Jeff Lowe
jefflowe7
Offline Send Email
Jun 7, 2005
5:25 pm
2324
... Okay. I think I see where you are coming from too. :-) ... As an aside, I just want to mention that I recently started making interfaces for just about...
cyboc
Offline Send Email
Jun 7, 2005
6:05 pm
2325
... I have not read Rod's book, but my own way of practicing TDD is usually to try and write a (failing) test first. Cheers Shane Shane Mingins ...
Shane Mingins
shanemingins
Offline Send Email
Jun 7, 2005
6:31 pm
2326
Yes, that is step 2 in Rod's "recipe" for TDD (step 1 is defining the interface). Anyway, I really recommend that any enterprise Java developer read Rod's...
cyboc
Offline Send Email
Jun 7, 2005
6:37 pm
2327
I believe that Repositories live ini the "lower" part of the domain layer, i.e. near boundary of the domain and persistence layers. And I believe it is...
Stafford, Randy
randalparker...
Offline Send Email
Jun 7, 2005
7:54 pm
2328
Hi all, Yes, my internal visualization is of free floating domain object collaborating in networks and making use of Repository resources, visually below or...
Tom Evans
tce_55436
Offline Send Email
Jun 8, 2005
5:16 pm
2329
Lately I've been playing with Smalltalk a lot, and have taken to the habit of having a classes repository as a class instance variable so I can find any...
Ramon Leon
gnaritas2002
Offline Send Email
Jun 8, 2005
5:38 pm
2330
Ah, Smalltalk. Thanks, Ramon. That's a good use of (meta)class instance variables and a good example of something that can only be crudely simulated, at...
Stafford, Randy
randalparker...
Offline Send Email
Jun 8, 2005
6:03 pm
2331
Currently, the repository is specific to the type of object it contains, to allow a place to put specialized query methods, but it gets most of it's behavior...
Ramon Leon
gnaritas2002
Offline Send Email
Jun 8, 2005
6:14 pm
Messages 2302 - 2331 of 15986   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