Learn how to build a REST API endpoint with Spring Boot by studying a working example.
Find code samples showing how to integrate a third-party library into a Java project.
Study design pattern implementations in Java with runnable, testable code.
Reference Spring Security configuration examples when setting up authentication in your application.
The eugenp/tutorials repository is a large collection of small, focused Java and Spring code examples maintained alongside the Baeldung learning website. Each module in the project covers one specific topic, for example, how to use a particular Spring Boot feature, a specific Java API, or a library integration. The goal is to give developers working, runnable code that demonstrates a single concept clearly, rather than a complete production application. The project is organized as a Maven multi-module build, which means each topic lives in its own subdirectory with its own build configuration. Because the full repo contains hundreds of modules, the project uses Maven build profiles to split them into groups based on Java version requirements (JDK 8, JDK 17, JDK 21, and newer versions) and test type (unit tests vs integration tests). You pick the profile matching your Java version and the type of tests you want to run, then build only the relevant subset rather than the whole repository at once. You would use this repository when you are learning Spring, Spring Boot, Spring Security, or core Java and want to see a working code example for a specific topic, say, how to configure a REST API endpoint, how to use a particular design pattern, or how to integrate with a third-party library. It is a reference companion to the Baeldung tutorials site rather than software you deploy. The tech stack is Java across all major recent versions (8 through 25), with Spring Boot as the primary framework and Maven as the build tool. Courses linked from the README provide paid structured learning built on top of these same examples.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.