What is backing bean ?

A JavaBeans component that corresponds to a JSP page that includes JavaServer Faces components. The backing bean defines properties for the components on the page and methods that perform processing for the component. This processing includes event handling, validation, and processing associated with navigation.

In the context of JavaServer Faces (JSF), a backing bean is a managed bean associated with a particular page or component in a web application. JSF is a Java web application framework that simplifies the development integration of web-based user interfaces.

A backing bean typically serves as a bridge between the user interface components on a JSF page and the application logic or data. It is responsible for handling user input, processing events triggered by the user, and managing the data associated with the page. The term “backing” implies that the bean is backing up the user interface components, providing the necessary functionality and data.

In summary, a backing bean in JavaServer Faces is a managed bean used to manage the interaction between the user interface components of a web page and the application logic or data.