What is databinding?
Databinding is simply associating a property of one Object (p1) with a property on another Object (p2) so that whenever the property p1 changes, the property p2 is updated to reflect that change, and vice versa. This is useful in GUI applications by automating the task of binding a UI component such as a JTextField with a data object such as a Customer object so that the text field displays the customer’s “name” property. Any updates to the text field will update the “name” property of the bean, and vice versa.