Java Spring: Aspect-Oriented Programming Using Spring AOP
Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number
Expertise Level
Overview/Description
The Spring Framework is an open source framework and inversion of controller container for the Java platform. The Spring Framework is one of the most popular application development frameworks for creating enterprise Java applications. This course covers using aspect-oriented concepts in a Spring application. In this course, you will learn how to implement aspect-oriented programming, or AOP, in a Spring application by using Spring AOP.
Target Audience
Java developers seeking to learn how to implement aspects and advice in their Spring applications
Prerequisites
None
Expected Duration (hours)
3.8
Lesson Objectives Java Spring: Aspect-Oriented Programming Using Spring AOP
start the course
recognize the concepts involved in Aspect-Oriented Programming
recognize some of the benefits of Aspect-Oriented Programming
become familiar with AOP terminology
create a simple aspect in XML configuration in a Spring application
create pointcuts that can be reused
create a simple aspect using annotations in a Spring application
access information about the current JoinPoint (method execution) in advice body
configure Spring AOP in a Spring application with a Java-based configuration
understand Spring AOP's proxy-based approach to aspect-oriented programming
recognize the different types of advice you can use when using Spring AOP
advise a method execution in Spring with Before advice
advise a method execution in Spring with After Returning advice
advise a method execution in Spring with After Throwing advice
advise a method execution in Spring with After (Finally) advice
advise a method execution in Spring with Around advice
access and work with thrown exceptions within the body of Around advice
access and work with values returned from method executions within the body of Around advice
recognize how pointcuts are declared
declare and combine pointcuts
use pointcut expressions to match method executions with specific return types
use pointcut expressions to match method executions with specific method names
use pointcut expressions to match method executions with specific method parameters
recognize the different types of pointcut designators supported by Spring AOP
use pointcut expressions to match method executions in packages and classes
use the args pointcut designator to match method executions with specific arguments
use the bean pointcut designator to match method executions from specific beans
use the annotation pointcut designator to match method executions with specific annotations
implement aspects and advice in a Spring application
Course Number: jl_spng_a05_it_enus
Expertise Level
Intermediate