没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
•
Table of
Contents
• Examples
Java for the Web with Servlets, JSP, and EJB: A Developer's Guide to
J2EE Solutions
By Budi Kurniawan
Publisher: New Riders Publishing
Pub Date: April 12, 2002
ISBN: 0-7357-1195-X
Pages: 976
Java for the Web with Servlets, JSP and EJB is the one book you need to master Java
web programming. It covers all the technologies needed to program web applications
in Java using Servlets 2.3, JSP 1.2, EJB 2.0 and client-side programming with
JavaScript. These technologies are explained in the context of real-world projects,
such as an e-commerce application, a document management program, file upload and
programmable file download, and an XML-based online book project.
In addition to excellent content, this book includes licenses to two Java web
components from BrainySoftware.com. You receive a full license of the
Programmable File Download component for commercial and non-commercial
deployment. You are also granted to a license to deploy the author's popular File
Upload bean for non-commercial use, which has been licensed by the Fortune 500
company Commerce One and purchased by major corporations such as Saudi Business
Machine, Ltd. and Baxter Healthcare Corporation.
777
Copyright
About the Author
About the Technical Reviewers
Acknowledgments
Tell Us What You Think
Introduction
The Hypertext Transfer Protocol (HTTP)
System Architecture
Java 2, Enterprise Edition (J2EE)
Developing Web Applications in Java
Overview of Parts and Chapters
Part I: Building Java Web Applications
Chapter 1. The Servlet Technology
The Benefits of Servlets
Servlet Application Architecture
How a Servlet Works
The Tomcat Servlet Container
Six Steps to Running Your First Servlet
Summary
Chapter 2. Inside Servlets
The javax.servlet Package
A Servlet's Life Cycle
Obtaining Configuration Information
Preserving the ServletConfig
The Servlet Context
Sharing Information Among Servlets
Requests and Responses
The GenericServlet Wrapper Class
Creating Thread-Safe Servlets
Summary
Chapter 3. Writing Servlet Applications
The HttpServlet Class
The HttpServletRequest Interface
HttpServletResponse
Sending an Error Code
Sending Special Characters
Buffering the Response
Populating HTML Elements
Request Dispatching
Summary
Chapter 4. Accessing Databases with JDBC
The java.sql Package
Four Steps to Getting to the Database
A Database-Based Login Servlet
The Single Quote Factor
Inserting Data into a Table with RegistrationServlet
Displaying All Records
Search Page
An Online SQL Tool
Should I Keep the Connection Open?
Transactions
Connection Pooling
Summary
Chapter 5. Session Management
What Is Session Management?
URL Rewriting
Hidden Fields
Cookies
Session Objects
Knowing Which Technique to Use
Summary
Chapter 6. Application and Session Events
Listening to Application Events
Listening to HttpSession Events
Summary
Chapter 7. Servlet Filtering
An Overview of the API
A Basic Filter
Mapping a Filter with a URL
A Logging Filter
Filter Configuration
A Filter that Checks User Input
Filtering the Response
Filter Chain
Summary
Chapter 8. JSP Basics
What's Wrong with Servlets?
Running Your First JSP
How JSP Works
The JSP Servlet Generated Code
The JSP API
The Generated Servlet Revisited
Implicit Objects
Summary
Chapter 9. JSP Syntax
Directives
Scripting Elements
Standard Action Elements
Comments
Converting into XML Syntax
Summary
Chapter 10. Developing JSP Beans
Calling Your Bean from a JSP Page
A Brief Theory of JavaBeans
Making a Bean Available
Accessing Properties Using jsp:getProperty and jsp:setProperty
Setting a Property Value from a Request
JavaBeans Code Initialization
The SQLToolBean Example
Summary
Chapter 11. Using JSP Custom Tags
Writing Your First Custom Tag
The Role of the Deployment Descriptor
The Tag Library Descriptor
The Custom Tag Syntax
The JSP Custom Tag API
The Life Cycle of a Tag Handler
Summary
Chapter 12. Programmable File Download
Keys to Programmable File Download
Using the Brainysoftware.com File Download Bean
Summary
Chapter 13. File Upload
The HTTP Request
Client-Side HTML
HTTP Request of an Uploaded File
Uploading a File
FileUpload Bean
Multiple File Upload
Summary
Chapter 14. Security Configuration
Imposing Security Constraints
Allowing Multiple Roles
Form-Based Authentication
Digest Authentication
Methods Related to Security
Restricting Certain Methods
Summary
Chapter 15. Caching
Caching Data into a Text File
Caching in Memory
Summary
Chapter 16. Application Deployment
Application Directory Structure
Deployment Descriptor
Servlet Alias and Mapping
JSP Alias and Mapping
Packaging and Deploying a Web Application
Summary
Chapter 17. Architecting Java Web Applications
Model 1 Architecture
Model 2 Architecture
Summary
Chapter 18. Developing E-Commerce Applications
Project Specification
The Database Structure
Page Design
Preparation
剩余831页未读,继续阅读
yjxyj
- 粉丝: 0
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页