The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

dakbari (34) [Avatar] Offline
Hi Chris,

first of all many thanks for this wonderful book smilie

My first question is whether one can see the Repository classes like PendingOrderRepository as placeholder for DAO classes like say PendingOrderDAO?

Regards from Germany,
ceracm (113) [Avatar] Offline
Re: Repository placeholder for DAO?

I am glad that you like the book.

I am not sure what you mean by "placeholder" in this context.

In some ways the terms DAO and Repository are interchangeable: i.e. an interface + implementation class that accesses the database. However, the term repository is taken from Domain Driven Design and could be considered to have a slightly different meaning (or set of methods) within a domain model. Moreover, some folks in the Domain Driven Design community would argue that the repository class should invoke DAOs.

I hope this helps.

dakbari (34) [Avatar] Offline
Re: Repository placeholder for DAO?
I can live with the explanation smilie

Thanks a lot.

Message was edited by: