SPECIAL OFFER
Use code BACKTOLEARN during checkout to save 50% on books, eBooks, & videos. Shop now.
Register your product to gain access to bonus material or receive a coupon.
JavaServer Pages Developer's Handbook gives practical, in-depth implementation advice on building robust JSP applications. Learn how to use JSP within enterprise Java applications, and when working with databases and Enterprise JavaBeans. Incorporate JSP tag libraries and frameworks, including Struts, to simplify page construction. This book covers JSP 2.0 and Servlets 2.4 including the expression language, filters, and expanded support for XML in JSP applications.
Create custom tags to automate common functions, interact with Enterprise JavaBeans, and ensure security and reliability in JSP applications. The authors demonstrate transforming and presenting XML data, building Web Service applications, and deploying JSP applications using Jakarta Tomcat. At the end of the book, you¿ll build a complete working Web application incorporating many of the topics discussed.
JSP Syntax for J2EE Programmers
Introduction.
I. CORE JSP.
1. JSP, J2EE, and the Role of the Servlet.The Progression of Java and Web Applications. The Java 2 Enterprise Edition. Java Servlets. Installing Jakarta Tomcat. Creating Your First Web Application. Processing Form Data. Exception Handling in Java Servlets. Introducing the JavaServer Page. Web Application Scope. Summary.
2. The Basic Syntax of JSP.JSP Defined. Comments in JavaServer Pages. The Expression Tag. The Declaration Tag. Embedding Code. JSP Directives. JSP Predefined Variables. The JavaServer Pages Standard Tag Library (JSTL). Summary.
3. Further JSP Syntax.The Standard Actions. The JSP Expression Language (EL). Summary.
4. Deploying JSP in a Web Container.Configuring JSP in web.xml. The Web Container. The Web Application. Deploying Web Applications. Summary.
5. The JSP Standard Tag Library.The Need for Tag Libraries. Introduction to the Core Tag Library. Backwards Compatibility and Migrating from JSTL 1.0 to JSTL 1.1. Third-Party Tag Libraries. Summary.
6. JSP and JavaBeans.What Is a JavaBean? The Importance of Scope in a Web Application. Using JavaBeans from a JSP. Summary.
7. JSP Application Architecture.The Model 1 Architecture. The Model 2 Architecture. Which Architecture to Use? Introducing Frameworks. Jakarta Struts. JavaServer Faces. General Guidelines. Summary.
8. Session Tracking Using JSP.Using Cookies to Track Sessions. Interacting with Cookies from JSP. URL Rewriting. The Session Object. Keeping Track of Your Session Objects. Session Failover. Shopping Cart Mini Case Study. Summary.
9. Developing Custom Tag Libraries.Tag Extensions. Writing a Custom Tag. Tags That Interact. Summary.
II. XML,Web Services, and Enterprise JSP.
10. Utilizing XML from JSP.Introduction to XML. Parsing XML. Summary.
11. Transforming XML Using XSLT and XSLFO.Introduction to XSLT. Single Template Programming (Exemplar Approach). Declarative Template Programming. Applying Browser-Specific Transformations. Transformation Using XSLFO. Summary.
12. Invoking Web Services from JSP.Web Services Fundamentals. Introducing Apache Axis. SOAP-Interacting with Web Services. The Web Service Description Language (WSDL). Universal Description, Discovery, and Integration (UDDI). Summary.
13. Locating Resources Using JNDI.Naming and Directory Services. What Is JNDI? Using JNDI. JNDI and JSP. Summary.
14. Databases and JSP.JDBC Fundamentals. Accessing Databases Using the JavaServer Pages Standard Tag Library. Connection Pools. Content Caching. The Shopping Cart Mini Case Study. Enterprise JavaBeans and Database Access. Summary.
15. JSP and EJB Interaction.EJB Fundamentals. Anatomy of an EJB. Writing EJBs. Creating an Entity Bean. Session Beans. Creating a Session Bean. Web Application EJB Access Architecture. Summary.
16. Security and JSP.Security Requirements. The J2EE Security Model. Authentication. HTTPS Client Authentication and SSL. Programmatic Security. Security in J2EE Applications. Single Sign On. Summary.
17. Personalization and Web Applications.Introduction to Personalization. A Personalized Application Example. Rule-Based Personalization Engines. Summary.
18. Case Study.Introduction to the Case Study. Case Study Architecture. Case Study Implementation. Summary.
III. APPENDIXES.
Appendix A. An XSLT and XPATH Checklist.XSLT Checklist. XPATH Checklist.
Appendix B. An Overview of XML Schema.Tag Library URIs. Core Actions. XML Actions. Internationalization Actions. SQL Actions.
Appendix D. Basic JSP Syntax Checklist.JSP Directives. Comments in JSPs. JSP Predefined Variables. The JavaServer Pages Standard Tag Library. The JSP Expression Language. Standard Actions. Adding Java Code to JSPs.
Appendix E. Debugging Tomcat and Running the Examples.Debugging Web Applications and Tomcat. General Debugging Tips.
Appendix F. The Java Community Process.Why Do We Need the Java Community Process? Who Is Involved? How Does a New JSR Evolve?
Appendix G. J2EE Application Servers.What to Look for in a Server.
Appendix H. Configuring Tomcat.The Configuration File server.xml.
Appendix I. Installing MySQL and WebLogic Server.MySQL. BEA WebLogic.
Appendix J. Glossary.