CIOPages

CIOPages · Trench Notes · Infrastructure

Modernizing legacy applications

Modernizing legacy .NET Framework, Java EE and client-server applications: the support dates driving the work, the options for each application, the strangler fig pattern, testing and data migration, and the AI tools that port code.

Published December 1, 2026

Why the deadlines are close

Support for .NET 8 and .NET 9 ends on November 10, 2026. .NET 10, a long-term support release, is supported until November 14, 2028.

.NET Framework 4.6.2 and later versions are Windows components. Each follows the lifecycle of the Windows version it is installed on. Microsoft's lifecycle page lists January 12, 2027 as the end date for 4.6.2, the same day Windows Server 2016 extended support ends. Versions 4.5.2, 4.6 and 4.6.1 lost support on April 26, 2022.

For Oracle JDK customers, Oracle lists Premier Support for Java SE 17 until September 2026 and Extended Support until September 2029, both marked "or later". Java SE 8 and 11 are in Extended Support, until December 2030 and January 2032. SQL Server 2016 reached end of extended support on July 14, 2026, and Microsoft lists Extended Security Updates for it to July 2029.

Decide per application

Give every application one option from the table below, an owner and a written reason. Base it on the support dates in its stack, whether its source code builds, its test coverage, how often the business changes it, and whether a product now does the job.

Microsoft's Cloud Adoption Framework advises rehosting only when a workload will not need modernization for at least two years. It says rehosting does not fix existing performance, reliability or architectural problems.

The options

OptionWhat it involvesConsider it when
RetainKeep the application where it is, unchanged.It is stable, compliant and supported, with no near-term reason to move.
RehostMove it to cloud virtual machines without changing the application. AWS also calls this lift and shift.The deadline is a data center or hardware date, not the runtime.
ReplatformMove it with limited changes, such as to a managed database service or containers.The hosting or database is the problem and the code is sound.
RefactorChange the code's internal structure without adding features.The codebase carries significant technical debt.
RearchitectRedesign the architecture, for example splitting a monolith into services.Parts of the application need to scale or change independently.
RebuildRedevelop the application with cloud-native services.The legacy system is too outdated or inflexible to modernize.
ReplaceMove to a commercial package or SaaS product. AWS calls this repurchase.A product does the job with little customization.

AWS groups refactor and re-architect as one strategy and has no separate rebuild. It gives porting .NET Framework applications to .NET Core as an example of replatforming. Agree on one set of labels before counting. Both lists also include retire.

Replacing in slices

Microsoft's Azure Architecture Center describes the strangler fig pattern for replacing a system gradually. A facade, or proxy, routes each request to the old system or the new one. Functionality moves across in increments until the old system serves nothing and can be decommissioned. Then the facade is removed, or kept as an adapter for legacy clients.

Plan for data stores both systems use at once, a facade that must not become a single point of failure or a bottleneck, and calls in both directions between old and new. Microsoft suggests an anti-corruption layer for those calls.

Microsoft says the pattern may not suit a small system that is simple to replace whole, requests that cannot be intercepted, or a legacy system whose source code you cannot access and that has no other integration point you can change, such as its database.

The order of the work

  1. Inventory each application's stack. Record the runtime, framework, database, operating system and third-party components, with the support end date of each. Record where the source code is and whether it builds.
  2. Set each application's deadline. The earliest support date in its stack sets it. Find out whether extended support is available, and at what price.
  3. Label every application. One option, an owner and a reason for each, including why retained applications stay.
  4. Build tests before changing code. Capture current behavior with automated tests at the interfaces: screens, APIs, files and reports.
  5. Pilot one application end to end. Pick one with a database and integrations. Measure effort and defects found in testing, and plan the rest from those figures.
  6. Rehearse the data migration. Convert, load and validate the data at full volume, and time the cutover.
  7. Cut over and decommission. Run old and new side by side where the risk calls for it. Then switch off the old servers, runtimes and licenses.

What takes longer than expected

  • Technologies with no direct successor. Microsoft lists .NET Framework technologies unavailable on .NET 6 and later, including AppDomains, .NET Remoting, code access security, Windows Workflow Foundation and System.EnterpriseServices (COM+). It points WCF server code to the CoreWCF packages.
  • The Java EE namespace change. Jakarta EE 9, released December 8, 2020, introduced the jakarta.* namespace. Jakarta EE 8 still uses javax.*. Moving past it means changing imports and finding library versions built for the new names.
  • Components nobody owns. Old third-party controls and libraries may have no version for the new runtime. AWS Transform for .NET does not transform Win32 DLLs that lack .NET Core-compatible libraries.
  • Shared databases. Microsoft says legacy systems typically depend on one database that serves several domains. Its strangler fig guidance extracts one domain's tables at a time, with change data capture keeping old and new databases in sync until cutover.

AI-assisted code transformation

  • GitHub Copilot upgrade (Microsoft) upgrades .NET Framework projects of any version to .NET 8 or later, with a separate scenario for moving ASP.NET Web Forms to Blazor. It writes an assessment and plan for review, and commits each step to Git.
  • GitHub Copilot modernization (Microsoft) upgrades Java Maven and Gradle projects between Java 8, 11, 17, 21 and 25, with a focus on Spring Boot. It verifies builds, runs CVE checks and generates unit tests.
  • AWS Transform for .NET ports .NET Framework applications to .NET 8 or .NET 10, and validates the result with a local build and unit test run.
  • AWS Transform custom runs AWS-managed and user-defined transformations. AWS's examples include Java 8 to 17, Spring Boot 2.x to 3.x and javax to jakarta.

Judge each tool on a pilot application: whether the output builds, whether your tests pass, and how many hours of review it needed.

Testing and data migration

Write the tests the old application never had before changing it. Record real inputs and outputs, and replay them against the new version.

Moving to a different database engine needs schema conversion as well as data movement. AWS DMS Schema Conversion converts schemas and code objects for the target engine. AWS DMS then moves the data, once or with ongoing replication.

AWS DMS data validation compares each source row with its target row and reports mismatches. It needs a primary key or unique index on each table, and stops after more than 10,000 failed or suspended records.

Support contracts and Java licensing

Oracle's roadmap dates apply only to commercially supported Oracle JDK releases. If you run another vendor's Java build, check that vendor's dates.

Oracle JDK 17 updates released from October 15, 2024 are under the Java SE OTN license, not the permissive license of earlier updates. Oracle's roadmap says JDK 21 updates from the October 2026 Critical Patch Update are planned under the same license. It points users who want a permissive license to JDK 25 or later. Oracle is waiving the Extended Support fee for Java SE 17 from October 2026 to September 2029.

Skills and operations

Keep the people who know the old application until its replacement is accepted. They know the undocumented behavior the tests have to capture.

Moving from Windows servers or an application server to containers changes how the application is built, deployed and monitored. Train the operations team before the first production cutover.

Settle these first

  • Which runtime, framework or database in each application loses support first, and when?
  • Does source code exist for every application, and does it build?
  • Which applications are retained, and who agreed?
  • How will you prove the new version behaves like the old one?
  • Who will maintain the modernized code?

Questions

Is .NET Framework 4.8 still supported?
Yes. .NET Framework 4.8 and 4.8.1 are Windows components, supported for as long as the Windows version they run on.
When does .NET 8 support end?
Support for .NET 8 ends on November 10, 2026, the same day as .NET 9. .NET 10 is supported until November 14, 2028.
Is Java 17 still supported by Oracle?
Yes, for Oracle support customers. Oracle lists Premier Support for Java SE 17 until September 2026 and Extended Support until September 2029, both marked "or later". Oracle is waiving the Extended Support fee from October 2026 to September 2029.
Can AI tools port our .NET Framework or Java code?
Microsoft's GitHub Copilot agents and AWS Transform both document .NET Framework and Java upgrades. Test their output on a pilot application first.
Sources. AWS, Prescriptive Guidance: About the migration strategies: https://docs.aws.amazon.com/prescriptive-guidance/latest/large-migration-guide/migration-strategies.html; Microsoft, Cloud Adoption Framework: Select your cloud migration strategies: https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/plan/select-cloud-migration-strategy; Microsoft, Azure Architecture Center: Strangler Fig pattern: https://learn.microsoft.com/en-us/azure/architecture/patterns/strangler-fig; Microsoft, .NET and .NET Core support policy: https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core; Microsoft, Lifecycle: Microsoft .NET Framework: https://learn.microsoft.com/en-us/lifecycle/products/microsoft-net-framework; Microsoft, Lifecycle FAQ: .NET Framework: https://learn.microsoft.com/en-us/lifecycle/faq/dotnet-framework; Microsoft, Lifecycle: Windows Server 2016: https://learn.microsoft.com/en-us/lifecycle/products/windows-server-2016; Microsoft, Lifecycle: SQL Server 2016: https://learn.microsoft.com/en-us/lifecycle/products/sql-server-2016; Oracle, Java SE Support Roadmap: https://www.oracle.com/java/technologies/java-se-support-roadmap.html; Microsoft, .NET Framework technologies unavailable on .NET 6+: https://learn.microsoft.com/en-us/dotnet/core/porting/net-framework-tech-unavailable; Microsoft, GitHub Copilot upgrade overview: https://learn.microsoft.com/en-us/dotnet/core/porting/github-copilot-upgrade/overview; Microsoft, GitHub Copilot modernization for Java developers: https://learn.microsoft.com/en-us/azure/developer/java/migration/migrate-github-copilot-app-modernization-for-java; Eclipse Foundation, Jakarta EE blog: javax to jakarta namespace ecosystem progress: https://jakarta.ee/blogs/javax-jakartaee-namespace-ecosystem-progress/; AWS, AWS Transform: Modernizing .NET with AWS Transform: https://docs.aws.amazon.com/transform/latest/userguide/dotnet.html; AWS, AWS Transform custom: https://docs.aws.amazon.com/transform/latest/userguide/custom.html; AWS, What is AWS Database Migration Service?: https://docs.aws.amazon.com/dms/latest/userguide/Welcome.html; AWS, AWS DMS data validation: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Validating.html

Keep reading

Buyer Guide
AI Legacy Code Modernization
Job 05
Modernize the estate

AI agents need clean data and systems they can call, and old systems block both.

Free checklist
Project Kill Criteria Checklist

A kill-criteria checklist that sets the stop conditions for a migration or program before it starts.

Infrastructure
Modernizing mainframe applications