Learn Spring 5 - An Ultimate Guide to Spring 5 Core

  • 2020-01-06 06:54 AM
  • 106

Learn Spring 5 - An Ultimate Guide to Spring 5 Core: Core Concepts, Dependency Injection, Bean Configuration, Autowiring, AOP, SpEL. A comprehensive guide on Spring fundamentals.

Spring Boot vs. Spring MVC vs. Spring: How Do They Compare?
https://morioh.com/p/4838afbc3e07

Build a microservices architecture with Spring Boot and Spring Cloud
https://morioh.com/p/e616350f36c9

Java Spring - Limiting Query Result with Spring Data JPA
https://morioh.com/p/232bdedfc1e2

Spring Data REST Tutorial: Developing RESTful APIs with Ease
https://morioh.com/p/cfa73a9056e9

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

It covers the following Spring concepts:
Module 1: Course Overview

  • Introduction
  • What we need
  • Target Audience
  • Prerequisite
  • Course Walk through
  • What won’t be covered
  • Module summary

Module 2: Set up the development Environment

  • Introduction
  • Installing Java
  • Installing Maven
  • Installing - Spring Tool Suite
  • Creating Maven Project in Spring Tool Suite
  • Installing - Intellij IDEA
  • Creating Maven Project in Intellij Idea

Module 3: Spring Core Introduction

  • Spring Overview
  • Spring History
  • Spring Modules
  • Dependency Management: Traditional Ways
  • Dependency Management: Dependency Injection
  • Concepts of POJO and Bean
  • Inversion of Control : Spring IOC Container
  • Bean Factory Interface
  • ApplicationContext Interface
  • Configuring beans: XML based, Annotation and Java Config configuration
  • Module conclusion

Module 4: XML Based configuration

  • Introduction
  • Configuring POJOs with XML based configuration
  • ClassPathXmlApplicationContext
  • Setter based dependency Injection
  • Constructor based dependency Injection
  • Constructor vs Setter based Injections
  • Circular dependencies
  • Composing XML-based Configuration Metadata
  • Referencing Other beans
  • Inner Beans
  • Handling Java Collections
  • Merging Collections
  • Depends-on
  • Lazy-Initialization

Module 5: Autowiring

  • Basics of Autowiring
  • Autowiring Types,
  • No Autowiring ,
  • Autowiring byName,
  • Autowiring byType
  • Autowiring constructor
  • Issues with Autowiring

Module 6: Java Configuration

  • Configuring beans with Java Configuration
  • Component scan with @ComponentScan
  • @Configuration and @Bean Annotation
  • @Component, @Configuration, @Service and @Repository annotations
  • Constructor Injection
  • Autowiring POJOs
  • @Primary Annotation
  • @Qualifier Annotation
  • Importing Configuration
  • @Scope Annotation
  • @Lazy Annotation
  • @DependsOn

Module 7: Spring Beans in Depth

  • Introduction
  • Bean Life Cycle Callbacks
  • @PostConstruct and @PreDestroy annotations
  • Bean Scope
  • Bean Post Processor
  • POJO Creation with factory methods - Static factory, instance method and Spring factory bean
  • Managing environments - @Profile annotation
  • Spring Aware Interfaces
  • BeanNameAware
  • BeanFactoryAware
  • ApplicationContextAware
  • MessageSourceAware
  • ResourceLoaderAware
  • EnvironmentAware

Module 8: Spring Aspect Oriented Programming

  • AOP Introduction
  • Core AOP Concepts
  • What is Aspect?
  • Join Point
  • What is Advice?
  • Pointcut
  • AOP Proxy
  • Aspectj
  • Weaving
  • Aspectj and @EnableAspectJAutoProxy annotation
  • Advice Annotations: @Before, @After, @AfterReturing, @AfterThrowing, @Around
  • @Before and @After Annotation
  • @AfterReturning Annotation
  • @AfterThrowing Annotation
  • @Around
  • Demostration

Module 9: Spring Task Executor

  • Introduction to Java Executor, ExecutorService
  • Runnable, Callable and Future
  • Threadpool - Fixed thread pool , Cached thread pool, Single thread executor, scheduled thread pool executor
  • Spring TaskExecutor
  • Spring SimpleAsyncTaskExecutor
  • Spring SyncTaskExecutor
  • Spring TaskExecutorAdapter

Module 10: Communication between Beans - ApplicationEvent Management

  • Introduction
  • ApplicationListener Interface
  • ApplicationEventPublisher
  • Example

Module 11: Conclusion

  • Source Code
  • Course Aummary
  • WhatsNext

What you’ll 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,

Originally published

Social Network for Developers: http://bit.ly/2M1cxD2
Developer’s Store: http://bit.ly/2L27JNR
Learn Startup: http://bit.ly/2UDotMN
Learn to code: http://bit.ly/2pN2aXx
Fanpage: http://bit.ly/2LyM4fJ
Twitter: http://bit.ly/2J7vCS0

Suggest