WebSphere interview question · Most asked
What is WebSphere Application Server, and how do Liberty and traditional WAS differ?
Comparison
Summary
WebSphere Application Server is IBM's Java application server family. Traditional WAS (8.5.5 and 9.0.5, in
Base and Network Deployment editions) is the long-established, full Java EE server administered through cells,
a Deployment Manager and an admin console. Liberty is the lightweight, modular runtime: you enable only the
features you need in server.xml, it starts in seconds, ships every four weeks, and suits containers and
Kubernetes. New projects use Liberty; many enterprises still run traditional WAS.
Longer Answer
| Liberty | Traditional WAS (ND) | |
|---|---|---|
| Configuration | server.xml files, easy to keep in Git |
Cell configuration repository via admin console or wsadmin |
| Footprint and start-up | Small, starts in seconds; features loaded on demand | Large, starts in minutes; full profile loaded |
| Topology | Independent servers, scaled by the platform (containers, collectives) | Cell with Deployment Manager, node agents and clusters |
| APIs | Jakarta EE 10+ and MicroProfile | Java EE 7 (with some EE 8 in 9.0.5) |
| Updates | Continuous delivery every 4 weeks | Fix packs |
Open Liberty is the open-source core that WebSphere Liberty is built on.
Key Points
- Traditional WAS: full Java EE, cells and Deployment Manager.
- Liberty: modular, fast, container-friendly.
- Open Liberty is the open-source base of WebSphere Liberty.
- New work on Liberty; migration from traditional is common.
Explanation
What interviewers look for
A clear comparison and why the industry is moving to Liberty.
More WebSphere questions
- How would you migrate an application from traditional WebSphere to Liberty?
- How does Liberty's server.xml and feature model work?
- How do you configure a JDBC data source and connection pool in Liberty and in traditional WAS?
- Explain the traditional WebSphere Network Deployment architecture: cell, Deployment Manager, nodes, node agents, servers and clusters.
- Explain class loading in WebSphere: parent-first versus parent-last, and shared libraries.
- Users see errors and the logs show J2CA0045E: connection not available. How do you investigate?
- WSVR0605W hung thread warnings appear and the application stops responding. What do you do?
- What is JNDI, and how do applications look up resources in WebSphere?