52ky 发表于 2022-10-8 18:27:17

spring实践第二章

Spring冗长的XML配置饱受批评。为此,Spring提供了几种减少SpringXML配置的方式。在本章中学习了如下:?使用自动装配来替代lt;propertygt;和lt;constructor-arggt;元素。?通过组件检测自动管理整个lt;beangt;配置元素。?使用基于Java的Spring配置替代XML配置。

(Spring's lengthy XML configuration has been criticized. To this end, Spring provides several ways to reduce Spring XML configuration. In this chapter, I learned the following:? Use automatic assembly to replace lt; propertygt; And lt; constructor-arggt; Element.? Automatically manage the entire lt; beangt; Configuration element.? Replace XML configuration with Java based Spring configuration.)




页: [1]
查看完整版本: spring实践第二章