Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Spring: Framework In Depth

via LinkedIn Learning

Overview

Get a comprehensive overview of Spring, the enterprise application framework and inversion-of-control container for Java.

Spring is an application framework and inversion-of-control (IOC) container for the Java platform. The framework's core features can be used by any Java application and are ideal for enterprise and internet-based app development. Get a comprehensive overview of Spring in this intermediate-level course with software architect Frank Moley. Frank develops applications and web services with Spring, and shares what he knows about configuring the ApplicationContext (the interface for accessing components, loading files, publishing events, and more), as well as the beans (objects within the Spring IOC container). He demonstrates a modern Java configuration workflow and explores the Spring lifecycle in depth, so you can extend the framework and better troubleshoot any issues you have with your applications. Plus, learn how to use aspect-oriented programming to add behaviors to your apps in a reusable way.

Syllabus

Introduction
  • Building blocks of Spring
  • What you should know
1. Spring Overview
  • Introduction to Spring
  • The inversion of control (IoC) container
2. Configuring the ApplicationContext
  • Introduction to the ApplicationContext
  • Configuration of Spring with Java
  • Work with the environment
  • Profiles
  • Spring Expression Language
  • Bean scopes
  • Proxies
3. Component Scanning
  • The component scan
  • Implementing component scanning
  • Lifecycle methods
4. The Bean Lifecycle
  • Why the lifecycle is so important
  • The overall picture
  • The init phase: Loading bean definitions
  • Init: Bean factory post-processing
  • Init: Bean instantiation
  • Init: Setters
  • Init: Bean post-processing
  • Init: Differences based on configuration
  • The use phase
  • The destruction phase
5. Aspect-Oriented Programming
  • Aspecting in Spring
  • Define aspect-oriented programming (AOP) pointcuts
  • Implement AOP advice: Before
  • Implement AOP advice: After
  • Implement AOP advice: Around
  • Challenge: Building your own aspect
  • Solution: Building your own aspect
Conclusion
  • Next steps

Taught by

Frank P Moley III

Reviews

Start your review of Spring: Framework In Depth

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.