Complete listing of all articles, organized by category.
Spring Framework
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
Core Java
Java Records: Immutable Data Classes Made Simple
Java 16 introduced records as a stable feature, revolutionizing how we create data carrier classes. Learn how to use records effectively for DTOs, value objects, and configuration.
Topics: Record syntax, custom constructors, validation, pattern matching, best practices
Mastering Java Streams: From Basics to Advanced
The Stream API revolutionized how we process collections in Java. This guide takes you from basic operations to advanced techniques with real-world examples.
Topics: Stream creation, filtering, mapping, collectors, parallel processing, performance optimization
AI
Understanding Embeddings, Vector Search, and RAG with Spring AI
Learn the foundational concepts of AI-powered search and question-answering systems. This comprehensive guide covers embeddings, vector databases, semantic search, and Retrieval-Augmented Generation (RAG) with practical Spring AI implementation examples using PostgreSQL PgVector.
Topics: Embeddings, vector search, semantic search, RAG (Retrieval-Augmented Generation), Spring AI, PgVector, vector databases, HNSW indexing, OpenAI, Ollama, cosine similarity
Date: 2025-11-06
Prompt Engineering with Claude: Tutorial Summary
A comprehensive summary of key lessons from the Anthropic prompt engineering interactive tutorial. Learn effective techniques for working with Claude using the Messages API, including clear prompting, role assignment, XML tags, few-shot learning, and avoiding hallucinations.
Topics: Basic prompt structure, clear instructions, role prompting, XML tags, output formatting, step-by-step thinking, few-shot examples, hallucination prevention
Date: 2025-10-09