会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
伟我独high
博客园
首页
新随笔
联系
管理
订阅
2013年10月9日
spring 牛刀小试之配置
摘要: 配置文件格式: 引入配置文件: ApplicationContext cxt = new ClassPathXmlApplicationContext("applicationContext.xml"); 构造2个bean 进行注入: 调用:UserService service=cxt.getBean("service",UserService.class); User user=new User(); service.UserSava(user);
阅读全文
posted @ 2013-10-09 16:33 伟我独high
阅读(139)
评论(0)
推荐(0)
编辑
公告