摘要: ApplicationContext context = new ClassPathXmlApplicationContext("/webservice-servlet.xml"); AccountService accountService = (AccountService)context.... 阅读全文
posted @ 2013-03-06 14:42 Shaman 阅读(1959) 评论(0) 推荐(0) 编辑
摘要: 惭愧 到现在没熟悉这三个注解的用法。 英文原文:http://java.sun.com/docs/books/tutorial/java/javaOO/annotations.htmlJDK5.0 引入了一种新的元语言工具,叫“annotation”。 Annotation 提供的信息不是程序的一... 阅读全文
posted @ 2013-03-06 09:11 Shaman 阅读(328) 评论(0) 推荐(0) 编辑