You are previewing Java Server Pages from scratch.
O'Reilly logo
Java Server Pages from scratch

Book Description

JavaServer Pages From Scratch teaches beginning users about the many techniques involved in JavaServer Pages by building an online auction house with an events calendar. In addition to discussing the planning and designing of an application, the book will also cover development of forms, validating data, registering new users, servlets, sessions management, enterprise javabeans, cookies and wireless protocol.

Table of Contents

  1. Copyright
  2. About the Author
  3. Acknowledgments
  4. Tell Us What You Think!
  5. Introduction
  6. Planning and Designing a Web Application
    1. Why Plan?
    2. The Application Development Lifecycle
    3. Define Roles and Responsibilities
    4. Identify Tools, Software, and Platforms
    5. Define Guidelines
    6. Develop a Web Interface
    7. Summary
    8. Next Steps
  7. Developing a Monthly Calendar Using Java Server Pages
    1. What You Are Going To Do
    2. Using Apache Software Foundation's Tomcat Version 3.1
    3. Sketching Out the Online Calendar Using HTML Elements
    4. Generating Dynamic Content
    5. Includes Revisited
    6. Deploying the Application
    7. Summary
  8. Adding Interactivity to the Calendar Application
    1. The Calendar Application Version 1.1
    2. Developing the Input Page
    3. Enhancing the Monthly Calendar JSP
    4. Handling Exceptional Conditions
    5. Creating a Yearly Calendar
    6. Summary
    7. Next Steps
  9. Adding JavaBeans to Implement Functionality and Send Email
    1. What You Are Going To Do
    2. Introduction to JavaBeans
    3. Modifying the Calendar Application by Adding JavaBeans
    4. Composing the JSPs Using JavaBeans
    5. Sending Email from Within JSPs
    6. Next Steps
  10. Creating a Custom Tag Library for Displaying Errors and Sending Email
    1. What You Are Going To Do
    2. Incorporating Custom Tags
    3. Next Steps
  11. Accessing Databases to Create the Calendar of Events and Registration Module
    1. Getting Started with Using a Relational Database
    2. Adding Events to the Calendar
    3. Developing a Custom Tag Library for Database Handling
    4. Creating the Registration Module
    5. Performing Database Connection Pooling
    6. Next Steps
  12. Using the Model 2 Architecture to Develop an Auction Items Catalog
    1. The Web Application Model
    2. Developing the Database Schema for the Catalog
    3. Developing the Model or View-Helper JavaBeans
    4. Developing Command Beans for the Model
    5. Developing Controllers Using Servlets and JSPs
    6. Developing JSPs for the Presentation Layer
    7. Summary
  13. Developing Protected Portions of AuctionStation
    1. What You Are Going To Do
    2. Using Tomcat's HTTP Authentication
    3. Performing Custom Form-Based Authorization
    4. Performing Custom Authorization
    5. Summary
  14. Personalizing the Web Site
    1. Customizing the Calendar's Look
    2. Developing a Personal File Manager
    3. Managing Files in the Personal Space
    4. Developing MyAuctions, MyBids, and MySpace
    5. Connecting the Pieces
    6. Summary
  15. Developing Custom Views Using Java Applets
    1. What You Are Going To Do
    2. Introducing Java Plug-Ins
    3. Developing a Category Hierarchy View Applet
    4. Viewing the Information of a Selected Category
    5. Summary
  16. Developing Content for the Wireless World
    1. Why Develop for Wireless?
    2. Testing Wireless Applications
    3. Developing the Start Page
    4. Displaying the Monthly Calendar
    5. Developing the Auction Catalog Module
    6. Bidding on an Item
    7. WML Decks from Scratch?
    8. Deploying the Web Application on Another Server
    9. Summary
  17. Online Material and Information
    1. Cascading Style Sheets (CSS)
    2. Enterprise JavaBeans (EJB)
    3. JavaMail
    4. JavaScript
    5. Java Server Pages (JSP), JDBC, and Servlets
    6. Linux
    7. Wireless Access Protocol (WAP) and Wireless Markup Language (WML)
    8. eXtensible Markup Language (XML)
    9. eXtensible Stylesheet Language (XSL)
    10. Miscellaneous
  18. Index