文件名称:spring_beginning
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:8.14kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
1、spring依赖库
* SPRING_HOME/dist/spring.jar
* SPRING_HOME/lib/jakarta-commons/commons-logging.jar
* SPRING_HOME/lib/log4j/log4j-1.2.14.jar
2、拷贝spring配置文件到src下
3、拷贝log4j配置文件到src下
4、在UserManagerImpl中提供构造函数或setter方法,spring将实例化好的UserDao实现注入给我们
5、让spring管理我们的对象创建和依赖,必须在spring配置中进行定义
6、编写客户端
spring Ioc容器的关键点:
* 必须将被管理的对象定义到spring配置文件中
* 必须定义构造函数或setter方法,让spring将对象注入过来
* SPRING_HOME/dist/spring.jar
* SPRING_HOME/lib/jakarta-commons/commons-logging.jar
* SPRING_HOME/lib/log4j/log4j-1.2.14.jar
2、拷贝spring配置文件到src下
3、拷贝log4j配置文件到src下
4、在UserManagerImpl中提供构造函数或setter方法,spring将实例化好的UserDao实现注入给我们
5、让spring管理我们的对象创建和依赖,必须在spring配置中进行定义
6、编写客户端
spring Ioc容器的关键点:
* 必须将被管理的对象定义到spring配置文件中
* 必须定义构造函数或setter方法,让spring将对象注入过来
相关搜索: spring.jar
(系统自动生成,下载前可以参看下载内容)
下载文件列表
spring_beginning/.classpath
spring_beginning/.project
spring_beginning/bin/applicationContext.xml
spring_beginning/bin/com/bjsxt/spring/client/Client.class
spring_beginning/bin/com/bjsxt/spring/client
spring_beginning/bin/com/bjsxt/spring/dao/UserDao.class
spring_beginning/bin/com/bjsxt/spring/dao/UserDao4MySqlImpl.class
spring_beginning/bin/com/bjsxt/spring/dao/UserDao4OracleImpl.class
spring_beginning/bin/com/bjsxt/spring/dao
spring_beginning/bin/com/bjsxt/spring/manager/UserManager.class
spring_beginning/bin/com/bjsxt/spring/manager/UserManagerImpl.class
spring_beginning/bin/com/bjsxt/spring/manager
spring_beginning/bin/com/bjsxt/spring
spring_beginning/bin/com/bjsxt
spring_beginning/bin/com
spring_beginning/bin/log4j.properties
spring_beginning/bin
spring_beginning/readme.txt
spring_beginning/src/applicationContext.xml
spring_beginning/src/com/bjsxt/spring/client/Client.java
spring_beginning/src/com/bjsxt/spring/client
spring_beginning/src/com/bjsxt/spring/dao/UserDao.java
spring_beginning/src/com/bjsxt/spring/dao/UserDao4MySqlImpl.java
spring_beginning/src/com/bjsxt/spring/dao/UserDao4OracleImpl.java
spring_beginning/src/com/bjsxt/spring/dao
spring_beginning/src/com/bjsxt/spring/manager/UserManager.java
spring_beginning/src/com/bjsxt/spring/manager/UserManagerImpl.java
spring_beginning/src/com/bjsxt/spring/manager
spring_beginning/src/com/bjsxt/spring
spring_beginning/src/com/bjsxt
spring_beginning/src/com
spring_beginning/src/log4j.properties
spring_beginning/src
spring_beginning
spring_beginning/.project
spring_beginning/bin/applicationContext.xml
spring_beginning/bin/com/bjsxt/spring/client/Client.class
spring_beginning/bin/com/bjsxt/spring/client
spring_beginning/bin/com/bjsxt/spring/dao/UserDao.class
spring_beginning/bin/com/bjsxt/spring/dao/UserDao4MySqlImpl.class
spring_beginning/bin/com/bjsxt/spring/dao/UserDao4OracleImpl.class
spring_beginning/bin/com/bjsxt/spring/dao
spring_beginning/bin/com/bjsxt/spring/manager/UserManager.class
spring_beginning/bin/com/bjsxt/spring/manager/UserManagerImpl.class
spring_beginning/bin/com/bjsxt/spring/manager
spring_beginning/bin/com/bjsxt/spring
spring_beginning/bin/com/bjsxt
spring_beginning/bin/com
spring_beginning/bin/log4j.properties
spring_beginning/bin
spring_beginning/readme.txt
spring_beginning/src/applicationContext.xml
spring_beginning/src/com/bjsxt/spring/client/Client.java
spring_beginning/src/com/bjsxt/spring/client
spring_beginning/src/com/bjsxt/spring/dao/UserDao.java
spring_beginning/src/com/bjsxt/spring/dao/UserDao4MySqlImpl.java
spring_beginning/src/com/bjsxt/spring/dao/UserDao4OracleImpl.java
spring_beginning/src/com/bjsxt/spring/dao
spring_beginning/src/com/bjsxt/spring/manager/UserManager.java
spring_beginning/src/com/bjsxt/spring/manager/UserManagerImpl.java
spring_beginning/src/com/bjsxt/spring/manager
spring_beginning/src/com/bjsxt/spring
spring_beginning/src/com/bjsxt
spring_beginning/src/com
spring_beginning/src/log4j.properties
spring_beginning/src
spring_beginning
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.