You are previewing Beginning JSP, JSF and Tomcat: Java Web Development.
O'Reilly logo
Beginning JSP, JSF and Tomcat: Java Web Development

Book Description

Start building Java-based web applications now, even if you're a complete newcomer to Java. Comprehensive and example-driven, Beginning JSP, JSF, and Tomcat: Java Web Development, Second Edition is all you need to develop dynamic Java-based web applications using JSP, connect to databases with JSF, and put them into action using the world's most popular open source Java web server, Apache Tomcat.

  • A comprehensive introduction to JavaServer Pages (JSP), JavaServer Faces (JSF), and the Apache Tomcat web application server

  • Key concepts made easy to grasp by numerous working examples and a walkthrough of the development of a complete e-commerce project

  • Written for professionals by a practicing Java web application professional and expert

Table of Contents

  1. Title
  2. Contents at a Glance
  3. Contents
  4. About the Author
  5. About the Technical Reviewers
  6. Chapter 1: Introducing JSP and Tomcat
    1. Installing Java
    2. Installing Tomcat
    3. What Is JSP?
    4. Hello World!
    5. Listing the HTML-Request Parameters
    6. Summary
  7. Chapter 2: JSP Elements
    1. Introduction
    2. Scripting Elements and Java
    3. Implicit Objects
    4. Directive Elements
    5. Summary
  8. Chapter 3: JSP Application Architectures
    1. The Model 1 Architecture
    2. The Model 2 Architecture
    3. Eclipse
    4. A Better Online Bookshop
    5. The E-shop Architecture
    6. Summary
  9. Chapter 4: JSP in Action
    1. JSP Standard Actions
    2. Comments and Escape Characters
    3. JSP’s Tag Extension Mechanism
    4. JSTL and EL
    5. Summary
  10. Chapter 5: XML and JSP
    1. The XML Document
    2. Defining Your Own XML Documents
    3. JSTL-XML and XSL
    4. JSP in XML Syntax
    5. Summary
  11. Chapter 6: Databases
    1. MySQL
    2. Database Basics
    3. SQL Scripts
    4. Java API
    5. DB Access in E-shop
    6. What about the XML Syntax?
    7. Possible Alternatives to MySQL
    8. Summary
  12. Chapter 7: JavaServer Faces 2.2
    1. The simplef Application
    2. The simplefx and simpleh Applications
    3. The JSF Life Cycle
    4. The JSF Tag Libraries
    5. Summary
  13. Chapter 8: JSF and eshop
    1. eshopf
    2. Using and Creating Converters
    3. Using and Creating Validators
    4. Creating Custom Components
    5. faces-config.xml
    6. Summary
  14. Chapter 9: Tomcat
    1. Tomcat’s Architecture and server.xml
    2. Directory Structure
    3. Logging the Requests
    4. Tomcat on Port 80
    5. Creating a Virtual Host
    6. HTTPS
    7. Application Deployment
    8. Summary
  15. Chapter 10: eshop*
    1. The eshop Application
    2. The eshopx Application
    3. The eshopf Application
    4. Summary
  16. APPENDIX A: The Web Page
    1. The WWW Network
    2. URLs, Hosts, and Paths
    3. XHTML vs HTML
    4. XHTML/HTML Elements
    5. HTML5
    6. HTML Documents
    7. Standard Attributes
    8. Event Attributes
    9. Tables
    10. Input Forms
    11. Lists
    12. Image Maps
    13. Cascading Style Sheets
    14. Using a Style Sheet to Implement Tabs
    15. JavaScript
  17. APPENDIX B: SQL Practical Introduction
    1. SQL Terminology
    2. Transactions
    3. Conventions
    4. Statements
    5. Reserved SQL Keywords
  18. APPENDIX C: Abbreviations and Acronyms
  19. Index