JSP and Java : The Complete Guide to Website Development
This is a step-by-step guide for professional developers on how to create a database-driven website using Java technologies. It shows how to integrate all the key technologies needed to deploy a succesful Java/JSP Website.
- Paperback | 544 pages
- 175.26 x 231.14 x 38.1mm | 1,020.58g
- 29 Oct 2001
- Pearson Education (US)
- Prentice Hall
- Upper Saddle River, United States
Table of contents
Preface. Acknowledgments. 1. The Web Takes Over. Introduction. Open Source Solutions. History of Java. Benefits of Java. Web Infrastructure. Java Web Site Overview. Summary. Coming Up Next.2. Creating the Web Infrastructure: The Apache Server. Introduction. The Operation of the Web Server. Background on Apache. Configuration File: httpd.conf. Testing the Apache Environment. Summary. Coming Up Next.3. Creating the Web Server Environment: The Database. Database in the Web Infrastructure. Background. Running PostgreSQL. Installing PostgreSQL. Configuring PostgreSQL. Using the JDBC Driver. Summary. Coming Up Next.4. Building the Java Web Site: The Tomcat Server. Introduction. Processing Environment. JSP Environment. Installation of Tomcat. Configuration Files. Interceptor Definitions. Summary. Coming Up Next.5. Making the Pieces Work: Integrating the Tomcat Server with Apache. Introduction. Web Application. Configuring Apache to Communicate with Tomcat/Jakarta. Pulling It All Together. Testing the Link of Apache to Tomcat. Recommendations. Locating Class Files for Resources. Summary. Coming Up Next.6. Java Server Pages. Introduction. Reason for Java Server Pages. Java Server Pages Development. How JSP Works. JSP Syntax and Usage. Element Syntax. Comments in JSP. Implicit JSP Objects. Directives. JSP Tags. Summary. Coming Up Next.7. Designing JSP Applications. Introduction. Application Components. Design Patterns. Summary. Coming Up Next.8. JSP Programming: A Basic Example. Introduction. Java Software Components: JavaBeans and Enterprise JavaBeans. Using JavaBeans with Java Server Pages. A JSP/JavaBeans Example. JSP Example: The Calendar JavaBean. JavaBeans versus Custom Tag Libraries. JSP Calendar: JavaBean Code. Using Custom Tags in JSP. Using a Custom Tag Library: The JSP Calendar Utility. JavaBeans or Custom Tag Libraries: Tips on Use. Summary. Coming Up Next.9. JSP in Practice: A Discussion Group System. Introduction. Discussion Group System: Application Description. Application Flow for the Message System. Technical Description of the Message System. Summary. Coming Up Next.10. JSP Development: JavaBeans Programming. Introduction. Organization of the Discussion Group System. Message System Application Flow. The Rest of the Story: JSP and JavaBeans Code Explained. Building Dynamic HTML Tables with JSP: The Posted Messages Page. Building the Dynamic Table. Performing Input with JSP: The Message Update Page. Summary. Coming Up Next.11. Database Access with JavaBeans. Introduction. Data Access Objects Description. Simple DAO: CategoryDAO. Database Utility Class: DBUtil. Complex DAO: Knowledge_baseDAO. Summary. Coming Up Next.12. Bringing It All Together: the Completed Application. Introduction. The Goal. Advantages of Using Multiple Servers. Apache and Tomcat Integration. Using Apache to Provide Login Authentication Services. Integrating with the PostgreSQL Database. Deploying the Discussion Group Application in Tomcat. Using ant with Tomcat Applications. Using Auto Deploy with Tomcat. Summary.Appendix A: The Tomcat 4.0 Server. Introduction. Tomcat 4.0 Architecture. Tomcat 4.0 Design Goals. Tomcat 4.0 Architectural Components. Tomcat 4.0 Components and Configurable Attributes. Tomcat 4.0 Configuring Components. Catalina Connectors.Appendix B: Enterprise JavaBeans Architecture. Enterprise JavaBeans Defined. EJB Architecture. EJB Implementation. EJBs and Transactions. Developing EJBs. Client Access. EJB Code Sample. When to Use EJBs. Over-Engineering with EJBs.Appendix C: JDBC API. JDBC Application Programmer Interface. PreparedStatement Class. Mapping SQL Data Types into Java. Transactions.Appendix D: Code Listings: Cal.java and TagCal.java. Cal.java. TagCal.java.Appendix E: Code Listing: KnowledgeBaseFacade.java. Appendix F: Knowledge_baseDAO.java. Index.
About Art Taylor
ART TAYLOR has over 17 years' experience in the computer industry working with a variety of server-side technologies, specializing in the development of enterprise database applications. He has worked extensively with Java and Web applications and is the author of JDBC Developer's Resource (Prentice Hall PTR) and numerous articles on Java technologies. Currently, he is a senior Java instructor for Sun Microsystems.