spring-ioc-gepingan:
目录:
代码实现
User模块实体类:User.java
User模块视图类:UserVo
User模块Dao层:UserDao
User模块Dao层实现类:UserDaoImpl
User模块Service层:UserService
User模块Service层实现类:UserServiceImpl
applicationContext.xml配置文件:
User模块测试类:UserTest
spring-AOP-gepingan:
文件目录:
1导入Spring基础包
2导入操作数据库、连接数据库、测试需要的包
3配置核心文件ApplicationContext.xml:
4AccountDaoImpl文件:
Account文件:
AccountDao文件:
AccountService文件:
AccountServiceImpl文件:
AccountTest文件:
ConnectionUtils文件:
TransactionManager文件: