如果采用set get方法配置bean,bean需要有set get 方法需要有无参构造函数,spring 在生成对象时候会调用get和set方法还有无参构造函数
如果采用constructor方法则不用
application代表IOC容器
级联属性
bean 引用其他 bean 用ref标签