Spring入门(二)

一、Spring的配置 1. XML提示的配置 Schema的配置   2.  Bean的相关配置 (1) ID:使用了约束中的唯一约束。里面不能出现特殊字符的。 (2)name:没有使用约束中的唯一约束 重点:scope:Bean的作用范围 singleton:默认单例;prototype:多例模式;request;session;globalsession 二、Spring的Bean管理(XM
相关文章
相关标签/搜索