| |
| |
Preface | |
| |
| |
The team that wrote this redbook | |
| |
| |
Comments welcome | |
| |
| |
| |
Overview of WebSphere Application Server V3.5 | |
| |
| |
| |
What is WebSphere Application Server? | |
| |
| |
| |
WebSphere Application Server architecture overview | |
| |
| |
| |
Standard Edition | |
| |
| |
| |
Advanced Edition | |
| |
| |
| |
Open standards | |
| |
| |
| |
What's new in WebSphere V3.5? | |
| |
| |
| |
Installation | |
| |
| |
| |
InfoCenter | |
| |
| |
| |
Migration | |
| |
| |
| |
Java 2 support | |
| |
| |
| |
Security | |
| |
| |
| |
New and improved administration tools | |
| |
| |
| |
New and improved connection pooling | |
| |
| |
| |
New Resource Analyzer | |
| |
| |
| |
New Log Analyzer | |
| |
| |
| |
New platform support | |
| |
| |
| |
New database support | |
| |
| |
| |
New Web Server support | |
| |
| |
| |
Conclusion | |
| |
| |
| |
WebSphere programming model | |
| |
| |
| |
Analysis of an example application | |
| |
| |
| |
Application components | |
| |
| |
| |
Control flow mechanisms | |
| |
| |
| |
Data flow sources | |
| |
| |
| |
Chapter summary | |
| |
| |
| |
WebSphere components | |
| |
| |
| |
WebSphere Administrative Server | |
| |
| |
| |
Application server | |
| |
| |
| |
What is an enterprise application? | |
| |
| |
| |
WebSphere administrative interfaces | |
| |
| |
| |
Servlet support | |
| |
| |
| |
What is a servlet? | |
| |
| |
| |
How servlets work | |
| |
| |
| |
WebSphere and servlets | |
| |
| |
| |
Writing a simple servlet example | |
| |
| |
| |
Deploying the example servlet under WebSphere | |
| |
| |
| |
Internal servlets | |
| |
| |
| |
JSP support | |
| |
| |
| |
Using JSP to present dynamic content | |
| |
| |
| |
The collaboration between form, servlet, and JSP | |
| |
| |
| |
Rapid development using JSP | |
| |
| |
| |
JSP life cycle | |
| |
| |
| |
Administering JSP files | |
| |
| |
| |
Batch compiling JSP files | |
| |
| |
| |
JSP 1.1 | |
| |
| |
| |
Configuring and running your JSPs | |
| |
| |
| |
Custom tag examples | |
| |
| |
| |
Session support | |
| |
| |
| |
V3.02.X vs. V3.5 overview | |
| |
| |
| |
Session feature overview | |
| |
| |
| |
Session performance considerations | |
| |
| |
| |
Alternatives to session support: cookies | |
| |
| |
| |
Servlet V2.2 in WebSphere V3.5.2 | |
| |
| |
| |
WebSphere support for Servlet API V2.2 | |
| |
| |
| |
Selecting Servlet V2.2 support | |
| |
| |
| |
Comparison of the Servlet API versions | |
| |
| |
| |
Multiple error pages | |
| |
| |
| |
Welcome file lists | |
| |
| |
| |
The Web Application Archive (WAR) | |
| |
| |
| |
Deploying an application from a WAR file | |
| |
| |
| |
Using JNDI to access LDAP | |
| |
| |
| |
What is JNDI? | |
| |
| |
| |
Naming concepts | |
| |
| |
| |
JNDI specifications | |
| |
| |
| |
JNDI sample application | |
| |
| |
| |
JDBC 2.0 support | |
| |
| |
| |
JDBC 2.0 Core API | |
| |
| |
| |
JDBC 2.0 Optional Extension API | |
| |
| |
| |
Administration of data sources | |
| |
| |
| |
Best practices for JDBC 2.0 data access with WebSphere | |
| |
| |
| |
Recovery from DB failures | |
| |
| |
| |
Reference information | |
| |
| |
| |
Enterprise Java Services | |
| |
| |
| |
Configuring Enterprise Java Services | |
| |
| |
| |
Installing an EJB into a container | |
| |
| |
| |
Stateless session beans | |
| |
| |
| |
Stateful session beans | |
| |
| |
| |
Container managed persistence (CMP) entity beans | |
| |
| |
| |
WebSphere EJB security | |
| |
| |
| |
Transactions | |
| |
| |
| |
Transaction basics | |
| |
| |
| |
Java and transactions | |
| |
| |
| |
Enterprise JavaBeans distributed transaction support | |
| |
| |
| |
EJB concurrency control | |
| |
| |
| |
Settings based on EJB usage | |
| |
| |
| |
Transaction exception handling | |
| |
| |
| |
WebSphere family interoperability | |
| |
| |
| |
Conclusion | |
| |
| |
| |
XML and WebSphere | |
| |
| |
| |
XML overview | |
| |
| |
| |
Using XML in WebSphere | |
| |
| |
| |
An XML example | |
| |
| |
| |
XML basics | |
| |
| |
| |
XML and Web browsers: XSL and CSS | |
| |
| |
| |
Programming with XML | |
| |
| |
| |
Summary | |
| |
| |
| |
Application deployment | |
| |
| |
| |
Samples we used | |
| |
| |
| |
Before configuration | |
| |
| |
| |
Create a virtual host | |
| |
| |
| |
Create a JDBC driver and data source | |
| |
| |
| |
Create an application server and other basic resources | |
| |
| |
| |
Placing source files | |
| |
| |
| |
Add Servlet | |
| |
| |
| |
Create enterprise beans | |
| |
| |
| |
Verification of the servlet and EJB | |
| |
| |
| |
Create an enterprise application | |
| |
| |
| |
Verification of an enterprise application | |
| |
| |
| |
Deployment and classpaths | |
| |
| |
| |
WebSphere security | |
| |
| |
| |
Application security | |
| |
| |
| |
WebSphere security model | |
| |
| |
| |
What's new in WebSphere V3.5 security | |
| |
| |
| |
Using client certificate based authentication with WebSphere | |
| |
| |
| |
WebSphere and LDAP servers | |
| |
| |
| |
Custom challenge | |
| |
| |
| |
Topologies selection | |
| |
| |
| |
Topology selection criteria | |
| |
| |
| |
Vertical scaling with WebSphere workload management | |
| |
| |
| |
HTTP server separation from the application server | |
| |
| |
| |
Scaling WebSphere in a three-tier environment | |
| |
| |
| |
Horizontally scaling Web servers with WebSphere | |
| |
| |
| |
One WebSphere domain vs. many | |
| |
| |
| |
Multiple applications within one node vs. one application per node | |
| |
| |
| |
Closing thoughts on topologies | |
| |
| |
| |
Workload management | |
| |
| |
| |
Cloning | |
| |
| |
| |
WLM | |
| |
| |
| |
Administrative console | |
| |
| |
| |
About WebSphere Administrative Console | |
| |
| |
| |
In conclusion | |
| |
| |
| |
Web console | |
| |
| |
| |
About Web console | |
| |
| |
| |
Web console functionality | |
| |
| |
| |
In conclusion | |
| |
| |
| |
The WebSphere Control Program (WSCP) | |
| |
| |
| |
Command line administration | |
| |
| |
| |
Tcl language fundamentals | |
| |
| |
| |
Invoking WSCP | |
| |
| |
| |
Command syntax of WSCP | |
| |
| |
| |
Example WSCP procedures | |
| |
| |
| |
Interactive administration with WSCP | |
| |
| |
| |
Troubleshooting with WSCP | |
| |
| |
| |
Limitations and additional information | |
| |
| |
| |
Additional resources | |
| |
| |
| |
XMLConfig | |
| |
| |
| |
Introduction to XML and XMLConfig | |
| |
| |
| |
XMLConfig components | |
| |
| |
| |
XMLConfig new features | |
| |
| |
| |
XML: a suitable markup language for WebSphere | |
| |
| |
| |
Customizing XML for the WebSphere XMLConfig tool | |
| |
| |
| |
XML Config examples and uses | |
| |
| |
| |
WebSphere sample programs | |
| |
| |
| |
How to obtain the samples? | |
| |
| |
| |
WebSphere samples matrix | |
| |
| |
| |
WebSphere samples installation | |
| |
| |
| |
WebSphere samples location | |
| |
| |
| |
WebSphere WSsamplesDB2_app Web application | |
| |
| |
| |
Database configuration | |
| |
| |
| |
WSsamplesDB2_app User Profile sample | |
| |
| |
| |
Sample Enterprise JavaBeans configuration | |
| |
| |
| |
WebSphere Standard Edition samples | |
| |
| |
| |
Sample InstantDB configuration | |
| |
| |
| |
Standard and Advanced Edition samples listing | |
| |
| |
| |
Problem determination | |
| |
| |
| |
The problem determination process | |
| |
| |
| |
Messages | |
| |
| |
| |
The format of log and trace files | |
| |
| |
| |
WebSphere log files | |
| |
| |
| |
The trace facility | |
| |
| |
| |
Object level trace (OLT) and the IBM distributed debugger | |
| |
| |
| |
Log Analyzer | |
| |
| |
| |
Log Analyzer overview | |
| |
| |
| |
Downloading and installing the Log Analyzer | |
| |
| |
| |
Using the Log Analyzer to view the activity.log | |
| |
| |
| |
Using showlog to view the activity.log | |
| |
| |
| |
Configuring the activity.log | |
| |
| |
| |
Display log entries in different groupings | |
| |
| |
| |
Analyze action | |
| |
| |
| |
Using the Log Analyzer to view the ring buffer dump | |
| |
| |
| |
Updating the symptom database | |
| |
| |
| |
Saving logs as an XML file | |
| |
| |
| |
Resource Analyzer | |
| |
| |
| |
About Resource Analyzer | |
| |
| |
| |
What is collected and analyzed? | |
| |
| |
| |
Resource Analyzer functionlity | |
| |
| |
| |
Levels of data collection | |
| |
| |
| |
Resource Analyzer requirements | |
| |
| |
| |
Starting the Resource Analyzer | |
| |
| |
| |
Working with the analyzer | |
| |
| |
| |
Resource Analyzer with WebSphere V3.5.2 | |
| |
| |
| |
Resource Analyzer documentation | |
| |
| |
| |
Migration | |
| |
| |
| |
About the Migration Assistant | |
| |
| |
| |
Main steps in WebSphere migration | |
| |
| |
| |
Migration Assistant panels | |
| |
| |
| |
Files that are saved during migration | |
| |
| |
| |
What is left to be done? | |
| |
| |
| |
Migration of WebSphere V2.0.3.x to WebSphere V3.5 | |
| |
| |
| |
Migration Assistant documentation | |
| |
| |
| |
Installation steps | |
| |
| |
| |
Planning | |
| |
| |
| |
Installation steps overview | |
| |
| |
| |
Uninstallation of WebSphere Application Server | |
| |
| |
| |
Remote Sybase connectivity | |
| |
| |
| |
Sybase jConnect Client | |
| |
| |
| |
XML sample programs | |
| |
| |
| |
Instructions for setting up and running the XML demo: Web Client | |
| |
| |
| |
Instructions for setting up and running the XML demo: Java Client | |
| |
| |
| |
JNDI sample programs | |
| |
| |
| |
JNDI sample files | |
| |
| |
| |
Deploy JNDI sample program to default_app | |
| |
| |
| |
Run the JNDI sample | |
| |
| |
| |
Big3 application | |
| |
| |
| |
Big3 - small insurance application | |
| |
| |
| |
Object interaction diagram | |
| |
| |
| |
Install Big3 | |
| |
| |
| |
Test the configuration | |
| |
| |
| |
Big3 application directory structure | |
| |
| |
| |
The admin.config file definitions | |
| |
| |
| |
Using the additional material | |
| |
| |
| |
Using the CD-ROM | |
| |
| |
| |
Locating the additional material on the Internet | |
| |
| |
| |
Using the Web material | |
| |
| |
| |
Special notices | |
| |
| |
| |
Related publications | |
| |
| |
| |
IBM Redbooks | |
| |
| |
| |
IBM Redbooks collections | |
| |
| |
| |
Other resources | |
| |
| |
| |
Referenced Web sites | |
| |
| |
How to get IBM Redbooks | |
| |
| |
IBM Redbooks fax order form | |
| |
| |
Index | |
| |
| |
IBM Redbooks review | |