Ace8 is the modernization practice of AceMQ.24/7 support from AceMQ after go-live
Book an Assessment

Struts migration

Migrate Struts to Spring Boot, one action at a time.

Struts code is mostly controllers, form beans and JSPs. That structure can be moved in slices while the application keeps running.

  • Fixed-price assessment first
  • Every change engineer-signed
  • AceMQ 24/7 after go-live
claims-portal · struts-exitEngineer-led rewrite
Struts 1.3Spring Boot 3
  • struts-config.xmlremoved
  • ClaimAction.javaremoved
  • ClaimController.java+64−0
  • ClaimForm.java+18−40
  • claim.jsp+12−31
  • Build
  • Tests match baseline
  • Senior engineer sign-off
Illustrative run. Names and figures are examples, not client data.

The short answer

A Struts migration moves an Apache Struts 1 or 2 web application to a supported framework, usually Spring Boot with Spring MVC. Actions become controllers, form beans become model objects and validation moves to Bean Validation. The view layer is the largest job. Ace8 migrates in slices, behind tests, with senior engineer review.

On this page

  • Struts
  • Spring
  • Spring Boot
  • Java
  • OpenRewrite
  • Jakarta EE
  • Struts
  • Spring
  • Spring Boot
  • Java
  • OpenRewrite
  • Jakarta EE
  • Struts 1.3→Spring Boot 3
  • struts-config.xml / struts.xml→Annotations and Java configuration
  • Validation framework XML→Bean Validation annotations
  • Struts 1.3→Spring Boot 3
  • struts-config.xml / struts.xml→Annotations and Java configuration
  • Validation framework XML→Bean Validation annotations

Risk

Why migrate off Struts?

Struts 1 reached end of life in 2013 and gets no security fixes. Struts 2 is maintained, but it has a record of serious remote code execution flaws, and versions that lag behind are a common finding in security scans. Many Struts applications also sit on old Java versions and application servers, so the framework blocks every other upgrade.

Senior engineer reviewChecked by hand before anything merges4 checks
  • F-01Struts 1 receives no fixes at all.
  • F-02Old Struts 2 versions carry known critical vulnerabilities that scanners flag.
  • F-03The framework ties the application to older Java and servlet versions.
  • F-04Fewer engineers know it, which raises the cost of every change.

Mapping

What does Struts become in Spring?

Effort ratings are typical relative sizes, not estimates for your application. The assessment sizes yours.

Struts conceptSpring Boot equivalentEffort
Action / ActionForward@Controller method returning a view nameLow, mostly mechanical
ActionForm / form beanModel object or DTO bound by Spring MVCLow to medium
struts-config.xml / struts.xmlAnnotations and Java configurationMedium, needs a full route inventory
Validation framework XMLBean Validation annotationsMedium
Interceptors / RequestProcessorSpring HandlerInterceptor or filtersMedium, behavior-sensitive
Tiles templatingThymeleaf layouts or another template engineMedium to high
Struts tag libraries in JSPsTemplate engine tags or a retained JSP with Spring tagsHigh, the largest part

Want this mapped for your applications? Get a fixed scope and price before anything moves.

Sequence

In what order do we migrate?

Running both side by side is the same strangler idea in the Ace8 method: small steps, each reversible.

Step 01 of 05

Inventory the routes

List every action, form, forward and interceptor, with traffic and test coverage for each.

How every engagement runs

AI drafts. Engineers decide.

Three phases, the same on every stack. Each one ends with something you can hold us to.

Fixed priceAssess

Scope, cost and AI readiness, before any migration starts.

Assessment summary
Applications mapped
Risk scored
Phased plan
Price fixed
Ace8Modernize

AI-assisted, engineer-verified, one capability at a time.

upgrade: javax to jakarta
- import javax.persistence.Entity;+ import jakarta.persistence.Entity;- @Stateless+ @Service
AI draftEngineer approved
AceMQ · 24/7Run

AceMQ engineers support the new stack from day one.

ProductionOperational
On call: the team that ran the migration
  • Test before you touch
  • AI drafts, engineers decide
  • Strangle, don’t big-bang
  • Every step is reversible
  • Measure before and after
  • Open targets, no new lock-in
  • Fixed scope before fixed price
  • Plan the run before the cutover
Read the 8 principles

Tooling

What can AI-assisted tools do here?

Action-to-controller conversion is rule-shaped, so a deterministic tool or a model can draft it. We use these tools for the mechanical edits and rely on engineers for the rest. See AI-assisted modernization and OpenRewrite.

  • Tools help with: converting action classes, moving imports, translating simple validation rules.
  • Engineers handle: custom interceptors, Tiles layouts, JSP scriptlets, session handling and security integration.
  • Rewrite of the view layer is the bulk of the work and is mostly manual review.

Decisions

Should we move to Spring Boot or another target?

The target should be open and supported, so the application does not trade one dead end for another. See Spring Boot 3 migration.

  • Spring Boot with Spring MVC suits most Struts applications: closest model, large talent pool, open source.
  • A separate single-page front end suits applications with heavy interaction, but it is a redesign of the view layer, not a migration.
  • Struts 2 upgrade to the latest release is a short-term option if the application is small and security patching is the only goal.

Evidence

What have we measured?

We have not yet published a Struts migration with figures. When we do, it will report routes converted, tests before and after, manual fixes and review time. Until then this page claims no numbers.

Sample-repo runIn progress
Files changed
Pending
Tests before and after
Pending
Manual fixes
Pending
Engineer review time
Pending

Results publish here when the run completes. No figures until then.

Customers

Henry Schein DentalEnbridgeGojekMicrosoft

Partners

BroadcomRedisVMwareOSSeva

Proof

Delivered by the AceMQ engineering team.

IBM MQ → RabbitMQ

Phased migration with legacy code refactoring

Legacy messaging replaced in phases while the applications calling it were refactored. No big-bang cutover.

American NationalDelivered by the AceMQ engineering team

1,000+ apps

Spring and Java applications upgraded in 24 hours

A deterministic Spring upgrade process, run through Broadcom’s commercial Spring support, in a single 24-hour window.

Global financial institutionDelivered by the AceMQ engineering team

IBM MQ out

Proprietary messaging displaced

IBM MQ displaced with an open-source messaging stack, supported by AceMQ.

Global technology enterpriseDelivered by the AceMQ engineering team

FAQ

Frequently asked questions

Something else on your mind? Ask an engineer.

Moving an Apache Struts 1 or 2 application to a supported framework, typically Spring Boot with Spring MVC. Actions become controllers, form beans become model objects and validation moves to annotations.

Start here

Know the cost before anything moves.

A fixed-price assessment gives you the inventory, the risk score and a phased plan. Scope and cost are fixed before the migration starts.

  • InventoryEvery application, its stack and what it depends on.
  • Risk scoreWhere a change is likely to break, ranked.
  • Phased planWhat moves first, which tools lead, and the fixed price.

Get in touch

Talk to a modernization engineer

Tell us what you run today. An engineer, not a sales script, replies within one business day.

305-204-2607info@ace8.io

66 W. Flagler St. 9th Floor
Miami, FL 33130

What are you moving off? *

Fixed price. Scope and cost before any migration starts.