我的第一篇博客

最近算是把ssh的基础学完了。学过之后发现有很多忘却的地方,今天先把一些基础的重点写出来,方便以后忘记的时候看。Spring的基本jar包:

一.ssh中struts  spring  hibernate中各自包含的jar包。

Spring的基本jar包:

1.org.springframework.web-3.1.4.RELEASE.jar:
在web.xml中配置启动Spring容器所需,包括上下文(参数contextConfigLocation)和监听器(类ContextLoaderListener)
2.com.springsource.org.apache.commons.dbcp-1.2.2.osgi.jar: 
在spring配置文件中配置dataSource所需(类BasicDataSource)
3.org.springframework.context-3.1.4.RELEASE.jar:
IOC反转控制获取实例化,如getBean()所需(类ClassPathXmlApplicationContext)
4.org.springframework.beans-3.1.4.RELEASE.jar:
异常处理(如实例化类ClassPathXmlApplicationContext所抛出的类BeansException)
5.org.springframework.core-3.1.4.RELEASE.jar:
spring核心包,包含了一些类的父类,如BeansException的父类NestedRuntimeException
6.com.springsource.org.apache.commons.logging-1.1.1.jar:
(实例化ClassPathXmlApplicationContext所需,类LogFactory)
7.org.springframework.asm-3.1.1.RELEASE.jar
(实例化ClassPathXmlApplicationContext所需,类ClassVisitor)
8.org.springframework.expression-3.1.1.RELEASE.jar
(实例化ClassPathXmlApplicationContext所需,类PropertyAccessor)
9.com.springsource.org.apache.commons.pool-1.5.3.jar
(实例化ClassPathXmlApplicationContext所需,GenericObjectPool)
10.org.springframework.orm-3.1.1.RELEASE.jar
(ORM整合所须)
11.org.springframework.jdbc-3.1.4.RELEASE.jar:
初始化sessionFactory

Spring的AOPjar包:
1.org.springframework.aop-3.1.4.RELEASE.jar
2.com.springsource.org.aopalliance-1.0.0.jar
3.com.springsource.org.aspectj.weaver-1.6.8.RELEASE.jar

struts2的jar包:
1.struts2-core-2.3.1.2.jar:
struts的核心包
2.xwork-core-2.3.1.2.jar:
Action类所在的包
3.ognl-3.0.6.jar:
4.javassist-3.11.0.GA.jar
5.commons-lang3-3.1.jar
6.commons-fileupload-1.3.jar
7.freemarker-2.3.19.jar
8.commons-io-2.0.1.jar
9.struts2-spring-plugin-2.3.1.2.jar

Hibernate的jar包:

1.com.springsource.org.hibernate-3.3.1.GA.jar:

     org.hibernate.*

2.org.springframework.transaction-3.1.4.RELEASE.jar

     org.springframework.dao.*    不加的话extends HibernateDaoSupport的时候会报The type org.springframework.dao.support.DaoSupport cannot           be resolved. It is indirectly referenced from required .class files的错误

3.jta-1.1.jar:

     javax.transaction.TransactionManager

4.com.springsource.org.dom4j-1.6.1.jar

5.slf4j-api-1.5.8.jar:

     LoggerFactory.class

6.slf4j-api-1.5.8.jar

7.com.springsource.org.apache.commons.collections-3.2.1.jar

8.com.springsource.antlr-2.7.7.jar


二.就是ssh中各个框架的作用,struts2和hibernate的都比较易懂,spring在了解后发现是用来将dao和action联系起来的东西,用来管理struts2和hibernate的。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值