Spring learning record


1. Two cores: AOP aspect oriented programming: extension function is not implemented by modifying source code; IOC: control reversal;

Firstly, the underlying implementation principle of IOC uses technologies: (1) XML configuration file (2) Dom4j parsing XML (3) engineering design pattern (4) reflection
Spring learning record

Secondly, there are three methods of bean instantiation, which mainly use calling the parameterless constructor to instantiate, and the other two static factories to create objects; Instance factories are not commonly used to create objects.

Recommended Today

Application of probability and statistics in machine learning MK

download:Application of probability and statistics in machine learning MK employee_1 = {‘name’: ‘david’, ‘dept’: ‘ops’, ‘post’: ‘NOC’, ‘salary’: 12000, ‘id’: 113}employee_2 = {‘name’: ‘brain’, ‘dept’: ‘auto’, ‘post’: ‘DBA’, ‘salary’: 13000, ‘id’: 115}employee_3 = {‘name’: ‘chris’, ‘dept’: ‘search’, ‘post’: ‘PJM’, ‘salary’: 20000, ‘id’: 150}employees = [employee_1, employee_2, employee_3]for employee in employees: employee[‘salary’] = employee[‘salary’] + 1000 […]