You are previewing Building Scalable and High-Performance Java™ Web Applications Using J2EE™ Technology.
O'Reilly logo
Building Scalable and High-Performance Java™ Web Applications Using J2EE™ Technology

Book Description

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 Web applications. It is unique in its focus on building efficient end-to-end solutions based on the widely adopted J2EE specification. Each of the relevant technologies is summarized and analyzed in terms of its scalability and performance implications. Special attention is also given to those parts of Web application design that extend beyond the J2EE specification, including strategies for efficient networking and database design.

Packed with general system architecture tips and balanced with succinct examples for each technology, this book allows you to focus on practical strategies for effective application design without getting overwhelmed with useless detail. As a result, you will quickly and easily be able to understand how to use J2EE technologies to build application systems that deliver scalability and high performance.

Coverage includes:

  • Essentials of Web application architecture

  • The J2EE standard

  • General techniques for building scalable and high-performance systems

  • The HTTP protocol, with special focus on features that maximize performance

  • Java™ Servlets and JavaServer Pages™ (JSP)

  • Enterprise JavaBeans™ (EJB)

  • Java™ Message Service (JMS)

  • Effective database design techniques

  • Efficient database management with JDBC™ and SQL

  • Essentials of Web Services, including XML, SOAP, WSDL, and UDDI

  • A CD-ROM with relevant source code from various chapters accompanies this book.



    0201729563B12172001

    Table of Contents

    1. Copyright
    2. Preface
    3. Scalable and High-Performance Web Applications
      1. The Emergence of Web Applications
      2. Performance and Scalability
      3. The Internet Medium
      4. Measuring Performance and Scalability
      5. Scalability and Performance Hints
      6. Summary
    4. Web Application Architecture
      1. Web Application Terminology
      2. Application Requirements
      3. Web Requirements
      4. Abstract Web Application Architecture
      5. N-tier Application Architecture
      6. Scalability and Performance Hints
      7. Summary
    5. The J2EE Specification
      1. Overview of the Specification
      2. Deployment Issues
      3. Platform Technologies and Services
      4. J2EE and Your Architecture
      5. Summary
    6. Scalability and Performance Techniques
      1. Caching and Replication
      2. Parallelism
      3. Redundancy
      4. Asynchrony
      5. Resource Pooling
      6. Summary
    7. HTTP Client/Server Communication
      1. The HTTP Protocol
      2. Deployment Paradigms
      3. HTTP Efficiency
      4. HTTP Details
      5. Scalability and Performance Hints
      6. Summary
    8. Request Processing
      1. The General Problem
      2. Specific Challenges
      3. Request-Processing Modes
      4. Request Processing and J2EE
      5. Scalability and Performance Hints
      6. Summary
    9. Session Management with Java Servlets
      1. Generating Dynamic Responses
      2. Using Servlets
      3. Developing Servlets
      4. Servlet Execution
      5. Servlets and Session Management
      6. Deploying Servlets
      7. Developing Servlets with JavaServer Pages
      8. Scalability and Performance Hints
      9. Summary
    10. Building Application Servers with Enterprise JavaBeans
      1. The Need for Application Servers
      2. Enterprise JavaBeans: The J2EE Solution
      3. How EJBs Work
      4. Types of EJB
      5. Sample Application
      6. EJB Design
      7. EJB Implementation
      8. Client/EJB Integration
      9. Scalability and Performance Hints
      10. Summary
    11. Messaging for Efficient Enterprise Application Integration
      1. A B2B-style Working Example
      2. The Java Message Service
      3. JMS Concepts
      4. JMS Programming Models
      5. JMS Reliability versus Performance
      6. A Sample JMS Pub/Sub Application
      7. Scalability and Performance Hints
      8. Summary
    12. Effective Database Design
      1. Database Technology and the Relational Model
      2. Logical Database Design
      3. Physical Database Design
      4. Querying a Database
      5. Other Important Database Objects
      6. Query Processing
      7. Scalability and Performance Hints
      8. Summary
    13. Using JDBC and SQL to Query Databases Efficiently
      1. How JDBC Fits In
      2. JDBC Concepts and Objects
      3. Writing JDBC Queries
      4. Beyond the Basics
      5. Scalability and Performance Hints
    14. Web Services: The Future of Web Applications
      1. Practical Use of Web Services
      2. What Exactly Is a Web Service?
      3. Web Services Technologies
      4. XML: Self-Describing Data
      5. Developing Web Services
      6. Describing Web Services with WSDL
      7. Invoking Web Services with SOAP
      8. Registering Web Services with UDDI
      9. The Big Picture
      10. Scalability and Performance Challenges
      11. Summary
    15. Suggested Reading