title: Best practices question with Entities, service classes, and command objects
body: <p>Entity's are classes that map directly to our database (which we use for Hibernate).</p>
  
  <p>Our service classes contain business logic with these Entities before DAO is called.</p>
  
  <p>We also have Command Objects, which are POJO's that relate to specific views.  I've been told that the Entities themselves shouldn't be used as command objects, but the answer I was given for "why" wasn't sufficient.  I'm hoping someone here can give me that answer.</p>
  
  <p>Some of our views are incredibly simple.  They have no more properties than the entities themselves.  It seems pointless to me to map an entity to a command object which is basically a mirror image of the entity.</p>