Modern Spring Framework guides covering the latest features and best practices.

All Spring Framework Articles

Spring Boot 4 HTTP Service Interface Clients - Usage Example

A comprehensive guide to Spring Boot 4’s HTTP Service Interface Clients with real-world examples. Learn how to build declarative REST clients with service groups, OAuth2 integration, HTTP Basic authentication, custom message converters, and global configuration.

Topics: HTTP Service Client, declarative HTTP interfaces, service groups, OAuth2, HTTP Basic Auth, RestClient, message converters, interceptors, global settings
Date: 2025-11-23


Spring RestClient: A Modern Approach to HTTP Communication

Spring Framework 6.1 introduced RestClient, a modern and fluent API for synchronous HTTP communication. This comprehensive guide covers everything from basic requests to advanced features like declarative HTTP interfaces, helping you transition from RestTemplate to the new API.

Topics: HTTP methods (GET, POST, PUT, PATCH, DELETE), authentication, error handling, HTTP interfaces, interceptors, best practices
Date: 2025-10-11


Spring JdbcClient: A Modern Approach to Database Access

Spring Framework 6.1 introduced JdbcClient, a modern and fluent API for database access. This guide covers everything from basic queries to advanced features, helping you transition from JdbcTemplate to the new API.

Topics: Basic operations, parameter binding, batch updates, custom row mapping, transaction management
Date: 2025-10-09


Spring JPA and JdbcClient with PostgreSQL Vector Support

Learn how to combine Spring Data JPA and Spring JdbcClient to work with PostgreSQL’s pgvector extension for vector embeddings. This comprehensive guide covers entity mapping, similarity searches, distance operators, and building AI-powered applications.

Topics: Vector embeddings, pgvector setup, JPA entities with vectors, JdbcClient for similarity search, distance operators (L2, cosine, inner product), REST API, advanced vector operations
Date: 2025-11-04


Complete Guide to Spring Boot Testing

Testing is crucial for building reliable Spring Boot applications. This comprehensive guide covers unit tests, integration tests, controller testing, repository testing, and best practices.

Topics: Unit testing, @WebMvcTest, @DataJpaTest, Testcontainers, mocking, test fixtures