O'Reilly logo

J2EE™ Applications and BEA™ WebLogic Server™ by Sandra L. Emerson, Rob Woollen, Michael Girdley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Best Practices for JSPs

There are a number of best practices that can enable your JSP-based applications to be as successful as possible:

Keep in Mind that JSPs Are Just Specialized Servlets

Actually, JSPs are a simplification of the servlet paradigm. However, that does not mean that you should not follow the same best practices noted in Chapter 3, Building Presentation Logic with WebLogic Servlets. By doing so, you can ensure that JSPs you build have the same level of scalability, reliability, and maintainability as the servlets we built in Chapter 3.

Encapsulate Complex Data and Logic in JavaBeans and Custom Tag Libraries

The goal of your JSP design should be to avoid having sensitive code be visible to your Web designers. In other words, you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required