Get a comprehensive overview of Spring, the enterprise application framework and inversion-of-control container for Java.
Overview
Syllabus
Introduction
- Building blocks of Spring
- What you should know
- Introduction to Spring
- The inversion of control (IoC) container
- Introduction to the ApplicationContext
- Configuration of Spring with Java
- Work with the environment
- Profiles
- Spring Expression Language
- Bean scopes
- Proxies
- The component scan
- Implementing component scanning
- Lifecycle methods
- 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
- 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
- Next steps
Taught by
Frank P Moley III