WebService(SSH整合)
1.先在pom.xml里引入Servletyila依赖、hibernate依赖
2.配置hibernate: 在src/main/resources里建hibernate.cfg.xml
3、在pom.xml引入Spring依赖,c3p0数据库链接池 、Hibernate整合Spring
4.配置spring: 在src/main/resources里
A:建db.properties
B:建applicationContext-public.xml
5、在pom.xml引入spring-aspects:解析事务的表达式、Struts2依赖、struts2整合Spring的 插件包、 log4J
6、在web.xml里搭建struts2的拦截器和spring的初始化