03 2014 档案

摘要:依赖注入对象可以 手工装配(建议) 和 自动装配package com.PersonDaoBean.test;public interface PersonDao { public abstract void add();}package com.PersonDaoBean.test;public ... 阅读全文
posted @ 2014-03-29 18:28 MrMrCash 阅读(270) 评论(0) 推荐(0)
摘要:package com.dao.bean.www;import java.util.List;import java.util.Map;import java.util.Properties;import java.util.Set;public interface PersonServiceDao... 阅读全文
posted @ 2014-03-29 17:48 MrMrCash 阅读(252) 评论(0) 推荐(0)
摘要:IOC反转控制 PersonService属性 PersonDao personDao接受通过xml注入的对象 PersonDaoBean. Person中save()调用 PersonDaoBean中的add()package com.PersonDaoBean.test;public inter... 阅读全文
posted @ 2014-03-29 12:23 MrMrCash 阅读(150) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-03-29 02:11 MrMrCash 阅读(211) 评论(0) 推荐(0)
摘要://Dao类package com.dao.bean.www;public interface PersonServiceDao { public abstract void save();}//Beanpackage com.bean.www;import com.dao.bean.www.Per... 阅读全文
posted @ 2014-03-29 02:04 MrMrCash 阅读(301) 评论(0) 推荐(0)
摘要:/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open ... 阅读全文
posted @ 2014-03-23 22:51 MrMrCash 阅读(229) 评论(0) 推荐(0)