摘要:
转自:http://gladto.iteye.com/blog/728634 背景知识: 从JDK5开始提供名为Annotation(注释)的功能,它被定义为JSR-175规范。注释是以“@注释名”在代码中存在的,还可以添加一些参数值,例如:@SuppressWarnings(value="unch 阅读全文
摘要:
这种方式比较精简 配置项不多 spring采用自动扫描配置 ,分spring_springMVC.xml 、 hibernate_config.xml 两个文件 web.xml配置如下 spring_springmvc.xml配置如下 hibernate.xml配置如下 阅读全文
摘要:
这种配置方式是将Spring 、SpringMVC、Hibernate三个模块分开配置,交叉引用!hibernate连接配置使用.properties文件 web.xml配置 spring.xml SpringMVC.xml spring_hibernate.xml congfig.properti 阅读全文