Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

Migrate your Java apps to containers with Migration Toolkit for Applications 5.0

September 4, 2020
Miguel Pérez Colino
Related topics:
ContainersJavaLinuxApplication modernization
Related products:
Red Hat OpenShift

    As a developer, you have probably experimented with Kubernetes. It's also possible that you are already running several Java applications on a Kubernetes platform, maybe Red Hat OpenShift. These initial containerized applications were greenfield projects, where you enjoyed the benefits of a platform providing templated deployments, easy rollbacks, resource availability, security by default, and a manageable way to publish your services.

    Now, you might be thinking, "How can I enjoy all of these benefits in my existing Java applications?" Most Java applications in production today are running on virtual machines (VMs), likely on an application platform that is not container friendly. So, how can you migrate them from the current platform to containers on Kubernetes?

    It isn't an easy task, but this is a problem that we have been working hard on for years. Red Hat's Migration Toolkit for Applications (MTA) 5.0 is the latest resulting iteration: An assembly of tools that you can use to analyze existing applications and discover what is required to modernize them. Read on to learn MTA 5.0's features and migration paths.

    Modernize your application portfolio

    Red Hat engineers, architects, and consultants have spent years capturing the lessons learned from re-platforming a large set of applications. We translated what we learned from these Java migration challenges into migration rules, and then developed a toolkit (starting with an open source project called Windup, which we later released as Red Hat Application Migration Toolkit) to help automate the process of analyzing application migrations and making them repeatable. With that toolkit, you can discover issues before you even begin a migration.

    Now, we've entered a new stage in the evolution of enterprise application migration. We're focusing on containerized workloads while keeping all of the valuable lessons we've learned so far. Red Hat's Migration Toolkit for Applications (MTA) 5.0 is the next iteration: An assembly of tools that you can use to analyze existing applications and discover what is required to modernize them.

    Potential MTA migration paths include:

    • Modernize Oracle WebLogic running on Oracle JDK on Windows: Migrate these applications to Red Hat JBoss Enterprise Application Platform (EAP) and run them on OpenJDK and Red Hat Enterprise Linux (RHEL)—all in virtual machines.
    • Make Tomcat supportable on Oracle JDK on Ubuntu: Move your application to Red Hat JBoss Web Server (Red Hat's build of Tomcat) on RHEL Universal Base Image (UBI) and OpenJDK running in containers on OpenShift.
    • Migrate your JBoss EAP on OpenJDK and Windows stack to JBoss EAP on OpenJDK and RHEL UBI running in containers on OpenShift.

    Migration Toolkit for Applications 5.0

    Migration Toolkit for Applications 5.0 is now generally available to every developer who needs an easier way to modernize and migrate Java applications. MTA is free of charge, and there are five different ways to use it:

    • WebUI: A user interface that you can run in a laptop or deploy on OpenShift 3.11 or 4.x.
    • Command-line interface (CLI): Most useful for analyzing massive amounts of applications, as well as embedding MTA into current CI/CD pipelines.
    • IDE plug-ins:
      • Use Eclipse desktop IDEs, CodeReady Studio, and Visual Studio Code (VS Code) (tech preview) for local development.
      • Use Eclipse Che and CodeReady Workspaces for centralized, in-browser development.
    • Maven plug-in: Use the Maven plug-in to analyze applications during build time.

    Figure 1 shows the MTA 5.0 console with supported applications labeled.

    The MTA 5.0 console showing supported applications.
    Figure 1: The MTA 5.0 console showing supported applications.

    Note: For more information about how developers and architects use the various components, see the MTA 5.0 product page.

    Many migration paths

    Migration Toolkit for Applications 5.0 supports a broad set of transformation paths, with rules for the following cases:

    • Apache Camel 2 to Camel 3: MTA 5.0 contains new rules to help developers updating their applications use the latest version of Apache Camel 3, with 13 rulesets and 147 rules. Figure 2 shows a rule specific to the Camel 2 to Camel 3 migration. (Special thanks to Matej Melko and John Poth for their contributions to these rules.)
    A rule specific to the Camel 2 to Camel 3 migration.
    Figure 2: A rule specific to the Camel 2 to Camel 3 migration.
    • Spring Boot to Quarkus: We've seeded three new rules for migrating from Spring Boot to Quarkus. For the upcoming MTA 5.1 version, we plan to add a set of 28 rules. Fourteen rules have already been built, two are in progress, and 12 are in the pipeline. Figure 3 shows a rule for replacing the Spring Shell dependency with the appropriate Quarkus PicoCli interfaces.
    A Spring Boot-to-Quarkus migration rule.
    Figure 3: A Spring Boot-to-Quarkus migration rule.
    • JBoss EAP: We have added a comprehensive set of rules to ensure that migrated applications comply with Java/Jakarta Enterprise Edition (JEE) standards, which is a requirement for working on JBoss EAP. As shown in Figure 4, an issue is raised when using the WebLogic-specific logger, which provides advice for using the standard Java logger.
    Choose the correct logger for your migration.
    Figure 4: Choose the correct logger for your migration.
    • Containers: We have added rules that are based on the Twelve- Factor App methodology for containerizing applications. Figure 5 shows a rule against using Java RMI.
    Java RMI should be avoided in cloud environments.
    Figure 5: Java RMI should be avoided in cloud environments.
    • Linux: We've added rules to help you avoid issues specific to using Java on Windows. One such rule, shown in Figure 6, calls for replacing a Windows filesystem path with a Linux-style path.
    Consider replacing Java 2D with the OpenJDK Java 2D library
    Figure 7: Consider replacing Java 2D with the OpenJDK Java 2D library.
    • OpenJDK: This rule helps you avoid problems coming from using specific proprietary libraries that are not in the JDK, such as the Java 2D library (shown in Figure 7).
    Consider replacing Java 2D with the OpenJDK Java 2D library
    Figure 7: Consider replacing Java 2D with the OpenJDK Java 2D library.

    Note: See the complete matrix of transformations and combinations that are made easier by MTA 5.0.

    Get started with MTA 5.0

    Go here to download Migration Toolkit for Applications. The Getting started guide gets you up and running with MTA 5.0 in five minutes.

    If you want to learn more about the real-world experience of using MTA to modernize and migrate your Java applications, check out this video: How architects and developers use MTA. For a more in-depth introduction, see the Migration Toolkit for Applications video demo.

    You might also want to take a look at the MTA 5.0 documentation to find out how to make the most of MTA. As an example, you can use the documentation to learn how to write your own migration rules.

    Follow us @MTAbyRedHat to stay up to date and engage directly with our team. We are looking forward to seeing your apps at the next level!

    Last updated: April 29, 2024

    Recent Posts

    • Every layer counts: Defense in depth for AI agents with Red Hat AI

    • Fun in the RUN instruction: Why container builds with distroless images can surprise you

    • Trusted software factory: Building trust in the agentic AI era

    • Build a zero trust AI pipeline with OpenShift and RHEL CVMs

    • Red Hat Hardened Images: Top 5 benefits for software developers

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.