BEA WebLogic Server™ 8.1 Unleashed
by Mark Artiges, Gupreet Singh Bhasin, Bernard Ciconte, Malcolm Garland, Saranathan Govindarajan, James Huang, Subramanian Kovilmadam, Kunal Mittal, Paul J. Perrone, Tom Schwenk, Steve Steffen
JSP Best Practices
To optimize scalability, maintainability, and deployability, implement a n-tier architecture (Model-View-Controller), separating presentation, application logic, and data archiving.
When implementing complex logic within your presentation layer, use JavaBeans rather than coding intensive scripting blocks. This model promotes code readability and maintainability by organizing application business logic into Java modules. In general, separate Java from your HTML.
Use appropriate include options. You should use the include directive unless you can justify using the include action. If business logic and other Java code are properly abstracted, use of the include directive should promote Java code reduction within your JSP page. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access