WebSphere Tutorial · Running WebSphere in Production · Lesson 22 of 23

Migrating from Traditional WAS to Liberty

How to move applications from traditional WebSphere to Liberty: assessment tools, configuration, code changes, testing and cut-over.

Members can save this page, take notes and track progress. See membership · Sign in

Assess

IBM's Transformation Advisor and the WebSphere Application Server Migration Toolkit (including its binary scanner) analyse applications and report:

  • APIs not available on Liberty (some IBM proprietary APIs, older Java EE technologies),
  • behaviour differences to check,
  • the Liberty features needed and a generated starting server.xml,
  • an estimate of effort.

Move

  1. Generate server.xml from the traditional configuration (data sources, JMS, security) and review it.
  2. Fix code issues; replace proprietary APIs with standard ones; plan the javax → jakarta change if moving to Jakarta EE 9 or later (tools can transform binaries or source).
  3. Build and test on Liberty, including performance tests (thread and GC behaviour differ).
  4. Run both side by side and move traffic gradually; keep the traditional environment as a fallback until stable.

Many web applications that use standard APIs move with little code change; heavy users of proprietary features need more work.

An assessment turned into an effort estimate (illustrative)Try it yourself
findings = [("uses standard servlet/JAX-RS APIs", 0), ("IBM proprietary API in 3 classes", 3),
            ("JAX-RPC web service client", 8), ("custom user registry", 5), ("javax -> jakarta namespace", 2)]
total = sum(days for _, days in findings)
for issue, days in findings:
    print(f"{issue:34} {days:2} days")
print(f"{'estimated effort':34} {total:2} days")

Output

uses standard servlet/JAX-RS APIs   0 days
IBM proprietary API in 3 classes    3 days
JAX-RPC web service client          8 days
custom user registry                5 days
javax -> jakarta namespace          2 days
estimated effort                   18 days

Test yourself

What's a good first step in a traditional-to-Liberty migration?

  1. Rewrite the application
  2. Run Transformation Advisor or the binary scanner on the application
  3. Delete the traditional cell
  4. Switch to parent-last everywhere
Show answer

Answer: Run Transformation Advisor or the binary scanner on the application

Assessment tools show what must change and generate starting configuration.

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

Was this page helpful?

Report a mistake