Banner

Mastering Spring 4.3

Live Classroom
Duration: 5 days
Live Virtual Classroom
Duration: 5 days
Pattern figure

Overview

During this five day training course, participants are introduced to the Spring framework and its relevance and applications with reference to modern systems and architecture. The course discusses how to use the Spring framework along with other technologies and frameworks to deliver superior performance and functionality. The course covers concepts such as Spring’s aspect-oriented programming and application of Spring Boot and Spring security. The course familiarizes the participants with the new features of Spring 4.3 and trains them on using Spring with Maven for project and dependency management. It covers the benefits of the Spring framework and how to leverage it better by combining it with other technologies and frameworks. The course also talks about the improved Spring 4.3 configuration management options including XML, annotations, Java Config and Spring expressions language.

What You'll Learn

  • Relationship between Spring and JEE, AOP, IOC, JDBC, Hibernate, JSF, Struts, JMS and EJBs
  • Configuring the framework with XML, annotations and Java Config
  • Exploring the benefits of different configuration alternatives
  • Working on integrating persistence into a Spring application
  • Assimilating different view-oriented frameworks for web applications into Spring
  • Work with Spring Boot for more efficient development of Spring applications
  • Work with diverse Spring application events and monitor for transactional events

Curriculum

  • Understand the value of Spring
  • Explore Dependency Injection (DI) and Inversion of Control (IoC)
  • Configuring collaborators
  • Understand built-in property editors
  • Tutorial: Setup eclipse Oxygen for using Maven

  • Discover the Spring container
  • Introduce the various ways to configure the Spring context
  • Initialize the Spring container
  • Accessing beans in the Spring container
  • Configure beans using XML
  • Resolving bean dependencies using XML
  • Exercise: Create a simple Spring program using XML configuration

  • Use Spring’s special factory beans
  • Re-use bean definitions in the configuration file using the ‘parent’ bean concept
  • Use property placeholders in the configuration file
  • Create custom property editors
  • Become familiar with container post-processors
  • Exercise: Configuring Dependencies
  • Exercise: Advanced XML configuration

  • Introduce Spring annotation for defining dependencies
  • The @Autowired annotation
  • Stereotyping Annotations
  • Enabling and filtering the component scan
  • Qualifying injection points
  • Lifecycle annotations
  • The @Value annotation
  • Exercise: Create a Simple Spring program using annotations

  • Introduce Java-based configuration
  • The @Configuration and @Bean annotations
  • Define bean dependencies
  • Define bean scopes
  • Bootstrapping Java Config context
  • Injection in Configuration classes
  • Exercise: Create a Simple Spring program using JavaConfig

  • Registering BeanFactoryPostProcessorT
  • he Environment API
  • Using context Profiles
  • Conditionally loading beans and configurations
  • Using properties in Java based configuration
  • The DependsOn and Lazy annotations
  • Exercise: Java Based Configuration
  • Exercise: Using Profiles

  • DAO Implementation
  • Transaction Support
  • Spring Support for JCache
  • Spring Data: JPA to NoSQL

  • JdbcDaoSupport – JDBC DAO Implementation
  • The jdbcTemplate
  • Exception Handling
  • Operation Classes
  • Exercise: Using Spring JDBC

  • The DispatcherServlet
  • Workflow of Request Handling
  • Using Handler Mappings
  • ModelAndView and View
  • Controllers
  • Spring Form Tags
  • Exercise: Using Spring MVC

  • Aspect Oriented Programming
  • Cross Cutting Concerns

    • Spring’s AOP in a nutshell
    • The Three Technologies of “Weaving”
    • Spring Advice Types
    • Exercise: Spring AOP – Combined Advice

    • Understand the Spring IO Platform
    • Understand the IO Bill of Materials
    • Understand the IO Foundation
    • Learn how the IO Execution will be leveraged
    • Learn how Spring Cloud is used for Platform Coordination

    • What is Spring Boot
    • Explore Spring Boot starters
    • Examine Spring Boot’s AutoConfiguration as well as its command-line interface (CLI)
    • Understand the Spring Boot Actuator

    • Spring Boot JPA Starter
    • Examine Spring Boot’s AutoConfiguration
    • Understand the Spring Conditionals
    • Understand Spring Boot DevTools
    • Exercise: Create a “REST JPA Respository”

    • Explore additional Spring Boot starters
    • Bootstrapping Spring Boot
    • Understand Spring Boot Actuators
    • Create and run a Spring Thymeleaf MVC application
    • Exercise: Create a “Thymeleaf MVC With JPA Repository”

    • Spring Security Framework
    • Security Interceptors
    • Authentication Managers
    • Wiring in Encoders and Salts
    • Access Decision Managers

    • Spring Security Transparent to Client
    • Standard Set of Filters
    • Spring Security Config File
    • Securing Java Code
    • Securing Java Spring Beans
    • Exercise: Using Spring Security (Pt 1)
    • Exercise: Using Spring Security (Pt 2)
    • Exercise: Using Spring Security (Pt 3)
    • Exercise: Using Spring Security (Pt 4)

    • Java Message Service (JMS)
    • The JMS Factory Model
    • JMS Queue Architecture
    • Topic Architecture
    • Messages

    • JmsTemplate
    • Callback Methods
    • Spring Messaging Module
    • Message Converters
    • MessagePostProcessor
    • Destinations
    • Working with @JmsListener
    • Exercise: Using JMS with Spring
    waves
    Ripple wave

    Who should attend

    The course is highly recommended for –

    • Software developers
    • Java developers
    • Full stack developers
    • Software engineers
    • Application developers

    Prerequisites

    Participants need to have basic Java development experience.

    Interested in this Course?

      Ready to recode your DNA for GenAI?
      Discover how Cognixia can help.

      Get in Touch
      Pattern figure
      Ripple wave