Spring Boot 3 migration
Services moved from Boot 2.x to 3.x, with jakarta imports, Java 17 or later, renamed properties and retired starters replaced.
Service · Backend
Engage us to deliver Spring Boot services or to move existing ones onto Spring Boot 3. We handle the Spring-specific detail, from the security filter chain to Data repositories and Actuator endpoints, and hand over a service that behaves in production.
Boot 2 to Boot 3 migrations
SecurityFilterChain rewrites
Actuator probes and metrics
Deliverables
Services moved from Boot 2.x to 3.x, with jakarta imports, Java 17 or later, renamed properties and retired starters replaced.
SecurityFilterChain beans in place of WebSecurityConfigurerAdapter, OAuth2 resource server or login, method security and CSRF set per client type.
JPA entities and repositories with deliberate fetch strategies, projections for read paths, and Flyway or Liquibase migrations.
Liveness and readiness health groups, Micrometer metrics exported to Prometheus or your platform, and tracing through Micrometer Tracing.
Typed @ConfigurationProperties classes, a profile per environment and secrets injected from outside the jar.
Early decisions
Servlet-based Spring MVC for most services, WebFlux only where non-blocking streams are genuinely required end to end.
On Boot 3.2 or later with Java 21, switching request handling to virtual threads rather than writing reactive code.
Whether GraalVM native compilation is worth its longer builds and reflection hints for the start-up and memory it saves.
Flyway or Liquibase, with ddl-auto switched off everywhere except a developer’s machine.
Which endpoints are exposed, on which port, and which network or role is allowed to reach them.
Engagement
We run the Spring Boot properties migrator and review starters, deprecated classes and libraries not yet compatible with Boot 3.
For migrations, the service reaches the final 2.x line with deprecations cleared, which shrinks the jump to 3.
Namespace changes, security configuration and Data updates go in with integration tests running on Testcontainers.
We release with Actuator health and metrics live, compare behaviour with the previous version and hand over migration notes.
Fit
Organisations already running Spring services who want new ones to follow the same conventions and tooling.
APIs with OAuth2, role-based access and method-level checks where Spring Security’s depth is an advantage.
Services on Spring Boot lines that have left open-source support and need a planned path to 3.x.
Alternatives
For Quarkus, Jakarta EE or plain Java integrations, our general Java service is the better starting point.
Open registerIf a service must start instantly in a small container and needs little of Spring’s ecosystem, a Go binary may suit it.
Open registerWhere the owners of the service write TypeScript daily, a Node.js back end avoids introducing a second language.
Open registerTeams often start the Boot 3 upgrade, hit a library that still imports javax classes, and park the branch. We inventory those blockers first, find maintained replacements or newer versions, and only then begin the namespace change, so the branch does not sit unmerged indefinitely.
WebSecurityConfigurerAdapter is gone. Security is now declared as SecurityFilterChain beans, and some defaults shifted along the way. We rewrite the configuration explicitly, then test every protected route for its expected status code, because a silently opened endpoint is the main risk of this change.
Lazy associations in JPA make it easy to load a list and then issue one query per row. We use entity graphs, fetch joins or interface projections on read paths, and log SQL during tests to catch the pattern before production does.
Actuator gives Kubernetes its probes and your monitoring its metrics. We configure health groups so a slow downstream dependency marks the service unready instead of triggering a restart loop.
A suite where every test starts the full application context grows slower with each new bean. We lean on Boot’s test slices: @WebMvcTest for controllers and security rules with services mocked, @DataJpaTest for repositories and their queries, and @JsonTest for serialisation edge cases. Only a small set of @SpringBootTest cases wire the whole service together.
For anything touching the database or a broker, we run the real engine in Testcontainers and, on Boot 3.1 or later, register it through @ServiceConnection so connection properties are not copied by hand. Tests then catch the dialect quirks, constraint failures and migration mistakes that an in-memory H2 database quietly lets through.
FAQ
Java 17 as a minimum, the switch from javax to jakarta packages, a rewritten security configuration, and updated property names and dependencies. Passing through the latest 2.7 release first keeps each step smaller.
Only when you need non-blocking streaming or very high concurrency with a reactive stack all the way down. For most services, Spring MVC with virtual threads is simpler to write and to debug.
Health is usually fine; env, heapdump and loggers should be restricted or disabled. We expose only what operations need, often on a separate management port.
Yes, where start-up time or memory matters, such as scale-to-zero platforms. Native builds take longer and need reflection hints for some libraries, so we weigh that first.
Related services
Service boundaries, contracts and data ownership for a growing set of Spring Boot applications.
Open registerRunning Boot services on Kubernetes with Actuator probes wired into the deployment.
Open registerBuild pipelines, image scanning and release automation for Spring services.
Open registerPrimary sources
Dated official documentation, standards, and research that support the factual claims on this page.
How to read this page
Scope, cost and timeline figures are planning guidance until confirmed in a written proposal. Diagrams and screens are illustrations, not client deliverables, and source-code rights and handover follow the signed agreement. See the delivery process and the full disclaimer.
Next decision
Define outcomes, constraints, evidence, rights and handover before delivery begins.
Commercial rights, repositories, environments, documentation, acceptance and handover remain contract-defined.