This repository contains source code examples from various blog posts from Spring Framework Guru
Are you interested in writing for Spring Framework Guru? Checkout the wiki for how to get started!
The blog posts for the examples in this repo are:
- Service Locator Pattern in Spring
- Using GraphQL in a Spring Boot Application
- Spring JdbcTemplate CRUD Operations
- Using Spring Aware Interfaces
- Working with Resources in Spring
- Using RestTemplate in Spring
- Using RestTemplate with Apaches HttpClient
- How to Configure Multiple Data Sources in a Spring Boot Application
- Why you should be using Spring Boot Docker Layers
- Autowiring In Spring
- Spring Bean Definition Inheritance
- Best Practices for Dependency Injection with Spring
- Using Project Lombok with Gradle
- Spring JdbcTemplate CRUD Operations
- How to Configure Multiple Data Sources in a Spring Boot Application
- Working with Resources in Spring
- Spring Bean Scopes
- Using Ehcache 3 in Spring Boot
- Spring Profiles
- Using Spring Aware Interfaces
- Spring Bean Lifecycle
- Spring Boot with Lombok: Part 1
- Consul Miniseries: Spring Boot Application and Consul Integration Part 1
- Consul Miniseries: Spring Boot Application and Consul Integration Part 2
- Consul Miniseries: Spring Boot Application and Consul Integration Part 3
- Debug your Code in IntelliJ IDEA
- Java 14 records
- Run Spring Boot on Docker
- Manage Docker Containers with Docker Compose
- Feign REST Client for Spring Application
- Using MapStruct with Project Lombok
- Writing Parametrized Tests
- Spring REST Docs
- Calling Stored Procedure from Spring Data JPA Repository
- Spring Boot Pagination
- Convert OffsetDateTime to SQLTimeStamp
- Error Handling in Spring REST
- Spring State Machine
- Java Bean Validation
- Stored Procedures with Spring Boot
- BeanFactory vs ApplicationContext
- Multi Module Spring Boot Project
- One to One Association
- One to Many Association
- Actuator in Spring Boot
- Spring Boot CLI
- Spring Boot Internationalization
- Spring Retry
- EnumSet in Java
- Scheduling in Spring Boot
- Spring Boot Kafka
- Bootstrapping Data in Spring Boot
- Using Eureka Service Registry