4 DAY COURSE

Pivotal's Core Spring

Topics covered at SPRING-01-04
View Schedule & Book More dates available

Next up:

Core Spring is the four-day flagship Spring Framework and Spring Boot training. In this course, students build a Spring-powered Java application that demonstrates the Spring Framework and other Spring technologies like Spring Boot, Spring Data, Spring Security and microservices in an intensely productive, hands-on setting.

This course offers hands-on experience with Spring and its major features, including configuration, data access, web and REST applications, Spring Boot, Spring Security and using Spring Boot testing enhancements to build a small microservices application. On completion, participants will have a foundation for creating enterprise-ready applications. On completion of this course, attendees will be fully prepared to take the Pivotal Spring Professional certification exam. Exams are sold separately.

Learn how to:

  • Implement Spring configuration using Java Configuration and Annotations
  • Use aspect oriented programming in Spring
  • Test Spring applications using JUnit 5
  • Use Spring Data Access - JDBC, JPA and Spring Data
  • Implement Spring Transdaction Management
  • Simplify applications using Spring Boot
  • Use Spring Boot auto-configuration, starters and properties
  • Build a simple MVC application using Spring Boot, embedded Web Server and fat JARs or classic WARs
  • Implement REST with Spring MVC and RestTemplate
  • Understand Spring Security
  • Enable and extend metrics and monitoring capabilities using Spring Boot actuator
  • Utilise Spring Boot enhancements to testing

What the community says

"Excellent teacher."

Attendee

"Excellent course. Learnt a whole lot!"

Abhilash Nair, Capgemini UK

"Very knowledgeable teacher. Took his time to answer all questions we had."

Petar Stefauov

"Very good at applying the examples to real world situations which is extremely useful."

Jonathan Sharifi

"Great tutor, knows how to keep people interested."

Artur Malinowski

About the Expert

Sergi Almar

Experienced software developer and architect based in Barcelona focused on JVM technologies. Tech Co-founder of some IT startups. Core member of javaHispano, the largest JUG for Spanish speakers. I was the organized of the Spring I/O conference in Madrid and Mexico City. Specialities: Spring Framework, Java, JEE, Android, AngularJS, Software Architecture, Startups, Entrepreneurship

Thanks to our partners

INTRODUCTION TO SPRING

  • 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

SPRING JAVA CONFIGURATION: A DEEPER LOOK

  • External properties & Property sources
  • Environment abstraction
  • Bean scope, bean profiles
  • Spring Expression Language (SpEL)
  • How it Works: Inheritance based proxies

ANNOTATION-BASED DEPENDENCY INJECTION

  • Autowiring and component scanning
  • Java configuration versus annotations, mixing
  • Lifecycle annotations: @PostConstruct and @PreDestroy
  • Stereotypes and meta-annotations

FACTORY PATTERN IN SPRING

  • Using Spring FactoryBeans

ADVANCED SPRING: HOW DOES SPRING WORK INTERNALLY

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

ASPECT-ORIENTED PROGRAMMING

  • What problems does AOP solve?
  • Differences between Spring AOP and AspectJ
  • Defining pointcut expressions
  • Implementing an advice: @Around, @Before, @After

TESTING A SPRING-BASED APPLICATION

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

DATA ACCESS AND JDBC WITH SPRING

  • How Spring integrates with existing data access technologies
  • DataAccessException heirarchy
  • Implementing caching using @Cacheable | Embedded databases for testing
  • Spring's Jdbc Template

DATABASE TRANSACTIONS WITH SPRING

  • Transactions overview
  • Transaction management with Spring
  • Isolation levels, transaction propagation and rollback rules
  • Transactions and integration testing

SPRING BOOT INTRODUCTION

  • Introduction to Spring Boot
  • Value Proposition of Spring Boot
  • Creating a simple Boot application using Spring Initializr website

SPRING BOOT DEPENDENCIES, AUTO-CONFIGURATION AND RUNTIME

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

JPA WITH SPRING AND SPRING DATA

  • 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

SPRING MVC ARCHITECTURE AND OVERVIEW

  • 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

REST WITH SPRING MVC

  • 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 SECURITY

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

ACTUATORS, METRICS AND HEALTH INDICATORS

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

SPRING BOOT TESTING ENHANCEMENT

  • Spring Boot testing overview
  • Integration testing and slices
  • Slices to test different layers of the application

Audience

If you are an experienced Java EE Developer or Architect and you: - are interested in learning all about developing java applications with Spring - have an upcoming project and need to learn Spring quicklythen this course is for you!

Prerequisites

To benefit from this Core Spring course you will need to have a good understanding of web-application development using Java, an IDE (Eclipse, STS or IntelliJ) and a Servlet engine such as Tomcat or Jetty, specific Java concepts (annotations and lambdas) and dependency management using Maven or Gradle.

Bring your own hardware

Delegates are requested to bring their own laptop for this course, with Java 8 installed at minimum.

Overview

Core Spring is the four-day flagship Spring Framework and Spring Boot training. In this course, students build a Spring-powered Java application that demonstrates the Spring Framework and other Spring technologies like Spring Boot, Spring Data, Spring Security and microservices in an intensely productive, hands-on setting.

This course offers hands-on experience with Spring and its major features, including configuration, data access, web and REST applications, Spring Boot, Spring Security and using Spring Boot testing enhancements to build a small microservices application. On completion, participants will have a foundation for creating enterprise-ready applications. On completion of this course, attendees will be fully prepared to take the Pivotal Spring Professional certification exam. Exams are sold separately.

Learn how to:

  • Implement Spring configuration using Java Configuration and Annotations
  • Use aspect oriented programming in Spring
  • Test Spring applications using JUnit 5
  • Use Spring Data Access - JDBC, JPA and Spring Data
  • Implement Spring Transdaction Management
  • Simplify applications using Spring Boot
  • Use Spring Boot auto-configuration, starters and properties
  • Build a simple MVC application using Spring Boot, embedded Web Server and fat JARs or classic WARs
  • Implement REST with Spring MVC and RestTemplate
  • Understand Spring Security
  • Enable and extend metrics and monitoring capabilities using Spring Boot actuator
  • Utilise Spring Boot enhancements to testing

What the community says

"Excellent teacher."

Attendee

"Excellent course. Learnt a whole lot!"

Abhilash Nair, Capgemini UK

"Very knowledgeable teacher. Took his time to answer all questions we had."

Petar Stefauov

"Very good at applying the examples to real world situations which is extremely useful."

Jonathan Sharifi

"Great tutor, knows how to keep people interested."

Artur Malinowski

About the Expert

Sergi Almar

Experienced software developer and architect based in Barcelona focused on JVM technologies. Tech Co-founder of some IT startups. Core member of javaHispano, the largest JUG for Spanish speakers. I was the organized of the Spring I/O conference in Madrid and Mexico City. Specialities: Spring Framework, Java, JEE, Android, AngularJS, Software Architecture, Startups, Entrepreneurship

Thanks to our partners

Program

INTRODUCTION TO SPRING

  • 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

SPRING JAVA CONFIGURATION: A DEEPER LOOK

  • External properties & Property sources
  • Environment abstraction
  • Bean scope, bean profiles
  • Spring Expression Language (SpEL)
  • How it Works: Inheritance based proxies

ANNOTATION-BASED DEPENDENCY INJECTION

  • Autowiring and component scanning
  • Java configuration versus annotations, mixing
  • Lifecycle annotations: @PostConstruct and @PreDestroy
  • Stereotypes and meta-annotations

FACTORY PATTERN IN SPRING

  • Using Spring FactoryBeans

ADVANCED SPRING: HOW DOES SPRING WORK INTERNALLY

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

ASPECT-ORIENTED PROGRAMMING

  • What problems does AOP solve?
  • Differences between Spring AOP and AspectJ
  • Defining pointcut expressions
  • Implementing an advice: @Around, @Before, @After

TESTING A SPRING-BASED APPLICATION

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

DATA ACCESS AND JDBC WITH SPRING

  • How Spring integrates with existing data access technologies
  • DataAccessException heirarchy
  • Implementing caching using @Cacheable | Embedded databases for testing
  • Spring's Jdbc Template

DATABASE TRANSACTIONS WITH SPRING

  • Transactions overview
  • Transaction management with Spring
  • Isolation levels, transaction propagation and rollback rules
  • Transactions and integration testing

SPRING BOOT INTRODUCTION

  • Introduction to Spring Boot
  • Value Proposition of Spring Boot
  • Creating a simple Boot application using Spring Initializr website

SPRING BOOT DEPENDENCIES, AUTO-CONFIGURATION AND RUNTIME

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

JPA WITH SPRING AND SPRING DATA

  • 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

SPRING MVC ARCHITECTURE AND OVERVIEW

  • 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

REST WITH SPRING MVC

  • 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 SECURITY

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

ACTUATORS, METRICS AND HEALTH INDICATORS

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

SPRING BOOT TESTING ENHANCEMENT

  • Spring Boot testing overview
  • Integration testing and slices
  • Slices to test different layers of the application
Audience

Audience

If you are an experienced Java EE Developer or Architect and you: - are interested in learning all about developing java applications with Spring - have an upcoming project and need to learn Spring quicklythen this course is for you!

Prerequisites

To benefit from this Core Spring course you will need to have a good understanding of web-application development using Java, an IDE (Eclipse, STS or IntelliJ) and a Servlet engine such as Tomcat or Jetty, specific Java concepts (annotations and lambdas) and dependency management using Maven or Gradle.

Bring your own hardware

Delegates are requested to bring their own laptop for this course, with Java 8 installed at minimum.