spring-boot-4

Migrate Spring Boot applications to Spring Boot 4.0, Jakarta EE 10, and Java 21+.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/JNZader-Vault/project-starter-framework --skill spring-boot-4-jnzader-vault
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spring-boot-4
Source: https://github.com/JNZader-Vault/project-starter-framework/tree/main/.ai-config/skills/backend/spring-boot-4
Command: npx skills add https://github.com/JNZader-Vault/project-starter-framework --skill spring-boot-4-jnzader-vault

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers migrate and modernize Spring Boot applications to leverage the latest features in Spring Boot 4.0, Jakarta EE 10, and Java 21+, addressing challenges with outdated dependencies and configurations.

Core Features & Use Cases

  • Jakarta EE Migration: Provides clear mappings for migrating from javax to jakarta namespaces.
  • Modern Security: Demonstrates current Spring Security configurations with JWT and stateless sessions.
  • Java 21+ Features: Illustrates the use of virtual threads and records for DTOs.
  • Error Handling: Shows how to implement ProblemDetail for API error responses.
  • Declarative Clients: Guides on using HttpServiceProxyFactory for REST clients.
  • Configuration: Examples for @ConfigurationProperties with records.
  • Observability: Integrates @Observed for tracing.
  • Testing: Demonstrates Testcontainers with @ServiceConnection.

Quick Start

Use the spring-boot-4 skill to refactor the security configuration for a Spring Boot application to use SecurityFilterChain and JWT authentication.

Frequently Asked Questions about spring-boot-4

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate Spring Boot applications to Jakarta EE 10 namespaces?

To migrate Spring Boot applications to Jakarta EE 10, you update package imports from javax to jakarta namespaces. This Skill provides clear mappings for refactoring dependencies and configurations to align with Spring Boot 4.0 requirements.

How do I configure Spring Security with JWT in Spring Boot 4.0?

Configuring Spring Security with JWT in Spring Boot 4.0 involves using SecurityFilterChain beans for stateless sessions. This Skill demonstrates modern security configurations to replace outdated WebSecurityConfigurerAdapter approaches.

How do I use Java 21 virtual threads in a Spring Boot application?

Using Java 21 virtual threads in a Spring Boot application improves concurrency by handling requests with lightweight threads. This Skill illustrates configuring virtual threads alongside records for DTOs to modernize application performance.

Do I need Java 21 to use Spring Boot 4.0 features?

Yes, Java 21 is required to leverage advanced Spring Boot 4.0 features like virtual threads and records for DTOs. This Skill guides developers through modernizing applications using Java 21+ concurrency and configuration features.

What is the best way to implement declarative HTTP clients in Spring Boot?

The best way to implement declarative HTTP clients in Spring Boot is using HttpServiceProxyFactory. This Skill guides you through setting up REST clients declaratively to modernize your application's API integration.

How do I handle API errors using ProblemDetail in Spring Boot?

Handling API errors with ProblemDetail in Spring Boot involves implementing RFC 7807 standard responses for API error handling. This Skill shows how to configure ProblemDetail to replace custom error handling mechanisms.