spring笔记2-注解
一.属性与成员变量的区别:
属性:对外暴露的,getxxx/setxxx称为属性;
成员变量:private String name称为成员变量或字段
二.applicationContext.xml的书写
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-4.2.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-4.2.xsd ">