-----------------------------基于XML配置方案目标对象接口1 public interface IUserService { public void add(); public void update(); public void del(); public void search(); } 1.创建目标对象 public class UserServiceImpl implements IUserService { @Override public void ad