Enterprise Java Servlets (Paperback) (企業 Java Servlet)
Jeff M. Genender
- 出版商: Addison Wesley
- 出版日期: 2001-09-04
- 定價: $1,400
- 售價: 5.0 折 $700
- 語言: 英文
- 頁數: 464
- 裝訂: Paperback
- ISBN: 020170921X
- ISBN-13: 9780201709216
-
相關分類:
Java 程式語言、Java 相關技術
立即出貨(限量) (庫存=4)
買這商品的人也買了...
-
$99Oracle Web Applications: PL/SQL Developer's Introduction (Paperback)
-
$490JavaServer Pages (Paperback)
-
$725Java Server and Servlets: Building Portable Web Applications (Paperback)
-
$1,830$1,739 -
$399Building Java Enterprise Systems with J2EE (Paperback)
-
$1,860$1,767 -
$399Developing Java Servlets: Web application with servlets ad JSP, 2/e (Paperback)
-
$1,248C++ in Action: Industrial-strength Programming Techniques (Paperback)
-
$675HAVi Example By Example: Java Programming for Home Entertainment Devices (Paperback)
-
$1,430$1,359 -
$2,210$2,100 -
$1,680$1,596 -
$399Applied .NET: Developing People-Oriented Software Using C#
-
$875XML.NET Developer's Guide
-
$399Effective Visual Studio .Net
-
$399.NET Enterprise Development in VB.NET: From Design to Deployment (Paperback)
-
$680$537 -
$1,320Enterprise JavaBeans Component Architecture: Designing and Coding Enterprise App
-
$299Java 2 Micro Edition (Paperback)
-
$2,010$1,910 -
$1,430$1,359 -
$399.NET Programming: A Practical Guide Using C# (Paperback)
-
$1,870$1,777 -
$299Enterprise JavaBeans, 4/e (Paperback)
-
$550$435
相關主題
商品描述
Learn to design and build a base enterprise servlet. Create an architecture that makes your enterprise applications run faster and more reliably.
Java™ servlets are rapidly replacing CGI as the tool of choice for creating interactive applications for the enterprise market. Using the Java programming language's servlet technology speeds up the application development process, freeing developers from the need to make platform-specific modifications. Servlet technology is reliable, employs reusable components, and ensures high performance in the demanding enterprise and e-commerce markets.
Enterprise Java™ Servlets anticipates common issues and provides new development methods, extensive sample code, and case studies. The book is based on a battle-tested base servlet architecture that the author and his team created while repairing a workflow application for clients. Jeff noticed that many corporations and development shops ran into the same problems and pitfalls time and time again. This book chronicles Jeff's experiences creating a servlet-based architecture, which helps avoid issues that are continually encountered and provides for rapid application development in the enterprise. The type of architecture presented here eliminates the need to code servlets from scratch and automatically provides each servlet with access to all the new features and solutions added to the base servlet. This type of single-servlet approach results in a single, consistent application that is easy to migrate to production and extend to new applications.
You'll find expert coverage of various topics, including:
- HTML development in servlets
- How templates assist in content management
- Pool objects that streamline the use of objects and database connections in a Web environment
- Integrating LDAP into a Java servlet application
- Dynamic image generation and pluggable security models for servlets
- Multiple applications running on a single server and the effect on session, component, and application variables
Geared to developers who have a working knowledge of servlet development, this book provides the base servlet architecture--complete with extensive code samples and numerous case studies--that you can build on when writing enterprise applications. Using base servlet architecture removes the drudgery of developing servlets, so you can concentrate on business needs.
The accompanying CD-ROM includes code examples, as well as Windows and UNIX versions of JRun, ServletExec, and Apache Tomcat Servlet Container.
Table of Contents
Foreword.
Preface.
1. Introduction to Enterprise Servlets.
Registering Servlets with the Servlet Container.
What You Need.
The Base Enterprise Servlet.
Base Enterprise Servlet Basics.
Implementation of a Base Servlet.
The HttpMethod Class.
The ConfFile Class.
The MethodList Class.
Sample Application.
Summary.
Chapter 2. AppContext: Managing Applications.
The AppContext Object.
Restructuring the BaseEnterpriseServlet.
The Two Application Example.
Forcing Uniqueness Across Applications—AppManager.
Summary.
Chapter 3. Forms, State and Session Management.
Packaging the Query with GET and POST.
HTTP Forms and Enterprise Servlets.
Form and HTML Development in the Enterprise.
Maintaining State with Sessions in the Enterprise.
The Enterprise Session.
Session and Form Example with Multiple Applications.
Summary.
Chapter 4. HTML with Templates.
Developing a Template Engine.
Templates with Enterprise Servlets.
Nesting Templates.
Making It Scream—Caching Templates.
Integrating the Template Objects and Cache into Enterprise Servlets.
into Enterprise Servlets.
Using the Template Cache in Enterprise Servlets.
Summary.
Chapter 5. Logging and Error Handling.
The Components of a Standardized Log File.
The EnterpriseLog Object.
A Logging Example.
Error Handling.
Logger Application with Error-Handling.
Summary.
Chapter 6. Security.
Web Authentication.
Customizing Web Authentication.
Example Using Pluggable Security Components.
Form-Based Authentication.
Summary.
Chapter 7. Pools.
Using Pools in Web Development.
Using the Pool Object.
Using the Pool: An Example.
The Pool Anomaly.
Using the PoolList and PoolObjectManager: An Example.
Summary.
Chapter 8. Database Connectivity.
JDBC Statement and ResultSet Objects.
The PreparedStatement and CallableStatement Objects.
Transactions.
Closing the Connection.
Managing the Connection in a Server Environment.
Understanding Connection Management.
Building Connection Management.
The SQLCursor Object.
The DBConnection Object.
Using the Connection Management Objects.
Database Pooling with the Connection.
Management Objects.
Making the DBConnectionPool Object Easier to Create.
The DBPoolParser Object.
Using the DBPoolParser in Enterprise Servlets.
Summary.
Chapter 9. LDAP Connectivity.
How LDAP Works.
Advantages and Disadvantages of LDAP.
LDAP with Java: The JNDI.
Searching LDAP for Values.
Sorting Results.
Adding and Removing an Entry.
Modifying Attributes Within an Entry.
Closing the LDAPContext Object.
LDAP Considerations in a Server Application.
Building the LDAP Connection Management Objects.
The LDAPConnection Object.
Using the LDAP Connection Management Objects.
The LDAPConnectionPool Object.
Putting the Connection Management Objects to Use.
Summary.
Chapter 10. Dynamic Graphics.
Handling Image Types.
Dynamic Images.
Memory Management.
Pooling Memory Buffers.
Random Pie Chart Example.
Summary.
Chapter 11. Using JSP with Enterprise Servlets.
JSPs with Servlets.
Releasing BaseEnterpriseServlet's Grip on AppContext.
Tapping into the Enterprise Servlet.
A Quick Look at the Java Tag Library.
Bridging the JSP to the Enterprise Servlet.
Using the ESBridge Tag Library.
Accessing the EnterpriseSession Object.
Handling Errors.
Summary.
Chapter 12. Taking Enterprise Servlets Further.
Enhancements for the Reader.
The Template Engine.
The Database and LDAP Pools.
Administrative Tool.
Pager or Email Monitor.
Anything You Want.
Bibliography.
Index.
商品描述(中文翻譯)
學習設計和構建基礎企業servlet。創建一個架構,使您的企業應用程序運行更快、更可靠。
Java™ servlet正迅速取代CGI,成為創建企業市場互動應用程序的首選工具。使用Java編程語言的servlet技術可以加快應用程序開發過程,使開發人員不需要進行特定平台的修改。servlet技術可靠,使用可重用組件,在要求嚴格的企業和電子商務市場中保證高性能。
《企業Java™ Servlets》預見了常見問題,並提供了新的開發方法、大量的示例代碼和案例研究。該書基於作者和他的團隊在修復工作流應用程序時創建的經過實戰驗證的基礎servlet架構。Jeff注意到許多公司和開發商一次又一次地遇到相同的問題和陷阱。本書記錄了Jeff創建基於servlet的架構的經歷,幫助避免不斷遇到的問題,並實現快速的企業應用程序開發。這種架構的類型消除了從頭開始編寫servlet的需要,並自動為每個servlet提供對基礎servlet添加的所有新功能和解決方案的訪問權限。這種單一servlet的方法產生了一個一致的應用程序,易於遷移到生產環境並擴展到新的應用程序。
您將找到各種主題的專家覆蓋,包括:
- 在servlet中進行HTML開發
- 模板如何協助內容管理
- 池化對象,簡化Web環境中對象和數據庫連接的使用
- 將LDAP集成到Java servlet應用程序中
- 動態圖像生成和可插入的servlet安全模型
- 在單個服務器上運行多個應用程序對會話、組件和應用程序變量的影響
本書針對具有servlet開發工作知識的開發人員,提供了基礎servlet架構,包括大量的代碼示例和多個案例研究,供您在編寫企業應用程序時構建。使用基礎servlet架構可以消除開發servlet的繁瑣工作,讓您專注於業務需求。
附帶的CD-ROM包含代碼示例,以及JRun、ServletExec和Apache Tomcat Servlet容器的Windows和UNIX版本。
目錄:
- 前言
- 前言
- 第1章 企業servlet介紹
- 第2章 AppContext:管理應用程序
- 第3章 表單、狀態和會話管理