diff --git a/_includes/spring-breadcrumb.html b/_includes/spring-breadcrumb.html new file mode 100644 index 00000000000..f41a07f97e7 --- /dev/null +++ b/_includes/spring-breadcrumb.html @@ -0,0 +1,7 @@ + diff --git a/_includes/spring-migrate-content.html b/_includes/spring-migrate-content.html new file mode 100644 index 00000000000..10d886be737 --- /dev/null +++ b/_includes/spring-migrate-content.html @@ -0,0 +1,110 @@ +
There are two paths from Spring to Quarkus. You can use compatibility libraries to run your existing Spring code on Quarkus with minimal changes — same annotations, same patterns, faster runtime. Or you can migrate to native Quarkus APIs (Jakarta REST, CDI, Panache) to get the most out of Quarkus. Either way, you don't have to do it all at once: start with compatibility, then migrate incrementally as it suits you. Both paths are supported by tooling and AI to help automate the work.
+Quarkus provides compatibility extensions that let you reuse your Spring knowledge and code. Use familiar annotations like @RestController, @Autowired, and JpaRepository on a leaner, more productive runtime.
To get started: swap in the Quarkus Maven plugin and BOM, add the compatibility extensions you need, and update your property names in application.properties to their Quarkus equivalents.
@RestController, @RequestMapping, @GetMapping@Autowired, @Component, @ServiceJpaRepository, CrudRepository, derived queries@Secured, @PreAuthorize@Transactional@Cacheable, @CacheEvict@ConfigurationProperties@Scheduled for periodic tasksThese extensions cover the most widely used Spring APIs, but not all of them. If your application uses Spring features that aren't listed here, you'll need to migrate those parts to their Quarkus equivalents — the tooling and AI resources below can help with that.
+ +Red Hat's rule-based analysis tool, built on the Konveyor open source project. MTA analyses your Spring Boot application and produces detailed reports highlighting what needs to change, with guidance on how to fix each issue. Available as a web console, CLI, Maven plugin, or IDE plugin.
+ +The SpringBootToQuarkus composite recipe automates dependency swaps, annotation changes, and configuration migration. Run it via Maven, Gradle, or the CLI with no build changes needed.
A structured guide with rules and decision flowcharts for migrating Spring Boot 3.x to Quarkus 3.x. Supports two paths: full Quarkus (Jakarta REST/CDI) or Spring compatibility (quarkus-spring-* extensions). Includes Konveyor analysis rules.
+ +Modern AI coding assistants understand both Spring and Quarkus patterns well. They can help translate controllers, services, repositories, configuration files, build files, and tests — giving you a head start on each file you need to migrate. For a hands-on walkthrough of what a full migration looks like step by step, see Markus Eisele's guide on The Main Thread, or you can get started with a prompt like "Convert this Spring Boot app to Quarkus".
+Combines generative AI with static code analysis to assist migration directly in your IDE. Uses a RAG-based approach with historical migration data to provide context-specific guidance, without requiring model fine-tuning.
+ +To help ensure optimum results and efficiency when using LLMs, we've developed skills. The `quarkus-skills` migration skill guides an AI agent through a full Spring Boot to Quarkus migration — from reading the codebase to committing the result and opening a draft PR. It inspects your project and decides which modules apply, adapting to your chosen strategy: Spring Compatibility or Native Quarkus.
+ +For more guidance, the free Quarkus for Spring Developers e-book explains the similarities and differences between the two frameworks, and helps you map Spring Boot concepts to their Quarkus equivalents. +
@RestController, @RequestMapping, @GetMapping, etc.
-@Autowired, @Component, @Service
-JpaRepository, CrudRepository, Spring Data Queries
-Works out of the box with Quarkus extensions: spring-web, spring-di, spring-data-jpa
-
-
-
-
- 🔄 Dev mode with hot reload
-🧊 Native images with GraalVM or Mandrel
-📦 Container-first and fast memory footprint
-🧪 Live coding + test support
-🔍 Unified config with profiles and environments
-🧠 IDE and toolchain friendly
-Start with what you have
-Use Spring Web, Spring DI, and Spring Data JPA extensions.
-Move incrementally
-Migrate REST endpoints to @Path, DI to @Inject, repos to Panache as needed.
-Go native
-Build and test native images for fast cold starts and minimal memory.
-Containerize and deploy
-Use Dev Services and Kubernetes-native features for smooth rollout.
- -
-
- Quarkus speaks fluent Spring. Reuse your @RestController, @Autowired, and JpaRepository code with Spring compatibility extensions. You get the same familiar APIs, now backed by a faster, more modern runtime.
- +