Zenler Player
Your course is loading. Hang tight.
Spring Framework Fundamentals
Back to curriculum
0% Complete
0% Complete
Section Introduction
Key Spring Resources you Need to Know
Configuring a project's dependencies to use Spring
Adding the Spring BOM to Better Manage Dependency Versions
Section Introduction
A Look at the Application Context (aka The Spring Container)
Creating the File System XML Application Context
Configuring Autocomplete when Writing Spring XML Configuration Files
Section Introduction
Creating a Bean Managed with Spring's XML Container Configuration
Retrieving and Using a Bean from the Spring Container
Using the Classpath XML Application Context
Understanding Singleton Scope
Understanding Prototype Scope
Understanding How Spring Creates Stateless Beans
Section Introduction
Coding Beans to Use Constructor Dependency Injection
Interpreting a Spring Container Exception
Applying Constructor Dependency Injection to XML Configuration
Verifying the Constructor Dependency Injection with the Debugger
The Sharability of Beans in an IoC Container
The Benefits of Dependency Injection in an IoC Container
The Hollywood Principle
Coding Beans to Use Setter Dependency Injection
Applying Setter Dependency Injection in XML Configuration
Verifying the Setter Dependency Injection with the Debugger
Section Introduction
Adding Component Scanning to Autodetect Spring Managed Bean Annotations
Coding Beans to be Automanaged and Autowired by Spring via Annotations
The Advantage of Annotation-based Configuration over XML Configuration
Verifying the Annotation-driven Autowired Beans
Spring's Stereotype Annotations for Better Code Readability
Setter Dependency Injection with Annotations
Constructor Dependency Injection with Annotations
Using the Annotation-Based Application Context
Creating a Java Configuration Class
Applying Java-based configuration with @Bean
Using Scopes with Java-based Configuration
Modeling a More Complex Application to Demonstrate Autowiring Ambiguity Issues
Resolving Ambiguous Arguments of the Same Type by Narrowing the Reference Type
Resolving Ambiguous Arguments of the Same Type by Using @Qualifier
Section Introduction
Injecting Properties read from a Properties File with @Value in Spring Managed Beans
Exploring Property Overriding in Spring
Accessing and using properties with PropertyPlaceholder in XML Configuration
Specifying default properties for property values
Exceptions for Missing property keys in Spring
Resolving and Using a Property Value in a Bean definition in XML Configuration
Accessing the Current Active Profiles with the Environment interface
Setting the current active profile programmatically and through a property switch
Creating Profile-specific bean configuration
Conditional Beans with @Profile
The Proxy Design Pattern
Seeing Proxies in Action
The Disadvantages of a Regular Proxy
Understanding JDK Dynamic Proxies
Dynamic Proxies in Spring
Understanding How Spring Makes Service Methods Transactional using Proxies
Spring Managed Bean Lifecycle Callback Methods
JDK Standard Lifecycle Annotations (@PostConstruct and @PreDestroy)
The Sequence of Spring Container Callbacks on a Spring Managed Bean
Application Container Callbacks and Events
Using the Aware Interfaces to Access Lower-Level Spring Framework Components
Using JDBC DAO Support to Remove Boilerplate JDBC Code
Creating and Configuring Data Sources
Creating a Data Access Object to Access a Database
Connection Pool Data Sources in Spring
Creating a JDBC Template to Access a Database
Using JDBC Templates to Insert and Query Data
Preparing a Spring Project to Use Aspects
Creating a Spring Managed Bean to be Intercepted
Advising Beans in Spring
Understanding Pointcuts and Joinpoints
Accessing Joinpoints Programmatically within an Aspect
Coding Dynamic Advice with Around
Preparing a Maven Project to Use Spring MVC
Registering the Dispatcher Servlet as Front Controller
Creating the Web Application Context
Creating a Controller Class
Configuring the Jetty Plugin in Maven to Run a Web App
Setting Up Remote Debugging of a Web App
Understanding the Dispatcher Servlet Processing Flow
Writing a Controller to Service Web Requests
Rendering a JSP-Based View with View Resolvers
Understanding How a Request is Serviced
Passing a Model to the View for More Dynamic Pages
Injecting the HTTP Servlet Request and Response into a Controller
Passing Request Parameters and Query Strings to a Controller
Using Path Variables to Access Parts of the Request Path
Getting Started
Section Introduction
Preview
Key Spring Resources you Need to Know
Preview
Configuring a project's dependencies to use Spring
Preview
Adding the Spring BOM to Better Manage Dependency Versions
Creating the Spring Container with Application Contexts
Section Introduction
A Look at the Application Context (aka The Spring Container)
Creating the File System XML Application Context
Preview
Configuring Autocomplete when Writing Spring XML Configuration Files
Creating, Retrieving and Using Spring-Managed Beans
Section Introduction
Creating a Bean Managed with Spring's XML Container Configuration
Retrieving and Using a Bean from the Spring Container
Preview
Using the Classpath XML Application Context
Understanding Singleton Scope
Understanding Prototype Scope
Understanding How Spring Creates Stateless Beans
Understanding Dependency Injection and Inversion of Control
Section Introduction
Coding Beans to Use Constructor Dependency Injection
Interpreting a Spring Container Exception
Applying Constructor Dependency Injection to XML Configuration
Verifying the Constructor Dependency Injection with the Debugger
The Sharability of Beans in an IoC Container
The Benefits of Dependency Injection in an IoC Container
The Hollywood Principle
Coding Beans to Use Setter Dependency Injection
Applying Setter Dependency Injection in XML Configuration
Verifying the Setter Dependency Injection with the Debugger
Autowiring Dependencies in the Spring Container
Section Introduction
Adding Component Scanning to Autodetect Spring Managed Bean Annotations
Coding Beans to be Automanaged and Autowired by Spring via Annotations
The Advantage of Annotation-based Configuration over XML Configuration
Verifying the Annotation-driven Autowired Beans
Spring's Stereotype Annotations for Better Code Readability
Setter Dependency Injection with Annotations
Constructor Dependency Injection with Annotations
Using the Annotation-Based Application Context
Creating a Java Configuration Class
Applying Java-based configuration with @Bean
Using Scopes with Java-based Configuration
Modeling a More Complex Application to Demonstrate Autowiring Ambiguity Issues
Resolving Ambiguous Arguments of the Same Type by Narrowing the Reference Type
Resolving Ambiguous Arguments of the Same Type by Using @Qualifier
Using Properties and Profiles in Spring Projects
Section Introduction
Injecting Properties read from a Properties File with @Value in Spring Managed Beans
Exploring Property Overriding in Spring
Accessing and using properties with PropertyPlaceholder in XML Configuration
Specifying default properties for property values
Exceptions for Missing property keys in Spring
Resolving and Using a Property Value in a Bean definition in XML Configuration
Accessing the Current Active Profiles with the Environment interface
Setting the current active profile programmatically and through a property switch
Creating Profile-specific bean configuration
Conditional Beans with @Profile
Getting to Know the Spring Container
The Proxy Design Pattern
Seeing Proxies in Action
The Disadvantages of a Regular Proxy
Understanding JDK Dynamic Proxies
Dynamic Proxies in Spring
Understanding How Spring Makes Service Methods Transactional using Proxies
Spring Managed Bean Lifecycle Callback Methods
JDK Standard Lifecycle Annotations (@PostConstruct and @PreDestroy)
The Sequence of Spring Container Callbacks on a Spring Managed Bean
Application Container Callbacks and Events
Using the Aware Interfaces to Access Lower-Level Spring Framework Components
Accessing Databases with Spring
Using JDBC DAO Support to Remove Boilerplate JDBC Code
Creating and Configuring Data Sources
Creating a Data Access Object to Access a Database
Connection Pool Data Sources in Spring
Creating a JDBC Template to Access a Database
Using JDBC Templates to Insert and Query Data
Aspect Oriented Programming in Spring
Preparing a Spring Project to Use Aspects
Creating a Spring Managed Bean to be Intercepted
Advising Beans in Spring
Understanding Pointcuts and Joinpoints
Accessing Joinpoints Programmatically within an Aspect
Coding Dynamic Advice with Around
Web Application Development in Spring
Preparing a Maven Project to Use Spring MVC
Registering the Dispatcher Servlet as Front Controller
Creating the Web Application Context
Creating a Controller Class
Configuring the Jetty Plugin in Maven to Run a Web App
Setting Up Remote Debugging of a Web App
Understanding the Dispatcher Servlet Processing Flow
Writing a Controller to Service Web Requests
Rendering a JSP-Based View with View Resolvers
Understanding How a Request is Serviced
Passing a Model to the View for More Dynamic Pages
Injecting the HTTP Servlet Request and Response into a Controller
Passing Request Parameters and Query Strings to a Controller
Using Path Variables to Access Parts of the Request Path
×
This is an unpublished lesson. This lesson will not be shown for students unless you set it as Public.
Back to Dashboard
No contents are available in this lesson!
No lessons available !
Back to Dashboard
Lesson contents locked
Enroll to unlock this lesson.
Enroll to unlock
Next Lesson