Learn Spring Core Framework the Easy Way

Video description

Are you a professional willing to enter the Spring Framework world?

Spring Core is the starting point to learn the Spring Framework, and having a solid understanding of the core concepts of Spring would not only ease your journey to learn other modules/projects of Spring but also clear interviews.

Spring is a lightweight, extensible, robust framework (or rather framework of frameworks!) to create enterprise applications that are easy to maintain.

Spring Core is the core module that comes with an embedded servlet container (IOC container) and would enable the core functionalities of Spring. You can think of Spring Core as the core engine on which other modules would run.

This course is taught in a beginner-friendly way and the only expectation from you is that you know Java.

We’ll be working with Spring 5.1.1 in this course. However, this course should be compatible with 5.X versions of Spring.

What You Will Learn

  • Learn about dependency injection
  • Understand the concept of aspect-oriented programming
  • Learn about prototype beans
  • Learn about factory beans
  • Learn about the bean life cycle
  • Learn about property editors


This course is mainly for people who want to get started with developing enterprise applications using Java. This course would be useful for those who wish to learn servlet and JSP. You must be familiar with Java programming and some basic understanding of HTML.

About The Author

Karthikeya T.: Teaching is an art in Karthikeya T.’s opinion. He believes it’s the responsibility of the instructor to make sure that the student understands the concepts.

He doesn’t want to promote his decade and a half of experience in the industry. All his experience means nothing to him if he fails to teach his students in the way they understand.

His primary focus is to teach the technology and ease our journey to a successful life.

Publisher resources

Download Example Code

Table of contents

  1. Chapter 1 : Introduction
    1. Introduction to the Course
  2. Chapter 2 : Setting Up the Environment
    1. Setting Up the Environment
  3. Chapter 3 : Dependency Injection
    1. Tight Coupling
    2. Dependency Injection
    3. Dependency Injection with Spring
  4. Chapter 4 : IOC Container
    1. IOC Container
    2. Java Config
    3. Multiple Configs
    4. Bean Factory
  5. Chapter 5 : Constructor and Setter Injection
    1. Theory
    2. CI Example
    3. Noteworthy Points
    4. Setter Injection
    5. Ambiguity Problem
  6. Chapter 6 : Bean Life Cycle
    1. Bean Life Cycle Theory
    2. Init Destroy Example
    3. Init Destroy from Config
    4. Bean Post Processor
    5. Spring Wiring
  7. Chapter 7 : Aware Interfaces
    1. Aware Interfaces Theory
    2. Bean Name Aware
    3. Resource Loader Aware
    4. Application Context Aware
    5. Other Aware Interfaces
  8. Chapter 8 : Singleton
    1. Singleton Design Pattern
    2. Singleton Design Pattern Continued
    3. Lazy and Eager Loading
    4. Singleton in Spring
    5. Spring Lazy and Eager Loading
    6. Singleton in Spring Versus Singleton Pattern
  9. Chapter 9 : Prototype Scope
    1. Prototype Scope
    2. Prototype Bean Life Cycle
    3. Destroy Method
    4. Noteworthy Points
    5. Method Injection
  10. Chapter 10 : Autowiring
    1. SI Autowiring
    2. Autowire Annotation
    3. Constructor Autowiring
    4. Include/Exclude Beans
    5. Circular Dependency
    6. Pros and Cons
  11. Chapter 11 : Property Editors
    1. Default Property Editors
    2. Custom Editors
    3. Custom Editors Continued
    4. Using Registrar
  12. Chapter 12 : Profiles
    1. Profiles
    2. JVM Param
    3. Single Config File
    4. Profiles in XML
  13. Chapter 13 : Factory Beans
    1. Factory Methods
    2. Factory Beans
  14. Chapter 14 : Aspect-Oriented Programming
    1. Cross Cutting Concerns
    2. AOP Theory
    3. AOP with Spring
  15. Chapter 15 : AspectJ
    1. Aspectj Versus Spring AOP
    2. Aspectj Theory
    3. AOP with Aspectj
  16. Chapter 16 : AOP Concepts
    1. Advices
    2. Order of Aspect
    3. Attributes
  17. Chapter 17 : Pointcut Expression Language
    1. Pointcut Expression
    2. Designators
  18. Chapter 18 : Events in Spring
    1. What are Events
    2. Observer Design Pattern
    3. Events in Spring
    4. Built-In Events in Spring
    5. Custom Events

Product information

  • Title: Learn Spring Core Framework the Easy Way
  • Author(s): Karthikeya T.
  • Release date: April 2021
  • Publisher(s): Packt Publishing
  • ISBN: 9781801071680