Spring for the Absolute Beginners [2023]

Spring Framework: Core Concepts, Dependency Injection, Bean Configuration, Auto wiring, AOP, SpEL

Ratings 4.36 / 5.00
Spring for the Absolute Beginners [2023]

What You Will Learn!

  • Spring Framework Core Concepts
  • Spring History
  • Environment Set up in STS and IntelliJ Idea
  • Spring Dependency Injection
  • Configuring Spring IoC Container through XML configuration
  • Configuring Spring IoC Container through Java annotation configuration
  • Spring Bean Autowiring - ByName, ByType, Constructor
  • Spring Bean Life Cycle Callbacks, Bean Post Processor,
  • Spring Aspect Oriented Programming, Concept of AOP, Aspect, Advice, Join Point, Pointcut, Different Advise types
  • Spring Task Executor - SyncTaskExecutor, SimpleAsyncTaskExecutor, TaskExecutorAdapter
  • Spring Bean Communication - ApplicationEvent, ApplicationListener, ContextClosedEvent, ContextRefreshedEvent, ApplicationEventPublisherAware, @EventListener

Description

[Updated June 2023]

This course primarily focuses on the fundamentals of the Spring Framework. This course is for you if you are keen to understand the Spring core concepts on dependency injection, bean configurations, Aspect Oriented Programming etc.

A comprehensive guide on Spring fundamentals. Whether you are a beginner on Spring Framework or an experience Spring developer, there are many takeaways from this course.

It covers the following Spring concepts:-

Module 1: Course Overview


  1. Introduction

  2. What we need

  3. Target Audience

  4. Prerequisites

  5. Course Walkthrough

  6. What we'll not cover

  7. Module Summary

Module 2:  Set up the development Environment


  1. Introduction

  2. Installing Java

  3. Installing Maven

  4. Installing - Spring Tool Suite

  5. Creating Maven Project in Spring Tool Suite

  6. Installing - Intellij IDEA

  7. Creating Maven Project in Intellij Idea

Module 3: Spring Core Introduction


  1. Spring Overview

  2. Spring History

  3. Spring Modules

  4. Dependency Management: Traditional Ways

  5. Dependency Management: Dependency Injection

  6. Concepts of POJO and Bean

  7. Inversion of Control: Spring IOC Container

  8. Bean Factory Interface

  9. ApplicationContext Interface

  10. Configuring beans: XML-based, Annotation and Java Config configuration

  11. Module conclusion


Module 4: Java Configuration


  1. Configuring Beans with Java Configuration

  2. Component scan with @ComponentScan

  3. @Configuration and @Bean Annotation

  4. @Component, @Configuration, @Service and @Repository annotations

  5. Constructor Injection

  6. Autowiring POJOs

  7. @Primary Annotation

  8. @Qualifier Annotation

  9. Importing Configuration

  10. @Scope Annotation

  11. @Lazy Annotation

  12. @DependsOn

Module 5: Spring Beans Deep Dive


  1. Introduction

  2. Bean Life Cycle Callbacks

  3. @PostConstruct and @PreDestroy annotations

  4. Bean Scope

  5. Bean Post Processor

  6. POJO Creation with factory methods - Static factory, instance method and Spring factory bean

  7. Managing environments - @Profile annotation

  8. Spring Aware Interfaces

  9. BeanNameAware

  10. BeanFactoryAware

  11. ApplicationContextAware

  12. MessageSourceAware

  13. ResourceLoaderAware

  14. EnvironmentAware

Module 6: Spring Aspect-Oriented Programming


  1. AOP Introduction

  2. Core AOP Concepts

  3. What is Aspect?

  4. JoinPoint

  5. What is Advice?

  6. Pointcut

  7. AOP Proxy

  8. AspectJ

  9. Weaving

  10. AspectJ and @EnableAspectJAutoProxy annotation

  11. Advice Annotations: @Before, @After, @AfterReturing, @AfterThrowing, @Around

  12. @Before and @After Annotation

  13. @AfterReturning Annotation

  14. @AfterThrowing Annotation

  15. @Around

  16. Demonstration

Module 7: Spring Task Executor


  1. Introduction to Java Executor, ExecutorService

  2. Runnable, Callable and Future

  3. Threadpool - A fixed thread pool, Cached thread pool, Single thread executor, scheduled thread pool executor

  4. Spring TaskExecutor

  5. Spring SimpleAsyncTaskExecutor

  6. Spring SyncTaskExecutor

  7. Spring TaskExecutorAdapter

Module 8: Communication between Beans - ApplicationEvent Management


  1. Introduction

  2. ApplicationListener Interface

  3. ApplicationEventPublisher

  4. Example

Module 9: XML-Based Configuration


  1. Introduction

  2. Configuring POJOs with XML-based configuration

  3. ClassPathXmlApplicationContext

  4. Setter-based Dependency Injection

  5. Constructor-based Dependency Injection

  6. Constructor vs Setter based Injections

  7. Circular dependencies

  8. Composing XML-based Configuration Metadata

  9. Referencing Other beans

  10. Inner Beans

  11. Handling Java Collections

  12. Merging Collections

  13. Depends-on

  14. Lazy-Initialization

Module 10:  Autowiring (XML-Based )


  1. Basics of Autowiring

  2. Autowiring Types,

  3. No Autowiring,

  4. Autowiring byName,

  5. Autowiring byType

  6. Autowiring constructor

  7. Issues with Autowiring

Module 11: Conclusion


  1. Source Code

  2. Course Summary

  3. What's Next?

Who Should Attend!

  • Core Java Developers
  • Anyone interested to learn Spring Framework fundamentals
  • Quick refresher for experience Spring developers

TAKE THIS COURSE

Tags

  • Spring Framework

Subscribers

6480

Lectures

123

TAKE THIS COURSE



Related Courses