带事务回滚测试的SSH整合小案例(Spring 3.2+Hibernate 3.3+Struts 2.3)

上传者: ccdust | 上传时间: 2013-05-27 00:00:00 | 文件大小: 15.52MB | 文件类型: rar
集成了Spring 3.2.2 Hibernate 3.3.2 Struts 2.3.4 用JPA的注解实现orm 不用创建数据库表 只需本机上有oracle即可 用JSR注解进行Spring的依赖注入 用Spring Test整合Junit4 进行测试并自动事务回滚 不对数据库造成持久化操作

文件下载

资源详情

[{"title":"( 73 个子文件 15.52MB ) 带事务回滚测试的SSH整合小案例(Spring 3.2+Hibernate 3.3+Struts 2.3)","children":[{"title":"SSHExtJs","children":[{"title":"test","children":[{"title":"com","children":[{"title":"test","children":[{"title":"SchoolTest.java <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"WebContent","children":[{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 39B </span>","children":null,"spread":false}],"spread":true},{"title":"WEB-INF","children":[{"title":"web.xml <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"commons-collections-3.1.jar <span style='color:#111;'> 546.26KB </span>","children":null,"spread":false},{"title":"hibernate-annotations.jar <span style='color:#111;'> 273.16KB </span>","children":null,"spread":false},{"title":"dom4j-1.6.1.jar <span style='color:#111;'> 306.54KB </span>","children":null,"spread":false},{"title":"ejb3-persistence.jar <span style='color:#111;'> 49.40KB </span>","children":null,"spread":false},{"title":"javassist-3.11.0.GA.jar <span style='color:#111;'> 599.81KB </span>","children":null,"spread":false},{"title":"aopalliance-1.0.jar <span style='color:#111;'> 4.36KB </span>","children":null,"spread":false},{"title":"asm-tree-3.3.jar <span style='color:#111;'> 21.00KB </span>","children":null,"spread":false},{"title":"spring-orm-3.2.2.RELEASE.jar <span style='color:#111;'> 378.05KB </span>","children":null,"spread":false},{"title":"commons-io-2.0.1.jar <span style='color:#111;'> 155.77KB </span>","children":null,"spread":false},{"title":"spring-web-3.2.2.RELEASE.jar <span style='color:#111;'> 611.51KB </span>","children":null,"spread":false},{"title":"freemarker-2.3.19.jar <span style='color:#111;'> 909.34KB </span>","children":null,"spread":false},{"title":"asm-3.3.jar <span style='color:#111;'> 42.56KB </span>","children":null,"spread":false},{"title":"ojdbc6.jar <span style='color:#111;'> 2.01MB </span>","children":null,"spread":false},{"title":"struts2-core-2.3.14.jar <span style='color:#111;'> 778.46KB </span>","children":null,"spread":false},{"title":"spring-beans-3.2.2.RELEASE.jar <span style='color:#111;'> 593.21KB </span>","children":null,"spread":false},{"title":"commons-dbcp-1.4.jar <span style='color:#111;'> 156.76KB </span>","children":null,"spread":false},{"title":"ognl-3.0.6.jar <span style='color:#111;'> 222.65KB </span>","children":null,"spread":false},{"title":"spring-expression-3.2.2.RELEASE.jar <span style='color:#111;'> 190.88KB </span>","children":null,"spread":false},{"title":"slf4j-nop-1.5.8.jar <span style='color:#111;'> 5.16KB </span>","children":null,"spread":false},{"title":"javassist-3.9.0.GA.jar <span style='color:#111;'> 583.47KB </span>","children":null,"spread":false},{"title":"hibernate-commons-annotations.jar <span style='color:#111;'> 65.42KB </span>","children":null,"spread":false},{"title":"aspectjweaver.jar <span style='color:#111;'> 1.74MB </span>","children":null,"spread":false},{"title":"commons-logging-1.1.2.jar <span style='color:#111;'> 60.60KB </span>","children":null,"spread":false},{"title":"spring-jdbc-3.2.2.RELEASE.jar <span style='color:#111;'> 395.58KB </span>","children":null,"spread":false},{"title":"aspectjrt.jar <span style='color:#111;'> 114.11KB </span>","children":null,"spread":false},{"title":"slf4j-api-1.5.8.jar <span style='color:#111;'> 22.90KB </span>","children":null,"spread":false},{"title":"xwork-core-2.3.14.jar <span style='color:#111;'> 621.51KB </span>","children":null,"spread":false},{"title":"commons-fileupload-1.2.2.jar <span style='color:#111;'> 58.19KB </span>","children":null,"spread":false},{"title":"asm-commons-3.3.jar <span style='color:#111;'> 37.38KB </span>","children":null,"spread":false},{"title":"spring-context-3.2.2.RELEASE.jar <span style='color:#111;'> 841.70KB </span>","children":null,"spread":false},{"title":"struts2-spring-plugin-2.3.14.jar <span style='color:#111;'> 21.31KB </span>","children":null,"spread":false},{"title":"spring-test-3.2.2.RELEASE.jar <span style='color:#111;'> 445.45KB </span>","children":null,"spread":false},{"title":"jta-1.1.jar <span style='color:#111;'> 12.93KB </span>","children":null,"spread":false},{"title":"commons-pool-1.6.jar <span style='color:#111;'> 108.51KB </span>","children":null,"spread":false},{"title":"commons-lang3-3.1.jar <span style='color:#111;'> 308.40KB </span>","children":null,"spread":false},{"title":"spring-core-3.2.2.RELEASE.jar <span style='color:#111;'> 846.47KB </span>","children":null,"spread":false},{"title":"antlr-2.7.6.jar <span style='color:#111;'> 433.04KB </span>","children":null,"spread":false},{"title":"spring-aop-3.2.2.RELEASE.jar <span style='color:#111;'> 327.50KB </span>","children":null,"spread":false},{"title":"hibernate3.jar <span style='color:#111;'> 2.31MB </span>","children":null,"spread":false},{"title":"spring-tx-3.2.2.RELEASE.jar <span style='color:#111;'> 236.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"index.jsp <span style='color:#111;'> 514B </span>","children":null,"spread":false},{"title":"error.jsp <span style='color:#111;'> 366B </span>","children":null,"spread":false},{"title":"School_Add_Success.jsp <span style='color:#111;'> 612B </span>","children":null,"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.wst.jsdt.ui.superType.name <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.project.facet.core.xml <span style='color:#111;'> 305B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.component <span style='color:#111;'> 551B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.container <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":".jsdtscope <span style='color:#111;'> 503B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 364B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"jdbc.properties <span style='color:#111;'> 142B </span>","children":null,"spread":false},{"title":"com","children":[{"title":"dao","children":[{"title":"SchoolDao.java <span style='color:#111;'> 189B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"SchoolDaoImpl.java <span style='color:#111;'> 907B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"biz","children":[{"title":"SchoolBiz.java <span style='color:#111;'> 192B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"SchoolBizImpl.java <span style='color:#111;'> 725B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"web","children":[{"title":"School_Add_Action.java <span style='color:#111;'> 883B </span>","children":null,"spread":false}],"spread":true},{"title":"entity","children":[{"title":"School.java <span style='color:#111;'> 726B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"struts.xml <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"applicationContext.xml <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 3.98KB </span>","children":null,"spread":false},{"title":"build","children":[{"title":"classes","children":[{"title":"jdbc.properties <span style='color:#111;'> 142B </span>","children":null,"spread":false},{"title":"com","children":[{"title":"dao","children":[{"title":"SchoolDao.class <span style='color:#111;'> 256B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"SchoolDaoImpl.class <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"SchoolTest.class <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false}],"spread":true},{"title":"biz","children":[{"title":"SchoolBiz.class <span style='color:#111;'> 256B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"SchoolBizImpl.class <span style='color:#111;'> 997B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"web","children":[{"title":"School_Add_Action.class <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false}],"spread":false},{"title":"entity","children":[{"title":"School.class <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"struts.xml <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"applicationContext.xml <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • 残念漫者 :
    标题理解错误。此项目仅有基本的示例MVC代码,以及一个测试单元(默认是回滚操作,不插数据库)。测试单元没有包含异常回滚的测试。各位不要下载了。
    2015-12-03
  • dong_19890208 :
    本来想找带事务回滚的单元测试的例子的,看错标题了
    2015-11-23
  • yp409651587 :
    还不错,有用
    2015-10-13
  • javawang2014 :
    说心里话,基本没用
    2015-08-20
  • 小白人Zzz :
    下载来学习一下,不错
    2015-08-04

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明