title: Spring MVC 3 - Binding an 'immutable' object to a form
body: <p>I have several thoroughly unit-tested and finely crafted rich DDD model classes, with final immutable invariants and integrity checks. Object's instantiation happens through adequate constructors, static factory methods and even via Builders.</p>
  
  <p>Now, I have to provide a Spring MVC form to create new instances of some classes.</p>
  
  <p>It seems to me (I'm not an expert) that I have to provide empty constructor and attribute's setters for all form's backing classes I want to bind.</p>
  
  <p>So, what should I do ?</p>
  
  <p>Create anemic objects dedicated to form backing and transfer the informations to my domain model (so much for the DRY principle...) calling the appropriate methods / builder ?</p>
  
  <p>Or is there a mecanisms that I missed that can save my day ? :)</p>
  
  <p>Thank you in advance for your wisdom !</p>