Home > Store

IBM WebSphere: Deployment and Advanced Configuration

Register your product to gain access to bonus material or receive a coupon.

IBM WebSphere: Deployment and Advanced Configuration

Premium Website

  • Sorry, this book is no longer in print.
Not for Sale


  • Copyright 2005
  • Edition: 1st
  • Premium Website
  • ISBN-10: 0-13-146862-6
  • ISBN-13: 978-0-13-146862-7

IBM WebSphere is IBM's flagship application server and competes directlywith BEA WebLogic. This book is a great companion volume to Brown etal's'Enterprise Java Programming with IBM WebSphere, 2e'. Brown's bookcovers the programming model while this book covers the deployment andadministrative model.


Source Code

Download the Source Code related to this title.


Related Article

Creating Accessible Sites with IBM aDesigner

Author's Site

Visit the Author's Web Site related to this title.

Sample Content

Online Sample Chapter

IBM WebSphere Session Management

Downloadable Sample Chapter

Download the Sample Chapter related to this title.

Table of Contents



1. Introduction.

    Who Should Read This Book.

    Why Concentrate So Much on Deployment?

    How This Book Is Organized.

    Introduction to WebSphere.


2. J2EE Applications.

    Understanding J2EE and J2EE Applications.

    J2EE Packaging.

      EAR File.

      Deployment Descriptors.

      EAR Deployment Descriptors.


3. WAS Quick Start.

    Overview of Applications Used Throughout This Book.

    WAS Deployment Quick Start.

      Configuring a File Sample Security Registry.

      Deploying Applications to WAS.

      Verify Deployment.


4. Build and Deploy Procedures.

    Procedures Matter.

      Development and Build Terminology.

    Build and Deployment Models.

      Assemble Connection Model.

      Assemble Export Model.

      Assemble Server Model.


      Build Automation.

      Deployment Automation.

      Combining Build and Deployment Automation.

      Configuration Automation.

      Adding Configuration Automation to Build and Deploy Automation.


5. WebSphere Application Server Architecture.

    Runtime Architecture.

      Application Clients.

      Administration Clients.

      WebSphere Architecture Terms.

      WAS Resource Scope.

      Classloaders in WebSphere.

      JNDI in WAS.

      Logging and Tracing in WAS.



6. J2EE Web Applications and the Web Container.

    J2EE Web Application Technologies.


      Java Server Pages.

      Filters and Life-Cycle Listeners.

    J2EE Web Application Characteristics.

      HTTP Session.

    WAS Web Container.

      Web Container Components.

    Web Application Descriptors and Packaging.

      Web Deployment Descriptors.

      Packaging Web Application in WAR Files.


      Examining the Build Scripts.

      Running the Build Process.


7. JDBC as a Resource.

      JDBC and J2EE Services.

    Resource References.

      JDBC Object Types.

      JDBC Provider/Driver.

      JDBC Data Source.

      JDBC Connection.

      JDBC Connection Pool.


      JDBC Isolation Levels.

      J2EE Connector Architecture.

      Resource Adapter.


      Examining JDBC wsadmin Scripts.

      Running the Build and Deployment Process.


8. J2EE Connector Architecture.

    J2C Architecture.

      J2C Resource Adapters.

      J2C System Contracts.

      J2C Common Client Interface.

    WAS J2C Implementation.

      WebSphere Relational Resource Adapter.

      CICS Resource Adapter.


9. Enterprise JavaBeans.

    Introduction to Enterprise JavaBeans.

      Enterprise JavaBean Types.

      Enterprise JavaBean Elements.

    Enterprise JavaBean Deployment with WAS.

      Enterprise JavaBean Module.

      Build and Deployment Analysis.


10. CMP and Advanced EJB Settings.

    Understanding CMP 2.0.

      Abstract Schema.

      Container Managed Relationships.

      EJB Query Language (EJB-QL).

    WebSphere Persistence Architecture.

    Bean and Data Caching.

      Configuring the Bean Cache.

      Configuring Entity Bean Cache Options.

      Configuring EJB Data Cache.

      Distributed Cache Synchronization.

    Dealing with Isolation Levels in CMP.

      Access Intent.

      Application Profiling.

    Schema Mapping.

     So Why Does the Deployer Care?



11. Transactions with WebSphere Application Server.

    Introduction to Transactions.

      ACID Properties.

      Transactional Scope.

      Distributed Transactions.

    J2EE Applications and Transactions.

      J2EE Transaction Model.

      Using Transactions.

    WebSphere Application Server Transaction Manager.

      WebSphere Transactional Enhancements.

    Distributed Transaction Failure Recovery.

      Advanced Recovery Considerations.

    Transaction Performance.

    Transaction Troubleshooting.


12. JMS and Message Driven Beans.

    Understanding JMS and Message Driven Beans.

      Understanding Messaging.

      Java Messaging Service.

      Transactional Behavior in JMS.

    JMS in WebSphere Application Server.

      JMS Providers.

      Message Driven Beans.

      Message Driven Bean Configuration.

      JMS Security.


      Defining JMS Configuration with wsadmin.

      Run the Build Deployment Process.


13. Other Resources.

    URL Resources.

      URL Resources and Properties Files.

      Creating a URL Resource with wsadmin.


      Mail Providers.

       JavaMail Tips.

      Creating a Mail Session with wsadmin.


14. Client Applications.

    What Is a “Client Application?”.

      Types of WAS-Supported Client Applications.

      Client Application Examples.

    WAS Application Clients CD.

    J2EE Clients.

      J2EE Client Packaging.

      J2EE Clients and Resources.

      Running J2EE Clients.

    Thin Clients.

    Pluggable Clients.

    Applet Clients.

    ActiveX Clients.



15. Advanced Considerations for Build.

    Application Packaging.

      Understanding J2EE Packaging.

      Sharing Common EJBs.

      Sharing Utility Code.

    Verification in Large Development Environments.


16. Ideal Development and Testing Environments.

    Ideal Development Environments.

    Environment Stages.

      Development Environment.

      Development Integration Runtime.

      System Test.

      Performance/Load Test.



    Process Matters.


      Load Tools.

      Application Monitoring.


    Reducing Costs.

      Pre-Production Staging.

      System Test.

      Performance Test.

      Development Integration Test.


17. JMX in WebSphere Application Server.

    An Introduction to JMX.

      Instrumentation Layer.

      Agent Layer.

      Distributed Services Layer.

    JMX in WebSphere Application Server.

      WAS MBeans via the MBeanInspector.

      wsadmin MBean Access.

      Writing Java Clients to Access MBeans.

    Custom MBeans in WAS.

      MBean Security.

      JMX in WAS-Network Deployment.

      JMX Communication in WAS.


18. Security.

    Why Security?

      Limits and Reality.

      Social Engineering.

    WAS Security Architecture.



      Advanced Considerations for Security Configuration.

    Hardening Security.

      Total System View–The Details Matter.

      Infrastructure-Based Preventative Measures.

      Application-Based Preventative Measures–Configuration.

      Application-Based Preventative Measures–Design/Implementation.



19. WebSphere Caching.

    Caching Opportunities.

    Caching Implications on Performance.

    Caching Static Files.

      Static File Handling.

      Browser Caching.

      Web Server Caching.

      WAS Plug-In Static Caching.

    Dynamic Caching.

      Dynamic Caching Options.

      Dynamic Caching Concepts.

    Planning for Caching.

    Caching Further Out.

      External Caches.

      Web Tier Dynamic Caching.

      Caching at the Edge.

    Advanced Caching Topics.

      Data Replication Service (DRS).

    Troubleshooting Caching Problems.



20. WAS Network Deployment Architecture.

    WebSphere Architecture Terms.





      Managed Processes.

    Runtime Architecture.

      Deployment Manager.

      Node Agent.

      Application Server.

       JMS Server.

      Administration Clients.

    Web Services Gateway.

      UDDI Registry.

      Edge Components.

    ND Cell Administration.

      Cell Creation.


      Persistent Namespace Bindings.

    Distributed Replication Service.

       DRS Concepts.

      DRS Topologies.

      DRS Configuration.


21. WAS Network Deployment Clustering.

    WebSphere Clustering Architecture.

      Hardware Clustering.

      WAS-ND Clustering.

      Web Container Failover.

      EJB Container Failover.

      Weighted WLM.

    Creating WebSphere Application Server-ND Clusters.

    Application Installation and Maintenance.

      Application Deployment Considerations.

      Application Installation.

      Application Maintenance.

    Hardware Clustering and WAS-ND.

    Other Components.


      Database Server.

      LDAP Server.

    WAS-ND Administrative Runtime.

      Node Agent High Availability.

      Deployment Manager High Availability.


      More Cells Increase Availability.


22. Session Management.

    Introduction to HTTP Session.

    Session Tracking.


      URL Rewriting.

      SSL ID Tracking.

    The Session API.

    WAS Session Management Configuration.

      Local and Distributed Session Options.

      Distributed Sessions.

      Session Tuning and Troubleshooting.


23. WebSphere Edge Components.

    Edge Topology.

    Edge Devices.

      Load Balancers.

      Proxy Server.

    WebSphere Edge Components Review.

      Load Balancer.

      Caching Proxy.

    WebSphere Edge Components Implementation.

      Load Balancer.

    Topology Patterns on the Edge.


V. Problem Determination and Server Tools.

24. Problem Determination.

    Problem-Solving First Steps.

      Problem Definition.

      Understand the Problem.

      Problem Validation.

      Environment Validation.

      HTTP Server Problem Determination.

      Elsewhere Around the Infrastructure.

    WAS General Problem Determination.

      Console Messages.

      WAS Logs.

    Active WAS Problem Determination.

      WebSphere Support and Related Utilities.

    When All Else Fails.

      Reproducing the Problem.

      Building a Team.

    Problem Determination Tools.

      Power Tools.

      WAS Minor Tools.

    Problem Prevention.


25. Performance Tuning Tools.

    WAS Performance Monitoring Infrastructure.

      Enabling PMI.

    WebSphere-Supplied PMI Clients.

      Performance Monitoring Servlet.

      Tivoli Performance Viewer.

      PMI Request Metrics.

    Performance Advisor.

      Runtime Performance Advisor.

    Other Performance Tools.

      WebSphere Thread Analyzer.

    WebSphere Request Queues.

    Performance Tuning in Practice.

      Step 1–Construct a Throughput Curve.

      Step 2–Test with the Performance Advisor.

      Step 3–Validating the TPV Suggested Changes.

      Step 4–Drill Down into Problem Components.

      Step 5–Tune the Runtime or Change the Application.

      Step 6–Repeat as Required.

    Other Performance-Tuning Scenarios.

      JVM Heap.


    Third-Party Tools.

      Load Generation Tools.

      Monitoring Tools.




    ANT Overview.

    WebSphere Application Server ANT Tasks.

      Common Attributes.

      Assembly Tasks.

      Deployment Tasks.

      Administrative ANT Tasks.

      Web Service ANT Tasks.

      WebSphere Studio ANT.


Appendix B. Deployment Checklist.




    Deployment Process.


Appendix C. Setup Instructions for Samples.

    Getting Products and Samples.

    Installing Software.

      WebSphere Application Server.

      Application Server Toolkit.

      WebSphere Studio Application Developer.

      DB2 Universal Database.

      Installing CVSNT.

    Setting Up Examples.

      Extracting WASDeployBook.zip.

      Setting Up WSTRADE Database.

      Viewing Source Code and Model Scripts in WebSphere Studio/ASTK.


Appendix D. Web Services Gateway Clustering.

    Web Services Gateway Overview.

    Web Services Gateway and Channel Installation.

    Web Services Gateway and Channel Configuration.

    Web Services Gateway Configuration Cloning.

    HTTP Server Plug-In Configuration.





Untitled Document

Just as there are two sides to every coin, there are two sides to each WebSphere project. And just as you can't have one side of a coin without another, you can't leave off one half of your WebSphere project and expect the other to succeed. I'm speaking, of course, about the two major roles involved in J2EE projects—not only application developers (or J2EE programmers) but also the role that's most often overlooked—the application deployer.

The bookshelves of any large bookstore will be well laden with books on how to develop code for J2EE application servers. In fact, most bookstores will have several that I've contributed to. It's easy for a developer to find a good, reliable source of information on how to do his job. However, that's not quite the case with a WebSphere deployer.

Why is this true? Well, I believe that one reason is that even though J2EE has always defined the different roles like deployer and system administrator, the emphasis has always been on the development role because it is the one that the authors and readers of the J2EE specs identify with the most.

This book is one of the first efforts to address this inconsistency. You see, the issue is that deployment is difficult—in many ways, planning and executing a successful application deployment is as difficult as developing the application itself. There are a myriad of issues to consider—is your topology sufficient to meet your application performance needs? Are both your network and applications secured from external intrusion and unauthorized internal access? Do you have a plan for managing upgrades to your application and to the software (application servers, databases, third-party libraries) on which your application depends? If you don't have the right answer for any of these questions, your application will not meet your user's needs, no matter how well it's written. Unfortunately, WebSphere system administrators and deployers often get the short end of the stick when educational resources are assigned. While it's often easy in many development shops to obtain authorization for a class on J2EE development, it's often harder to find a good class on administration and harder to justify the expense. Thus, there exists an urgent need for guides like the book you now hold.

This book is a wonderful resource; not only does it contain detailed instructions on how to carry out the real work of building and deploying applications, but more importantly, it also provides a wealth of information on best practices for application deployment.

I have immense respect for the authors of this book—they are the true experts in their field. When someone needs an answer on application security, topology design, or deployment, no group is more qualified to provide it than the authors assembled for this book. They've done a great job of capturing that knowledge here, and I'm sure you'll benefit from it. So sit back, grab a cup of coffee, and start reading—you'll find that the process of building and deploying your WebSphere applications will be better as a result.

Kyle Brown
Senior Technical Staff Member
IBM Software Services for WebSphere
Author of Enterprise Java Programming with IBM WebSphere, Second Edition

© Copyright Pearson Education. All rights reserved.


Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.


If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.


This site is not directed to children under the age of 13.


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020