Book description
Servlets and JavaServer Pages™ is the first complete guide to building dynamic Java-based Web applications using the new JavaServer Pages 2.0 and Servlets 2.4. Servlets and JavaServer Pages (JSP) provide a robust solution to developing large, complex Web applications, including multiserver projects. In addition to built-in security, portability, and a Web server, they offer developers the freedom to work with any operating system that supports Java—be it Linux, Windows, OSX, or Solaris.
This authoritative book begins by explaining how to set up a Servlet and JSP development environment, including a discussion of containers, Java support, and installing and configuring Tomcat. The authors then thoroughly explore servlets and JSP, including significant coverage of custom tag libraries, newly available filters, and popular servlet and JSP design patterns. Readers can then test-drive the knowledge gained by constructing a book-support Web site.
Among the topics covered in-depth are:
Exception handling
JavaBeans and the new JSP Expression Language (JSP EL)
The JavaServer Pages Standard Tag Library (JSTL) and coding custom tag libraries
Filters
Error handling
Session and state management
Security
Design patterns, including Struts
Internationalization
Multiclient support
Database connectivity
The actual book-support site (www.jspbook.com) features frequently asked questions, working code examples, and references.
With Servlets and JavaServer Pages™ as their guide, readers will learn how to fully harness the power of these flexible Java technologies.
0321136497B05082003
Table of contents
- Copyright
- Preface
- 1. Setting Up a Servlet and JSP Environment
-
2. Java Servlets
- What Servlets Are and Why You Would Want to Use Them
- Servlet Life Cycle
- Servlets for the World Wide Web
- Coding an HttpServlet
- Servlet Configuration
- ServletContext
- Servlet Event Listeners
- Summary
-
3. JavaServer Pages
- JSP 2.0 Specification
- JSP Life Cycle
- The Difference Between Servlets and JSP
- JSP Syntax and Semantics
- Implicit Objects
- JSP in XML Syntax
- Summary
- 4. Exception Handling
- 5. JavaBeans and the JSP Expression Language
- 6. JavaServer Pages Standard Tag Library
-
7. Custom Tag Libraries
- Why Custom Tags?
- Tag Library Basics
- How Are Tags Being Used?
- New and Old Custom Tags
- Tag Library Descriptors (TLDs)
- Simple JSP 2.0 Custom Tags
- Classic JSP Tag Handlers
- Summary
- 8. Filters
- 9. Managing State in a Web Application
- 10. Security
- 11. Design Patterns
- 12. Internationalization
- 13. Multi-Client Support
- 14. Database Connectivity
-
15. Building a Complete Web Application
- Designing a Web Application
- Distributing the Workload: Dividing Up Who Does What
- Implementing Database Support: Creating a Database and Using JDBC
- Implementing Business Logic: Filters and the Model 2 Design Pattern
- Implementing Presentation Logic: JSP, Multi-Client Design, and Internationalization
- (in Japanese)
- Finishing the Site
- Summary
Product information
- Title: Servlets and JavaServer Pages™: The J2EE™ Technology Web Tier
- Author(s):
- Release date: September 2003
- Publisher(s): Addison-Wesley Professional
- ISBN: None
You might also like
book
J2EE™ Web Services
“ J2EE™ Web Services is written in the tradition of great books people have come to …
book
J2EE™ and JAX™: Developing Web Applications and Web Services
Learn J2EE and the JAX APIs for Web services and applications—all in one volume. The first …
book
Building Scalable and High-Performance Java™ Web Applications Using J2EE™ Technology
provides the concise roadmap Java developers and Web engineers need to build high-performance and scalable enterprise …
book
J2EE™ Platform Web Services
Build robust, scalable, end-to-end business solutions with J2EE™ Web Services. This is the definitive practitioner's guide …