tapestry5.0 下载本文

现在是: ${currentTime}.

[

12:27

? 浏览 (924) ? 评论 (0)

? 分类: Tapestry/Wicket/JSF2

?

2009-02-10 缩略显示

Maven2 + tapestry5.0.18 + spring2 + hibernate3.2

关键字: maven2 tapestry5.0.18 spring2 hibernate3.2 用quickstart生成Tapestry架构,再进行相应的spring与hibernate配置。 1.依赖包

org.apache.tapestry tapestry-core

${tapestry-release-version}

org.testng testng 5.1

jdk15 test

org.apache.tapestry tapestry-spring 5.0.18

org.springframework spring 2.0.7

javax.persistence

persistence-api 1.0

org.hibernate

hibernate-annotations

${hibernate-annotations-version}

org.hibernate

hibernate-commons-annotations ${hibernate-annotations-version}

org.hibernate hibernate 3.2.5.ga

javax.transaction jta

org.apache.geronimo.specs geronimo-jta_1.1_spec 1.1

commons-dbcp

commons-dbcp 1.2.2

2.maven插件

org.apache.maven.plugins maven-compiler-plugin

1.5 1.5

true

org.mortbay.jetty

maven-jetty-plugin 6.1.9

implementation=\ true mysql mysql-connector-java ${mysql-connector-version} commons-dbcp commons-dbcp 1.2.2 org.codehaus.mojo hibernate3-maven-plugin 2.0 hbm2ddl annotationconfiguration

mysql mysql-connector-java ${mysql-connector-version}

5.0.18

3.3.0.ga

5.0.4

3.web.xml

tapestry.app-package

com.logcd.tapestry5.myapp

tapestry.production-mode false

contextConfigLocation

classpath:applicationContext.xml

app

org.apache.tapestry5.spring.TapestrySpringFilter

app /*