Skip to main content

Data Binding in Spring

  • Command Objects (aka Backing Beans) - Used to transfer data to and from web forms
  • Spring will automatically bind data of form posts
  • Binding done by property name (without the 'get' / 'set')

Ex. address.addressLine1 would bind to the addressLine1one of the address property of the PersonBean