Home   FAQs   New Arrivals   Specials   Pricing & Shipping   Location   Corporate Services   Why Choose Bookware?  
 Search:   
Call our store: 9922 6266 (from within Sydney) or 1800 734 567 (from outside Sydney)
 View Cart   Check Out   
 
Browse by Subject
 Nepean TAFE 2012
I.T
 .NET
 Windows 7
 Adobe CS5
 Cisco
 CCNA 2012
 CCNP 2012
 Java
 VB
 ASP
 Web Design
 E-Commerce
 Project Management
 ITIL
 Macintosh
 Linux
 Windows Server 2008
 SAP
 Sharepoint 2010
Certification
 MCITP
 MCTS
Economics and Business
 Accounting
 Business Information Systems
 Economics
 Finance
 Management
 Marketing
 TAX
 Human Resources
Academic
 Law
 Nursing
 Medical

Enterprise Java Servlets

by: Jeff Genender

Notify me when in stock

On-line Price: $67.95 (includes GST)

Paperback w/ CD package 464

20%Off Retail Price

You save: $17.00

Usually ships within 3-5 business days. We will advise you if a delay or price change is expected.

Retail Price: $84.95

Publisher: ADDISON-WESLEY,7-Sep-01

Category: JAVA Level: N/A

ISBN: 020170921X
ISBN13: 9780201709216

Add to Shopping Cart

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.


          020170921XB08202001


  Features


                  Author Bio


      Jeff Genender has been specializing in Java servlet technology for more than six years. Currently affiliated with Savoir Technologies, he is a veteran consultant specializing in Java and Web development.


          020170921XAB08202001

Table of Contents

Foreword.

Preface.

1. Introduction to Enterprise Servlets.


  Developing Servlets and Servlet Containers.

Setting Up and Running Servlets.

Registering Servlets with the Servlet Container.

What You Are Going to Need.

The BaseEnterpriseServlet.

Single Servlet.

BaseEnterpriseServlet Basics.

Configuration File.


  Dispatch Service.

Implementation of a Base Servlet.


      Http Method.

ConfigFile.

MethodList.

Sample Application.

Summary.


      Chapter 2. AppContext--Managing Applications.


  The ConfigFile--Revisited.

The AppContext Object.

Restructuring the BaseEnterpriseServlet.

The Two Application Example.

Forcing Uniqueness Across Applications--AppManager.

Summary.


      Chapter 3. Forms, State and Session Management.


  HTTP Forms: A Review.


  The

Tag.

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.


  Standard Servlet Architecture and Sessions.


      The Enterprise Session.

Session and Form Example with Multiple Applications.

Summary.


      Chapter 4. HTML with Templates.


  Using Templates.


  JSP as a Template Engine.


      Developing a Template Engine.


  The HTML Template.

Templates with Enterprise Servlets.

Nesting Templates.


      Making It Scream--Caching Templates.


  Building the Template Cache.

Integrating the Template Objects and Cache into Enterprise Servlets.

Using the Template Cache in Enterprise Servlets.


      Summary.


      Chapter 5. Logging and Error Handling.


  Logging in a Servlet Engine.


  Anomalies of a Servlet Engine Log File.

The Components of a Standardized Log File.


      The Enterprise Log.


  Logging in Enterprise Servlets.

A Logging Example.


      Error Handling.


  The DefaultErrorHandler.

Logger Application Revisited with Error-Handling.


              Summary.

Chapter 6. Security.


  Types of Security.

Web Authentication Security.


  Under the Hood.

Customizing Web Authentication.

Example Using Pluggable Security Components.


      Form-Based Authentication.


  Integrating Form Based Security into Enterprise Servlets.


      Summary.


      Chapter 7. Pools.


  What Is a Pool?

Using Pools in Web Development.


  Base Pool Object.

Using the Pool Object.

Using the Pool: An Example.


      The Pool Anomaly.


  The PoolList and PoolObjectManager.

Using the PoolList and PoolObjectManager: An Example.


      Summary.


      Chapter 8. Database Connectivity.


  JDBC: A Quick Review.


  Loading the Driver and Connecting to the Database.

JDBC Statement and ResultSet.

The PreparedStatement and CallableStatement.

Transactions.

Closing the Connection.


      Managing the Connection in a Server Environment.

Understanding Connection Management.

Building Connection Management.


  The JDBCManager.

The SQLCursor.

The DBConnection.


      Using the Connection Management Objects.

Database Pooling with the Connection Management Objects.


  Using the DBConnectionPool.


      Making the DBConnectionPool Easier to Create.


  The NameValue Pair Object.

The DBPoolParser.


      Using the DBPoolParser in Enterprise Servlets.

Summary.


      Chapter 9. LDAP Connectivity.


  A Little History on LDAP.

How LDAP Works.


  Distinguished Names.

Advantages and Disadvantages of LDAP.


      LDAP with Java: The JNDI.


  Connecting to LDAP.

Searching LDAP for Values.

Sorting Results.

Adding and Removing an Entry.

Modifying Attributes Within an Entry.

Closing the LDAPContext.


      LDAP Considerations in a Server Application.

Building the LDAP Connection Management Objects.


  The LDAPManager.

The LDAPConnection Object.

Using the LDAP Connection Management Objects.


      The LDAPConnectionPool.

Putting the Connection Management Objects to Use.

Summary.


      Chapter 10. Dynamic Graphics.


  How a Browser Requests Images.

Handling Image Types.

Dynamic Images.

Memory Management.


  Creating Objects Is Your Worst Enemy.

Pooling Memory Buffers.


      Random Pie Chart Example.

Summary.


      Chapter 11. Using JSP with Enterprise Servlets.


  Is There a Preference?

JSPs with Servlets.


  JSP and Enterprise Servlets.

Releasing the Tight Grip on the 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 Enterprise Session.


  Using the Tag.

What About Error Handling?


      Summary.


      Chapter 12. Taking Enterprise Servlets Further.


  Web Server Startup in a Multiapplication Environment.

Enhancements for the Reader.

The Template Engine.

The Database and LDAP Pools.

Administrative Tool.

Pager or Email Monitor.

Anything You Want.


      Bibliography.

Index.