J2EE™ Applications and BEA™ WebLogic Server™

Book description

  • Authoritative guidance and high-performance code—straight from BEA WebLogic's product team!

  • Step-by-step, example-rich coverage of every major J2EE API

  • Case study: Build a complete e-Commerce application from scratch

  • CD-ROM: Complete BEA WebLogic Server 6evaluation version, plus extensive code library

  • The insider's guide to J2EE development with the world's #1 Java application server—BEA WebLogic Server 6!

    BEA's WebLogic Server is the de facto industry standard for developing and deploying industrial strength Java E-commerce applications. This book delivers authoritative guidance for J2EE application development with the most powerful version of WebLogic ever: WebLogic Server 6. Authored by members of BEA's WebLogic project team, the book covers every aspect of real-world WebLogic J2EE development, from start to finish, through an industrial-strength case study application. You'll find coverage of all this, and more:

  • BEA WebLogic Server: Fundamental concepts and configuration techniques

  • Designing robust, high-performance J2EE applications—including detailed coverage of capacity planning and performance testing

  • Effective use of RMI and distributed naming

  • Building presentation logic with WebLogic Server servlets and JavaServer Pages

  • Using session, entity, and message-driven Enterprise JavaBeans

  • Interfacing with Internet Mail using WebLogic Server JavaMail

  • Establishing database connectivity with JDBC and implementing transactions with JTA

  • Developing security with WebLogic Server JNDI and the Java Authentication and Authorization Service (JAAS)

  • Packaging, deploying, and testing WebLogic Server applications

  • Ready to move from "Java programmer" to "expert enterprise developer"? You won't find a more useful tool than BEA WebLogic Server—or a more useful book than J2EE Applications and BEA WebLogic Server.


  • All code from the book, including a complete enterprise application

  • Complete evaluation version of BEA WebLogic Server Release 6

  • Bonus WebLogic Server tools and utilities

  • Table of contents

    1. Copyright
    2. Foreword
    3. Preface
    4. Introduction
      1. What Is BEA WebLogic Server?
      2. WebLogic Server Overview
      3. How to Use this Book
      4. System Requirements
    5. Overview of J2EE Technologies
      1. WebLogic Server and J2EE
      2. J2EE Technologies Covered in this Book
      3. Presentation Logic
      4. Database and Transaction Support
      5. Object Registry and Remote Method Invocation (RMI)
      6. Enterprise JavaBeans (EJBs)
      7. Java Message Service (JMS)
      8. JavaMail
      9. Security
      10. WebLogic Server's Distributed Deployment Support
      11. About WebAuction
    6. Building Presentation Logic with WebLogic Server Servlets
      1. Introducing WebLogic Server Servlets
      2. WebLogic Server JavaServer Pages (JSPs)
      3. Servlets and Web Sessions
      4. The Web Application Package
      5. Using Servlets with WebLogic Server Clustering
      6. Best Practices for Servlets
    7. Using WebLogic Server JavaServer Pages
      1. About WebLogic Server JSPs
      2. JSP Basics
      3. The Lifecycle of a JSP
      4. JSP Page Elements
      5. Using Java Beans with JSPs
      6. Custom Tag Libraries
      7. Error Pages, Comments, and Deployment Descriptors
      8. Using Servlets and JSPs Together: Model View Controller
      9. Best Practices for Debugging and Developing JSPs
      10. Best Practices for JSPs
      11. JSPs in the WebAuction Application
      12. Browsing the WebAuction Code
    8. Using Databases and Transactions with JDBC and JTA
      1. WebLogic Server JDBC
      2. Using the JTA Driver
      3. WebLogic Server and Distributed Transactions
      4. Error Handling and SQL Warnings
      5. Metadata
      6. Advanced Features
      7. Best Practices for JDBC
      8. JDBC and Transactions in the WebAuction Application
    9. Remote Method Invocation and Distributed Naming
      1. Remote Method Invocation
      2. Serialization
      3. Using RMI in Distributed Applications
      4. JNDI: Java's Naming Service
      5. JNDI, Security, and Identity
      6. JNDI and Clustering
      7. JNDI Best Practices
      8. Conclusion
    10. Enterprise Messaging with the Java Message Service (JMS)
      1. Benefits of JMS
      2. JMS Fundamentals
      3. Sample JMS Queue Producer/Consumer
      4. Sample JMS Topic Producer/Consumer
      5. JMS Messages
      6. Message Types
      7. JMS and Transactions
      8. Clustering JMS
      9. Exception Listeners
      10. Using Multicast JMS
      11. JMS Best Practices
      12. Conclusion
    11. Using Session Enterprise JavaBeans
      1. Enterprise JavaBeans Overview
      2. Basics of EJBs
      3. Stateless Session EJBs
      4. Stateful Session EJBs
      5. Using Transactions with Session Beans
      6. EJB Security
      7. EJB Environment
      8. EJB References
      9. Resource Manager References
      10. Handles
      11. Cars Example
      12. Best Practices
      13. Conclusion
    12. Entity EJBs
      1. Rationale for Entity EJBs
      2. Entity Bean Basics
      3. CMP Entity Bean Example
      4. CMP
      5. Container-Managed Entity Bean Lifecycle
      6. Introduction to CMRs
      7. Writing EJB-QL for CMP Finders
      8. BMP Entity Beans
      9. Advanced Topics for Writing Entity EJBs
      10. Entity Bean Inheritance and Polymorphism
      11. Entity Beans and Locking
      12. Using Read-Only Entity Beans
      13. Session Beans as a Wrapper for Entity Beans
      14. Using Java Beans as Value Objects
      15. BMP vs. CMP
      16. Conclusion
    13. Using Message-Driven EJBs
      1. Message-Driven EJB Basics
      2. Message-Driven EJB Example
      3. Message-Driven Beans and Concurrency
      4. Specifying a JMS Connection Factory
      5. Using Transactions with Message-Driven Beans
      6. Message Acknowledgment
      7. New Customer Example
      8. Message-Driven EJB Advantages
      9. Conclusion
    14. Interfacing with Internet Mail Using WebLogic Server JavaMail
      1. About Email
      2. About JavaMail
      3. Using JavaMail to Send Simple Email
      4. Adding Email Capability to the WebAuction Application
      5. Where to Find More Information on JavaMail and Internet Mail
      6. JavaMail Best Practices
    15. Developing Security with WebLogic Server JNDI and JAAS
      1. Security Technology Overview
      2. Creating Secure Web Applications
      3. Programming to the Caching Realm in Web Applications
      4. NewUser.jsp Example
      5. Developing Browser-Based Authentication
      6. Programmatic Security in Web Applications
      7. Developing Secure Application Clients
      8. Using WebLogic Server JNDI for Application Client Security
      9. About WebLogic SSL
      10. Web Clients: Using SSL Security
      11. Application Clients: Using SSL Security
      12. WebLogic Server Security Best Practices
      13. Putting It All Together
      14. Securing the WebAuction Application
    16. Designing the Production Deployment
      1. Designing for Deployment
      2. WebLogic Deployment Scenarios: Case Studies
      3. Types of Client Software
      4. Using a DMZ and Firewalls in a Web Deployment
      5. Integrating Web Deployments with Data Stores
      6. Using WebLogic Server Clustering in a Web Deployment
      7. Web Application Deployment Details
      8. Application Deployments
      9. Mixed Deployments
      10. Application Deployment Process
      11. Best Practices for Deploying WebLogic Server
    17. The WebAuction Application
      1. Application Architecture and Design: WebAuction
      2. Business Logic Design
      3. Changes Required for a Production Application
      4. Assembling the Application Components: WebAuction
      5. Quick Deployment of the WebAuction Application
      6. Deploying the WebAuction Application: In Detail
      7. Deploying the WebAuction on Another Database
      8. Testing the WebAuction Application
    18. Capacity Planning for the WebLogic Server
      1. Analysis of Capacity Planning
      2. Methodology and Metrics for Capacity Planning
      3. Capacity Planning Best Practices
    19. Index

    Product information

    • Title: J2EE™ Applications and BEA™ WebLogic Server™
    • Author(s): Michael Girdley, Rob Woollen, Sandra L. Emerson
    • Release date: August 2001
    • Publisher(s): Pearson
    • ISBN: 9780130911117