How to Incorporate JavaBeans into Servlet-JSP Workflow

JavaBeans are incorporated into the servlet-JSP workflow by implementing a front controller MVC architecture, as shown earlier in Figure 16.2 Within MVC, JSP components, using JavaBeans and JSP tag libraries, generate all requests that generate user presentation. Little or no Java code is contained within JSP pages; instead, Java code is implemented within the supporting JavaBeans and/or JSP tag libraries. Within this model, JavaBeans provide non–business logic implementations that support JSP presentation. Also in this model, JavaBean implementations may request server-side services, which are processed by servlets functioning within the Controller layer. Servlets control or direct processing ...

Get BEA WebLogic Server™ 8.1 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.