Spring Core (Dec 2-5)
GOTO Amsterdam 2025

Spring Core (Dec 2-5)

Monday Dec 2
09:00 –
Thursday Dec 5
17:00
Trifork Office; Vlaardingenlaan 15, 1066 HM Amsterdam
2,399.00 EUR

Register for this masterclass


Outcome

In this masterclass, you will learn how to build a Spring-powered Java application that demonstrates the Spring Framework & other Spring technologies such as Spring Boot, Spring Data, AOP and Spring Security.

This training also prepares you for the Spring Certified Professional exam, an industry-respected credential for Java developers looking to master the major features of Spring and Spring Boot.


Why Attend?

The focus of the 4 Day Spring: Core Masterclass is not simply to explain Spring features and how to use them, but also on the fundamental architectural issues. It is important to know how to use certain parts of a framework, but it is even more important to be able to decide when to use them.

You should expect the following from the course:

  • Training led by seasoned Software Architects with decades of Spring experience.
  • Tips, tricks and real-world examples in addition to the official course material.
  • Prepares you for the exam to receive the coveted Spring Certified Professional certificate.
  • Gain real skills that you can start using in your Spring project immediately.
  • This masterclass is approximately 40% theory and 60% exercises.
  • All labs are supervised with the trainer on-hand to provide answers to individual questions and provide coaching.

Course Overview

Day 1: Spring Overview, Java Configuration & Annotation

Spring Overview

  •  What is the Spring Framework
  •  The DI Container
  • The Spring Framework History and EcoSystem Java Configuration
  • Java configuration and the Spring application context
  • @Configuration and @Bean annotations
  • @Import: working with multiple configuration files
  • Defining bean scopes
  • Launching a Spring Application and obtaining Beans

More Java Configuration

  • External properties & Property sources
  • Environment abstraction
  • Using bean profiles
  • Spring Expression Language (SpEL)  Annotation and Component Scanning
  • Component scanning
  • Auto wiring using @Autowired
  • Java configuration versus annotations, mixing.
  • Lifecycle annotations: @PostConstruct and @PreDestroy
  • Stereotypes and meta-annotations

Inside the Spring Container

  • The Spring Bean Lifecycle
  • The BeanFactoryPostProcessor interception point
  • The BeanPostProcessor interception point
  • Spring Bean Proxies
  • @Bean method return types

Day 2: Introduction to AOP, Testing Spring Applications, JDBC Simplification & Transaction Management

Introducing Aspect-oriented programming

  • What problems does AOP solve?
  • Defining pointcut expressions
  • Implementing various types of advice

Testing a Spring-based Application

  • Spring and Test-Driven Development
  • Spring 5 integration testing with JUnit 5
  • Application context caching and the @DirtiesContext annotation
  • Profile selection with @ActiveProfiles
  • Easy test data setup with @Sql

JDBC Simplification with Jdbc Template

  •  How Spring integrates with existing data access technologies
  •  Spring‘s JdbcTemplate
  •  DataAccessException hierarchy

Transaction Management with Spring

  •  Transaction overview
  •  Transaction management with Spring
  •  Transaction propagation and rollback rules
  •  Transactions and integration testing

Day 3: Spring Boot, Spring Data JPA & Web Applications with Spring Boot

Spring Boot – A closer look

  •  Dependency management using Spring Boot starters
  •  How auto-configuration works
  •  Configuration properties
  •  Overriding auto-configuration
  •  Using CommandLineRunner

Spring Boot – Spring Data JPA

  •  Quick introduction to ORM with JPA
  •  Benefits of using Spring with JPA
  •  JPA configuration in Spring
  •  Configuring Spring JPA using Spring Boot
  •  Spring Data JPA dynamic repositories

Web Applications with Spring Boot

  •  Introduction to Spring MVC and request processing
  •  Controller method signatures
  •  Using @Controller, @RestController and @GetMapping annotations
  •  Configuring Spring MVC with Spring Boot
  •  Spring Boot packaging options, JAR or WAR

Day 4: RESTful Application with Spring Boot, Spring Boot Testing & Actuators

RESTful Application with Spring Boot

  •  An introduction to the REST architectural style
  •  Controlling HTTP response codes with @ResponseStatus
  •  Implementing REST with Spring MVC, @RequestMapping, @RequestBody and @ResponseBody
  •  Spring MVC’s HttpMessageConverters and automatic content negotiation

Spring Boot Testing

  •  Spring Boot testing overview
  •  Integration testing using @SpringBootTest
  •  Web slice testing with MockMvc framework
  •  Slices to test different layers of the application

Securing REST Application with Spring Security

  •  What problems does Spring Security solve?
  •  Configuring authentication
  •  Implementing authorization by intercepting URLs
  •  Authorization at the Java method level
  •  Understanding the Spring Security filter chain
  •  Spring security testing

Actuators, Metrics and Health Indicators

  •  Exposing Spring Boot Actuator endpoints
  •  Custom Metrics
  •  Health Indicators
  •  Creating custom Health Indicators
  •  External monitoring systems