I have got a web application which is speparated in a GUI (JSF 2.0, Orchestra, Spring) and service开发者_StackOverflow社区 (Spring, JPA, Hibernate,...) project. Due to network issues between the web s
This is more or less a general question and not about any specific ORM or language in particular:this question comes up regardless of your ORM preference.
I have a type that is constructed using information from various domain entities. The type itself is present because within some contexts in the system it is useful and meaningful to abstract away f
Should I test database constraints in my domain object? E.g. If the field in the database is varchar(500) and required, should I have a test for this in my code? Or should I just rely on a try/catch.
I have a data model(.edmx file),how can I use this file automatic generate a Domain model and a XML map by using entity framework tool?
Issue: For asp.net mvc apps, I ignore the domain folder and write the domain model in a separate library project.
Been watching some Greg Young videos lately and I\'m trying to understand why there is a negative attitude towards Setters on Domain objects开发者_开发技巧. I thought Domain objects were supposed to b
As I design the models for a domain, they almost always end up having some .IsSomething functionality on them.IsNew and IsDirty are common for data persi开发者_运维问答stence purposes, IsValid for bus
What is the difference between a domain 开发者_如何学Gomodel and a data model? A datamodel is a design model that only describes data and it\'s relations. The model contains entities, but they are des
In the context of DDD setters on a domain model are a code smell. They should be avoided for the simple reason that they are not really part of the domain. There are no nouns in it that a Domain Expe