When Should JSP Tag Libraries Be Created?

Supporting MVC design patterns, JSP tag libraries should be created to implement application presentation. The tag libraries should interface business objects such as JavaBeans, EJBs, or other generic Java objects required to implement application functionality. JSP tag libraries in conjunction with business objects should theoretically remove all Java code from presentation implementations. Logic previously implemented using scriptlets in individual JSP pages should be encapsulated within objects, and then interfaced via JSP tag libraries. Using the services of the business objects, the tag libraries process and format data for presentation. This construct provides for presentation units that are available ...

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.