WebSphere interview question · Most asked
How would you migrate an application from traditional WebSphere to Liberty?
How you'd do it
Summary
Assess first with IBM's tools (Transformation Advisor or the WebSphere Application Server Migration Toolkit binary
scanner) to list incompatible APIs, configuration to recreate and complexity. Generate the Liberty server.xml
from the traditional configuration, fix code issues, move from proprietary APIs to standard ones, test thoroughly,
then run both side by side and switch traffic gradually.
Longer Answer
- Common changes: features to enable, JNDI and binding differences, class loading behaviour, removed or unsupported APIs (some IBM proprietary APIs, older Java EE technologies), security registry configuration.
- Many applications move with little code change, especially web applications using standard APIs.
- Containerise as part of the move, or keep Liberty on VMs first if the organisation isn't ready for containers.
- Plan performance tests: thread pool and GC behaviour differ.
Key Points
- Assess with Transformation Advisor or the binary scanner.
- Generate and review server.xml.
- Replace proprietary APIs; test thoroughly.
- Run side by side and shift traffic gradually.
Explanation
What interviewers look for
A structured, tool-assisted plan with realistic risks.
More WebSphere questions
- Explain the traditional WebSphere Network Deployment architecture: cell, Deployment Manager, nodes, node agents, servers and clusters.
- WSVR0605W hung thread warnings appear and the application stops responding. What do you do?
- 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?
- What is WebSphere Application Server, and how do Liberty and traditional WAS differ?
- 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?
- What is JNDI, and how do applications look up resources in WebSphere?