main方法调用spring中dao service方法

	public static void main(String[] args) {
		ApplicationContext context = new 
				ClassPathXmlApplicationContext("ApplicationContext.xml");
		System.out.println("aaa");
//		ServiceReportService service = (ServiceReportService)context.getBean("serviceReportService");
		
	}

  

posted on 2014-11-22 14:22  w z y  阅读(3400)  评论(1编辑  收藏  举报