Chapter 9 Spring4 AOP

AOP concept:

Aspect-Oriented Programming (also called Aspect-Oriented Programming): Aspect Oriented Programming (AOP) is a hot spot in software development and an important part of the Spring framework. Using AOP can isolate each part of business logic, so as to reduce the coupling between each part of business logic, improve the reusability of the program, and improve the efficiency of development. The main functions are: logging, performance statistics, security control, transaction processing, exception handling and so on.





<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans.xsd">
	
	<bean id="studentService" class="com.fx.service.impl.StudentServiceImpl"></bean>
	
</beans>

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327026773&siteId=291194637