title: Is it a good idea to "migrate business logic code into our domain model"?
body: <p>I am reading Hibernate in Action and the author suggests to move business logic into our domain models (p. 306). For instance, in the example presented by the book, we have three entities named <code>Item</code>, <code>Bid</code>, and <code>User</code> and the author suggests to add a <code>placeBid(User bidder, BigDecimal amount)</code> method to the <code>Item</code> class.</p>
  
  <p>Considering that usually we have a distinct layer for business logic (e.g. <code>Manager</code> or <code>Service</code> classes in Spring) that among other things control transactions, etc. is this really a good advice? Isn't it better not to add business logic methods to our entities?</p>
  
  <p>Thanks in advance.</p>