This question already has an answer here:
- Choosing the right Design Pattern 2 answers
I'm a little confuse how to create domain objects right. In all/most web application we have simple objects created from POST request. We need to create domain objects that we will use in deeper layers. How we should do this? What kind of pattern should be used? It is very general question but I've considered many patterns (factory, builder, mappers) and still have no good idea.