Skip to main content

Spring Boot

Spring Boot — convention-over-configuration framework for building Spring-based Java applications

Java 21 to Java 25 Upgrade Guide (with AI Prompts)

A step-by-step Java 21 to 25 upgrade guide: Maven and Gradle files, Lombok and Mockito versions, removed and warned APIs, a 12-item checklist and seven AI prompts. Every claim was run on JDK 21, 25, 26 and 27, and the old guide's mistakes are corrected.

Modern Java Testing: JUnit 6 + AssertJ + Mockito 5 + Testcontainers

A practical guide to the modern Java test stack — JUnit 6 as the runner, AssertJ for fluent assertions, Mockito 5 for mocking, and Testcontainers for real infrastructure. Includes runnable examples for each and AI prompts to generate and refactor tests.

Set Up RMI and Hessian Remoting in Spring Boot 2

Learn how to configure Java RMI and Hessian remoting in Spring Boot 2 with RmiServiceExporter, HessianServiceExporter, and their proxy factory beans. Includes server and client configuration, shared interface setup, and a comparison table.

Creating Spring Beans with Static Factory Methods

Learn how to create Spring beans using static factory methods with @Bean configuration and XML. Covers third-party class registration, profile-based implementations, construction-time validation, and JUnit testing.

Top 40 Spring MVC Interview Questions and Answers (2025)

Prepare for your Java interview with the top 40 Spring MVC interview questions and answers covering DispatcherServlet, annotations, REST, validation, exception handling, and more — from beginner to advanced.