spring-advanced-training
Sample projects (source codes) for my training Spring - Advanced and Spring Boot.
All these projects are based on Spring Boot 3.3 & Java 23.
Agenda
- Spring Core - some necessary basics and hints
- Testing with Spring
- Spring MVC
- Persistence
- REST, JMX and AOP
Projects
sat-core
Set of examples of Spring. It contains examples e.g. for:
- Smart dependency injection
- @Conditional & notifications
- Spring profiles and proxying
- BFPP & BPP
- Testing
- JSR and SpEL
sat-elk
Usage of Elasticsearch 7 via Spring Data & Docker image.
sat-jdbc
Usage of JDBC via Spring Boot and HSQL in memory DB.
sat-jpa
Usage of JPA via Spring Boot and H2 in memory DB (including web console).
- Usage of
spring-data-jpa
- Generated JPA static metamodel
- QueryDsl
- Liquibase
- H2 database (console is accessible as: http://localhost:8080/h2-console/ -> JDBC_URL=
jdbc:h2:mem:testdb
)
sat-liquibase
Usage of JDBC & Liquibase via Spring Boot and HSQL in memory DB.
sat-rest
Accessing JPA data via REST sevice, including:
- Actuator & Modified Health service
- Spring Data & HATEOAS
- Spring Boot Admin Client
- Advanced metrics (Micrometer via JMX)
- Springdoc Openapi (REST documentation)
sat-elk
Accessing ELK data via Spring Data Elasticsearch
sat-spring-boot-admin
Usage of Spring Boot Admin to monitor SB applications.
http://localhost:8085/