Struts2118+Spring30+Hibernate332+DWR206.docx
- 文档编号:5363304
- 上传时间:2022-12-15
- 格式:DOCX
- 页数:10
- 大小:19.31KB
Struts2118+Spring30+Hibernate332+DWR206.docx
《Struts2118+Spring30+Hibernate332+DWR206.docx》由会员分享,可在线阅读,更多相关《Struts2118+Spring30+Hibernate332+DWR206.docx(10页珍藏版)》请在冰豆网上搜索。
Struts2118+Spring30+Hibernate332+DWR206
Struts2.1.8+Spring3.0+Hibernate3.3.2+DWR2.0.6
项目所需要用的包(包含常用包):
antlr-2.7.6.jar
aopalliance-1.0.jar
asm-all-3.2.jar
cglib-2.2.jar
commons-beanutils-1.8.2.jar
commons-codec-1.4.jar
commons-collections-3.2.1.jar
commons-digester-2.0.jar
commons-fileupload-1.2.1.jar
commons-io-1.4.jar
commons-lang-2.4.jar
commons-logging-1.1.1.jar
commons-validator-1.3.1.jar
dom4j-1.7.jar
dwr-2.06.jar
ehcache-1.2.3.jar
ejb3-persistence.jar
ezmorph-1.0.3.jar
freemarker-2.3.15.jar
hibernate-annotations.jar
hibernate-commons-annotations.jar
hibernate-entitymanager.jar
hibernate-search-3.1.1.GA.jar
hibernate-validator-4.0.2.GA.jar
hibernate3.jar
jakarta-oro-2.0.8.jar
javassist-3.9.0.GA.jar
json-lib-2.3-jdk15.jar
jstl.jar
jta-1.1.jar
jtds-1.2.5.jar
junit-4.8.1.jar
log4j-1.2.8.jar
ognl-2.7.3.jar
org.springframework.aop-3.0.0.RELEASE.jar
org.springframework.asm-3.0.0.RELEASE.jar
org.springframework.aspects-3.0.0.RELEASE.jar
org.springframework.beans-3.0.0.RELEASE.jar
org.springframework.context-3.0.0.RELEASE.jar
org.springframework.context.support-3.0.0.RELEASE.jar
org.springframework.core-3.0.0.RELEASE.jar
org.springframework.expression-3.0.0.RELEASE.jar
org.springframework.instrument-3.0.0.RELEASE.jar
org.springframework.instrument.tomcat-3.0.0.RELEASE.jar
org.springframework.jdbc-3.0.0.RELEASE.jar
org.springframework.jms-3.0.0.RELEASE.jar
org.springframework.orm-3.0.0.RELEASE.jar
org.springframework.oxm-3.0.0.RELEASE.jar
org.springframework.test-3.0.0.RELEASE.jar
org.springframework.transaction-3.0.0.RELEASE.jar
org.springframework.web-3.0.0.RELEASE.jar
org.springframework.web.portlet-3.0.0.RELEASE.jar
org.springframework.web.servlet-3.0.0.RELEASE.jar
org.springframework.web.struts-3.0.0.RELEASE.jar
poi-3.5-FINAL-20090928.jar
proxool-0.9.1.jar
proxool-cglib.jar
pull-parser-2.1.10.jar
slf4j-api-1.5.10.jar
slf4j-log4j12-1.5.10.jar
slf4j-nop-1.5.10.jar
standard.jar
struts2-convention-plugin-2.1.8.1.jar
struts2-core-2.1.8.1.jar
struts2-dwr-plugin-2.1.8.1.jar
struts2-json-plugin-2.1.8.1.jar
struts2-spring-plugin-2.1.8.1.jar
velocity-1.5.jar
velocity-tools-1.3.jar
xwork-core-2.1.6.jar
proxool(proxool.properties)配置文件:
jdbc-0.proxool.alias=DBPool
jdbc-0.proxool.driver-url=jdbc:
jtds:
sqlserver:
//localhost:
1433/student
jdbc-0.proxool.driver-class=net.sourceforge.jtds.jdbc.Driver
jdbc-0.user=sa
jdbc-0.password=**********(哈哈,密码省略)
jdbc-0.proxool.house-keeping-sleep-time=40000
jdbc-0.proxool.house-keeping-test-sql=SELECTGETDATE()
jdbc-0.proxool.maximum-connection-count=100
jdbc-0.proxool.minimum-connection-count=25
jdbc-0.proxool.maximum-connection-lifetime=18000000
jdbc-0.proxool.simultaneous-build-throttle=5
jdbc-0.proxool.recently-started-threshold=40000
jdbc-0.proxool.overload-without-refusal-lifetime=50000
jdbc-0.proxool.maximum-active-time=60000
jdbc-0.proxool.verbose=true
jdbc-0.proxool.trace=true
jdbc-0.proxool.fatal-sql-exception=Fatalerror
jdbc-0.proxool.prototype-count=2
jdbc-0.proxool.statistics-log-level=ERROR
jdbc-0.proxool.test-before-use=true
jdbc-0.proxool.test-after-use=true
DWR(dwr.xml)配置文件:
xmlversion="1.0"encoding="UTF-8"?
>
DOCTYPEdwrPUBLIC"-//GetAheadLimited//DTDDirectWebRemoting2.0//EN""http:
//getahead.org/dwr/dwr20.dtd">
--Spring配置文件中的bean:
aclManager-->
项目配置文件(web.xml)配置文件:
xmlversion="1.0"encoding="UTF-8"?
>
xsi="http: //www.w3.org/2001/XMLSchema-instance" xmlns=""xmlns: web="" xsi: schemaLocation="" id="WebApp_ID"version="2.5"> --页面不存在--> --错误页面--> --spring配置文件读取路径--> --增加spring监听(载入SpringApplicationContext)--> --扩展springbean的作用域有request,session,globalsession等--> --Spring刷新Introspector防止内存泄露--> --spring的session管理--> --struts2.1.8配置--> --proxool的web监控--> --DWR配置--> Spring(applicationContext.xml)配置文件: xmlversion="1.0"encoding="UTF-8"? > //www.springframework.org/schema/beans" xmlns: xsi="http: //www.w3.org/2001/XMLSchema-instance"xmlns: jee="http: //www.springframework.org/schema/jee" xmlns: tx="http: //www.springframework.org/schema/tx"xmlns: context="http: //www.springframework.org/schema/context" xsi: schemaLocation="http: //www.springframework.org/schema/beans http: //www.springframework.org/schema/beans/spring-beans-3.0.xsd http: //www.springframework.org/schema/tx http: //www.springframework.org/schema/tx/spring-tx-3.0.xsd http: //www.springframework.org/schema/jee http: //www.springframework.org/schema/jee/spring-jee-3.0.xsd http: //www.springframework.org/schema/context http: //www.springframework.org/schema/context/spring-context-3.0.xsd"> -- --> --proxool连接池--> --定义事务管理--> --定义事务管理拦截器--> --定义代理自动管理事务--> --指定需要Spring管理事务的Bean--> --调用事务管理拦截器--> --测试类(本例未用到)-->
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Struts2118 Spring30 Hibernate332 DWR206
![提示](https://static.bdocx.com/images/bang_tan.gif)