Free tutorial · examples you run in the browser

WebSphere Tutorial

IBM WebSphere for developers and administrators: WebSphere Liberty first (server.xml and features, configuration, deployment, JNDI, data sources and connection pools, security, MicroProfile, containers and Kubernetes), then traditional WebSphere Application Server (cells, Deployment Manager, wsadmin, clusters and the plug-in, sessions, LTPA, class loading), then logs, tuning, troubleshooting and migrating to Liberty. Examples are Python simulations you can run in the browser.

Start learning →

WebSphere Basics

  1. WebSphere Introduction — What WebSphere Application Server is, the difference between Liberty and traditional WAS, and where each is used.
  2. What an Application Server Provides — The Jakarta EE (formerly Java EE) services WebSphere gives applications: servlets, REST, CDI, JPA, JDBC data sources, transactions, messaging and security.
  3. Your First Liberty Server — Creating, starting and stopping a Liberty server, its directory layout, and Liberty's development mode.
  4. WebSphere History & Versions — How IBM WebSphere Application Server grew from a 1998 servlet engine into the enterprise Java platform, why Liberty was created, and how Open Liberty and continuous delivery changed it.

WebSphere Liberty

  1. server.xml and Features — Liberty's feature model: enabling only what an application needs, convenience features, and dynamic configuration.
  2. Configuration Files and Variables — Splitting Liberty configuration with includes and configDropins, and supplying environment-specific values through variables.
  3. Deploying Applications — Deploying WAR and EAR files to Liberty: apps/ with application elements versus dropins/, context roots and application settings.
  4. JNDI and Resource References — How applications find data sources, queues and settings by name, and why resource references keep code portable.
  5. Data Sources and Connection Pools — Configuring JDBC data sources in Liberty, how connection pools work, and how to size them.
  6. Security in Liberty — Authentication and authorisation in Liberty: user registries, application security roles, TLS keystores, and single sign-on options.
  7. MicroProfile on Liberty — Cloud-native APIs on Liberty: Config, Health, Metrics, Telemetry, Fault Tolerance, REST Client and OpenAPI.
  8. Liberty in Containers and Kubernetes — Building Liberty container images, configuring them per environment, health probes on Kubernetes, the Open Liberty Operator and InstantOn.

Traditional WebSphere Application Server

  1. Cells, Nodes and the Deployment Manager — The traditional WAS Network Deployment architecture: profiles, cells, the Deployment Manager, node agents, application servers and clusters.
  2. The Admin Console and wsadmin — Administering traditional WAS through the Integrated Solutions Console and by script with wsadmin and Jython.
  3. Clusters, IBM HTTP Server and the Plug-in — How requests reach cluster members through IBM HTTP Server and the WebSphere plug-in, with session affinity and failover.
  4. Sessions and High Availability — Keeping HTTP sessions through failures with memory-to-memory replication or database persistence, and designing stateless instead.
  5. Security in Traditional WAS — Administrative and application security in traditional WAS: global security, user registries, LTPA single sign-on and SSL configuration.
  6. Class Loading and Shared Libraries — WebSphere's class loader hierarchy, parent-first and parent-last delegation, shared libraries, and diagnosing NoSuchMethodError and ClassCastException.

Running WebSphere in Production

  1. Logs, FFDC and Tracing — Where WebSphere writes logs, what First Failure Data Capture is, and how to turn on trace safely.
  2. Performance Tuning — Tuning WebSphere for throughput and latency: JVM heap and GC, thread pools, connection pools and the monitoring that tells you what to change.
  3. Troubleshooting Hangs, Pool Exhaustion and Memory — Diagnosing the classic WebSphere incidents: hung threads (WSVR0605W), connection pool exhaustion (J2CA0045E) and OutOfMemoryError, with javacores, heapdumps and GC logs.
  4. Migrating from Traditional WAS to Liberty — How to move applications from traditional WebSphere to Liberty: assessment tools, configuration, code changes, testing and cut-over.
  5. Next Steps — Where to go after this tutorial: the WebSphere in Production course, the quiz, interview questions and related tutorials.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake