java传统框架ssh---struts、spring、hibernate框架的搭建
2017-04-02 23:40
525 查看
本文是对ssh框架的搭建的的整理。主要是整体框架的实现,具体细节概不细究。
各版本说明:struts:2.3.1.2
hibernate:3.6.1
spring:3.2
在这里,struts担当web层的一个Controller的角色,hibernate用于dao即持久层的实现。spring用于担当大管家的角色,用于实现bean的创建,以及依赖注入。
第一部分(xml方式的实现)
一、导入jar包
1、导入struts的jar包
以及用于和spring整合的插件: struts2-spring-plugin-2.3.15.3.jar
2、hibernate的jar包
以及slf4j-log4j12-1.7.2.jar日志整合jar包、c3p0连接池、数据库驱动包这里mysql。
3、导入spring的jar包
核心jar包
aop包:
以及和struts整合的jar包
说明:orm整合hibernate、test整合junit测试、tx,jdbc数据库的事物、web整合web服务
二、相关xml文件配置
1、web.xml文件的配置
2、applicationContext.xml的配置
3、struts.xml的配置
4、jdbc.properties数据库连接数据
5、hibernate映射文件实例
第二部分:注解方式的实现ssh框架
1、导入jar包的相关说明
Ssh相关Jar
Struts2 注解开发必须导入 struts2-conversion.jar struts/lib126 jar / 项目需要ajax json序列化 导入struts2-json-plugin.jar
Hibernate 注解开发/xml开发 jar一致!
Spring 注解开发和xml开发一致!
2、注解说明
struts所用到的注解主要有:@Action @Namespace @ParentPackage @Result @Results @Actions
//需要注意的是:struts注解的使用的类的包名,必须含有:struts、struts2、action、actions约定单词。
spring主要用到的注解:这里主要用到:@Controller @Service @Repository @Transactional 等注解。
Hibernate主要用到的是实体类的注解:
@Entity:class的name属性
@Table:class的table属性
@Id: 相当于id标签
@GeneratedValue(strategy=GenerationType=”AUTO”):主键生成策略,不写默认是native
@Colume(name=””):属性表中的字段。
@Transient:忽略该字段。
3、相关的配置文件:
web.xml的配置和前述一致。
applicationContext.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
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.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
<context:annotation-config />
<context:component-scan base-package="cn.itcast.ssh.storemanager"></context:component-scan>
<context:property-placeholder location="classpath:jdbc.properties"/>
<!-- 配置spring默认的连接池 -->
<bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource">
<!-- 注入连接池的属性 -->
<property name="driverClass" value="${jdbc.driverClass}" />
<property name="jdbcUrl" value="${jdbc.url}" />
<property name="user" value="${jdbc.username}" />
<property name="password" value="${jdbc.password}" />
</bean>
<!-- 配置hibernate.cfg.xml文件的其他属性。 -->
<bean id="sessionFactory"
class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean">
<property name="dataSource" ref="dataSource"></property>
<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">org.hibernate.dialect.MySQL5Dialect</prop>
<prop key="hibernate.hbm2ddl.auto">update</prop>
<prop key="hibernate.show_sql">true</prop>
<prop key="hibernate.format_sql">true</prop>
</props>
</property>
<property name="packagesToScan">
<list>
<value>cn.keyi.ssh.storemanager.domain</value>
</list>
</property>
</bean>
<!-- 配置事务管理器 -->
<bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
<property name="sessionFactory" ref="sessionFactory"></property>
</bean>
<tx:annotation-driven transaction-manager="transactionManager"/>
</beans>
jdbc.properties、struts.xml的配置等和前述没有多大区别,视情况而定。
至此,ssh框架的基本架构都已经完成。
最后:ssh框架的maven工程的实例pom文件:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion>
<groupId>cn.itcast</groupId>
<artifactId>maven_exercise03</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>maven_exercise03</name>
<description>跳过plugin创建maven项目</description>
<!-- 版本控制 -->
<properties>
<spring-version>4.2.8.RELEASE</spring-version>
<struts-version>2.3.24</struts-version>
<hibernate-version>5.0.11.Final</hibernate-version>
<mysql-version>5.1.18</mysql-version>
<c3p0-version>0.9.1.2</c3p0-version>
</properties>
<dependencies>
<!-- 导入spring相关jar包 -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring-version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
<version>${spring-version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring-version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${spring-version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>${spring-version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>${spring-version}</version>
</dependency>
<!-- 导入hibernate相关jar包 -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>${hibernate-version}</version>
</dependency>
<!-- 导入struts相关jar包 -->
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>${struts-version}</version>
</dependency>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-json-plugin</artifactId>
<version>${struts-version}</version>
</dependency>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-spring-plugin</artifactId>
<version>${struts-version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.2</version>
</dependency>
<!-- 导入c3p0连接池 -->
<dependency>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
<version>${c3p0-version}</version>
</dependency>
<!-- mysql驱动 -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql-version}</version>
</dependency>
<!-- 缓存ehcache -->
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache</artifactId>
<version>1.5.0</version>
</dependency>
<!-- 其他jar包 -->
<!-- jstl标签库 -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.9</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.2</version>
<scope>provided</scope>
</dependency>
</dependencies>
<!-- 插件控制 -->
<build>
<plugins>
<!-- 编译版本控制 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<target>1.7</target>
<source>1.7</source>
</configuration>
</plugin>
<!-- tomcat端口控制 -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.1</version>
<configuration>
<port>8091</port>
</configuration>
</plugin>
</plugins>
</build>
</project>
谢谢!!
各版本说明:struts:2.3.1.2
hibernate:3.6.1
spring:3.2
在这里,struts担当web层的一个Controller的角色,hibernate用于dao即持久层的实现。spring用于担当大管家的角色,用于实现bean的创建,以及依赖注入。
第一部分(xml方式的实现)
一、导入jar包
1、导入struts的jar包
以及用于和spring整合的插件: struts2-spring-plugin-2.3.15.3.jar
2、hibernate的jar包
以及slf4j-log4j12-1.7.2.jar日志整合jar包、c3p0连接池、数据库驱动包这里mysql。
3、导入spring的jar包
核心jar包
aop包:
以及和struts整合的jar包
说明:orm整合hibernate、test整合junit测试、tx,jdbc数据库的事物、web整合web服务
二、相关xml文件配置
1、web.xml文件的配置
<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"> <display-name>day37_spring03</display-name> <!-- 配置监听器 --> <context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath:applicationContext.xml</param-value> </context-param> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <!-- 配置前端控制器 --> <filter> <filter-name>struts2</filter-name> <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class> </filter> <filter-mapping> <filter-name>struts2</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> <welcome-file>default.html</welcome-file> <welcome-file>default.htm</welcome-file> <welcome-file>default.jsp</welcome-file> </welcome-file-list> </web-app>
2、applicationContext.xml的配置
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" 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: dc83 //www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd"> <context:annotation-config /> <context:component-scan base-package="cn.itcast.day37_spring03"></context:component-scan> <context:property-placeholder location="classpath:jdbc.properties"/> <!-- 配置spring默认的连接池 --> <bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource"> <!-- 注入连接池的属性 --> <property name="driverClass" value="${jdbc.driverClass}" /> <property name="jdbcUrl" value="${jdbc.url}" /> <property name="user" value="${jdbc.username}" /> <property name="password" value="${jdbc.password}" /> </bean> <!-- 配置hibernate.cfg.xml -自动生成sessionFactory --> <!-- <bean id="" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean"> <property name="configLocation" value="classpath:hibernate.cfg.xml"></property> </bean> --> <!-- 配置hibernate.cfg.xml文件的其他属性。 --> <bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean"> <property name="dataSource" ref="dataSource"></property> <property name="hibernateProperties"> <props> <prop key="hibernate.dialect">org.hibernate.dialect.MySQL5Dialect</prop> <prop key="hibernate.hbm2ddl.auto">update</prop> <prop key="hibernate.show_sql">true</prop> <prop key="hibernate.format_sql">true</prop> </props> </property> <property name="mappingResources"> <list> <value>cn/keyi/day37_spring03/domain/Customer.hbm.xml</value> </list> </property> </bean> <!-- 配置事务管理器 --> <bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager"> <property name="sessionFactory" ref="sessionFactory"></property> </bean> <!-- 定义一个加强 --> <tx:advice id="myadvice" transaction-manager="transactionManager"> <tx:attributes> <tx:method name="add*" /> <tx:method name="find*" read-only="true"/> </tx:attributes> </tx:advice> <!-- 配置一个切面: --> <aop:config> <aop:pointcut expression="bean(userService)" id="servicePointcut" /> <aop:advisor advice-ref="myadvice" pointcut-ref="servicePointcut" /> </aop:config> <!-- 将连接池注入到dao层中 --> <bean id="customerDao" class="cn.keyi.spring03.dao.impl.CustomerDaoImpl"> <property name="sessionFactory" ref="sessionFactory"></property> </bean> <bean id="customerService" class="cn.keyi.spring03.service.impl.CustomerServiceImpl"> <property name="customerDao" ref="customerDao"></property> </bean> <bean id="customerAction" class="cn.keyi.spring03.action.CustomerAction" scope="prototype"> <property name="customerService" ref="customerService"></property> </bean> </beans>
3、struts.xml的配置
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" "http://struts.apache.org/dtds/struts-2.3.dtd"> <struts> <constant name="struts.enable.DynamicMethodInvocation" value="false" /> <constant name="struts.devMode" value="true" /> <package name="ssh" namespace="/" extends="struts-default"> <action name="customerAction_*" class="customerAction" method="{1}"> <result name="add" type="redirect">/index.jsp</result> <result name="findAll">/list.jsp</result> </action> </package> </struts>
4、jdbc.properties数据库连接数据
jdbc.driverClass=com.mysql.jdbc.Driver jdbc.url=jdbc:mysql:///spring jdbc.username=user jdbc.password=user
5、hibernate映射文件实例
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> <hibernate-mapping> <class name="cn.keyi.spring03.domain.Customer" table="customers"> <id name="id"> <generator class="native"></generator> </id> <property name="name"/> <property name="sex"/> </class> </hibernate-mapping>
第二部分:注解方式的实现ssh框架
1、导入jar包的相关说明
Ssh相关Jar
Struts2 注解开发必须导入 struts2-conversion.jar struts/lib126 jar / 项目需要ajax json序列化 导入struts2-json-plugin.jar
Hibernate 注解开发/xml开发 jar一致!
Spring 注解开发和xml开发一致!
2、注解说明
struts所用到的注解主要有:@Action @Namespace @ParentPackage @Result @Results @Actions
//需要注意的是:struts注解的使用的类的包名,必须含有:struts、struts2、action、actions约定单词。
spring主要用到的注解:这里主要用到:@Controller @Service @Repository @Transactional 等注解。
Hibernate主要用到的是实体类的注解:
@Entity:class的name属性
@Table:class的table属性
@Id: 相当于id标签
@GeneratedValue(strategy=GenerationType=”AUTO”):主键生成策略,不写默认是native
@Colume(name=””):属性表中的字段。
@Transient:忽略该字段。
3、相关的配置文件:
web.xml的配置和前述一致。
applicationContext.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
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.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
<context:annotation-config />
<context:component-scan base-package="cn.itcast.ssh.storemanager"></context:component-scan>
<context:property-placeholder location="classpath:jdbc.properties"/>
<!-- 配置spring默认的连接池 -->
<bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource">
<!-- 注入连接池的属性 -->
<property name="driverClass" value="${jdbc.driverClass}" />
<property name="jdbcUrl" value="${jdbc.url}" />
<property name="user" value="${jdbc.username}" />
<property name="password" value="${jdbc.password}" />
</bean>
<!-- 配置hibernate.cfg.xml文件的其他属性。 -->
<bean id="sessionFactory"
class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean">
<property name="dataSource" ref="dataSource"></property>
<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">org.hibernate.dialect.MySQL5Dialect</prop>
<prop key="hibernate.hbm2ddl.auto">update</prop>
<prop key="hibernate.show_sql">true</prop>
<prop key="hibernate.format_sql">true</prop>
</props>
</property>
<property name="packagesToScan">
<list>
<value>cn.keyi.ssh.storemanager.domain</value>
</list>
</property>
</bean>
<!-- 配置事务管理器 -->
<bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
<property name="sessionFactory" ref="sessionFactory"></property>
</bean>
<tx:annotation-driven transaction-manager="transactionManager"/>
</beans>
jdbc.properties、struts.xml的配置等和前述没有多大区别,视情况而定。
至此,ssh框架的基本架构都已经完成。
最后:ssh框架的maven工程的实例pom文件:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion>
<groupId>cn.itcast</groupId>
<artifactId>maven_exercise03</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>maven_exercise03</name>
<description>跳过plugin创建maven项目</description>
<!-- 版本控制 -->
<properties>
<spring-version>4.2.8.RELEASE</spring-version>
<struts-version>2.3.24</struts-version>
<hibernate-version>5.0.11.Final</hibernate-version>
<mysql-version>5.1.18</mysql-version>
<c3p0-version>0.9.1.2</c3p0-version>
</properties>
<dependencies>
<!-- 导入spring相关jar包 -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring-version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
<version>${spring-version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring-version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${spring-version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>${spring-version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>${spring-version}</version>
</dependency>
<!-- 导入hibernate相关jar包 -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>${hibernate-version}</version>
</dependency>
<!-- 导入struts相关jar包 -->
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>${struts-version}</version>
</dependency>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-json-plugin</artifactId>
<version>${struts-version}</version>
</dependency>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-spring-plugin</artifactId>
<version>${struts-version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.2</version>
</dependency>
<!-- 导入c3p0连接池 -->
<dependency>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
<version>${c3p0-version}</version>
</dependency>
<!-- mysql驱动 -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql-version}</version>
</dependency>
<!-- 缓存ehcache -->
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache</artifactId>
<version>1.5.0</version>
</dependency>
<!-- 其他jar包 -->
<!-- jstl标签库 -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.9</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.2</version>
<scope>provided</scope>
</dependency>
</dependencies>
<!-- 插件控制 -->
<build>
<plugins>
<!-- 编译版本控制 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<target>1.7</target>
<source>1.7</source>
</configuration>
</plugin>
<!-- tomcat端口控制 -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.1</version>
<configuration>
<port>8091</port>
</configuration>
</plugin>
</plugins>
</build>
</project>
谢谢!!
相关文章推荐
- Eclipse上搭建SSH(struts-2.2.3 + spring-2.5.6 + hibernate-3.6.8)框架-附源码
- SSH(struts+spring+hibernate)框架搭建流程
- Hibernate hbm——SSH (Spring+Struts+Hibernate)框架搭建之配置文件序列五
- 用eclipse搭建SSH(struts+spring+hibernate)框架
- Struts2——SSH (Spring+Struts+Hibernate)框架搭建之配置文件序列一
- Hibernate——SSH (Spring+Struts+Hibernate)框架搭建之配置文件序列四
- Hibernate hbm 外键关联——SSH (Spring+Struts+Hibernate)框架搭建之配置文件序列六
- Spring——SSH (Spring+Struts+Hibernate)框架搭建之配置文件序列二
- Eclipse上搭建SSH(struts-2.2.3 + spring-2.5.6 + hibernate-3.6.8)框架-附源码
- Eclipse上搭建SSH(struts-2.2.3 + spring-2.5.6 + hibernate-3.6.8)框架-附源码
- Java SSH/SSI框架科普(Struts+Spring+Hibernate/Ibatis)
- JAVA-WEB的SSH(Spring Hibernate Struts)环境搭建一(Spring)
- 用eclipse搭建SSH(struts+spring+hibernate)框架
- java SSH2 框架搭建 (myeclipse 6.5 + jdk 1.6+ struts-2.3.1.2+hibernate 3.5+spring 3.1)
- Spring beans——SSH (Spring+Struts+Hibernate)框架搭建之配置文件序列三
- JAVA-WEB的SSH(Spring Hibernate Struts)环境搭建一(Spring+Hibernate)
- 【Java】【SSH】Web 开发经典框架Spring+Struts+Hibernate官方网站下载地址
- SSH Java三大框架整合(Struts 2+Hibernate+Spring+mysql)
- Struts+Spring+Hibernate三大框架(SSH)怎样整合
- 手工搭建SSH(Struts+Spring+Hibernate)+MyEclipse环境