Simplifying JSP Pages with JavaBeans
One of the problems with writing JSP pages is switching between the Java code and the HTML elements. It is easy to get confused and place syntax errors in the page that can be difficult and time consuming to identify. Using EL, JSTL and JavaBeans on a JSP page can reduce the amount of embedded Java code that has to be written (or indeed remove the need for embedded Java code entirely). JavaBeans and the built-in support in EL for accessing JavaBean properties also help to separate out the presentation and logic components of your application, allowing HTML developers to lay out the Web pages and the Java programmers to develop supporting JavaBeans.
What Is a JavaBean?
A bean is a self-contained, reusable software ...