Call : (+91) 99 8080 3767
Mail : info@EncartaLabs.com
EncartaLabs

Spring - Core

( Duration: 4 Days )

The Spring - Core training course offers hands-on experience with the major features of Spring and Spring Boot, which includes configuration, data access, REST, AOP, auto-configuration, actuator, security, and Spring testing framework to build enterprise and microservices applications. On completion, you will have a foundation for creating enterprise and cloud-ready applications.

By attending Spring - Core workshop, delegates will learn:

  • Spring configuration using Java Configuration and Annotations
  • Aspect oriented programming with Spring
  • Testing Spring applications using JUnit 5
  • Spring Data Access - JDBC, JPA and Spring Data
  • Spring Transaction Management
  • Simplifying application development with Spring Boot
  • Spring Boot auto-configuration, starters and properties
  • Build a simple REST application using Spring Boot, embedded Web Server and fat JARs or classic WARs
  • Implementing REST client applications using RestTemplate and WebClient
  • Spring Security
  • Enable and extend metrics and monitoring capabilities using Spring Boot actuator
  • Utilize Spring Boot enhancements to testing

  • Development experience using Java, an IDE (Eclipse, STS or IntelliJ) and build tools such as Maven or Gradle

The Spring - Core class is ideal for:

  • Application developers who want to increase their understanding of Spring and Spring Boot with hands-on experience and a focus on fundamentals.

COURSE AGENDA

1

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
2

Spring JAVA Configuration: A Deeper Look

  • External properties & Property sources
  • Environment abstraction
  • Using bean profiles
  • Spring Expression Language (SpEL)
3

Annotation-based Dependency Injection

  • Component scanning
  • Autowiring using @Autowired
  • Java configuration versus annotations, mixing.
  • Lifecycle annotations: @PostConstruct and @PreDestroy
  • Stereotypes and meta-annotations
4

Factory Pattern in Spring

  • Using Spring FactoryBeans
5

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
6

Aspect-oriented programming

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

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
8

Data Accss and JDBC with Spring

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

Database Transactions with Spring

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

Spring Boot Introduction

  • Introduction to Spring Boot Features
  • Value Proposition of Spring Boot
  • Creating a simple Boot application using Spring Initializer website
11

Spring Boot Dependencies, Auto-configuration, and Runtime

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

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
13

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

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 6,000 various courses on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting http://encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.

Top