ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Subject:   Not a good template for building a domain layer
Date:   2005-01-01 18:18:31
From:   wrschneider99
Response to: Not a good template for building a domain layer

I stand corrected on my original comment;
Hibernate does indeed let you persist private fields
, and this feature can be used to move business rules into the domain layer when appropriate.


Also, I have contributed to an XDoclet module to generate DTOs from metadata in the domain model, called XSnapshot.