A JavaBean is a Java object that satisfies below programming conventions:
- The JavaBean class must implement Serializable Interface
- The JavaBean class must have a no-arg constructor which should be public
- All JavaBean properties must have public Setter and Getter methods to set and get all bean properties.
- All JavaBean instance variables should be private and only accessible by Getter and setter.