`
zwt2001267
  • 浏览: 434867 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

查看现有项目的struts和hibernate和spring版本

阅读更多

找到项目包含SSH的包,通常是在WEB-INF下的lib里面。

1.struts版本:
查看 struts.jar\META-INF\MANIFEST.MF
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.1
Created-By: 1.3.1_04-b02 (Sun Microsystems Inc.)
Extension-Name: Struts Framework
Specification-Title: Struts Framework
Specification-Vendor: The Apache Software Foundation
Specification-Version: 1.2.9
Implementation-Title: Struts Framework
Implementation-Vendor: The Apache Software Foundation
Implementation-Vendor-Id: org.apache
Implementation-Version: 1.2.9
Class-Path:  commons-beanutils.jar commons-digester.jar commons-fileup
 load.jar commons-logging.jar commons-validator.jar jakarta-oro.jar

2.spring版本:
查看 spring.jar\META-INF\MANIFEST.MF
Manifest-Version: 1.0
Export-Package: org.springframework.orm.jpa;uses:="org.apache.commons.
 logging,org.aopalliance.intercept,org.springframework.beans,org.sprin
 gframework.dao.support,org.springframework.instrument.classloading,ja
 vax.persistence,……………………
Spring-Version: 2.5.4
Implementation-Title: Spring Framework
Implementation-Version: 2.5.4
Tool: Bnd-0.0.208
Bundle-Name: spring
Created-By: 1.6.0_05 (Sun Microsystems Inc.)
Ant-Version: Apache Ant 1.7.0
Bundle-Version: 2.5.4
Bnd-LastModified: 1209379069156
Bundle-ManifestVersion: 2
Bundle-Description: Spring Framework
Bundle-SymbolicName: org.springframework.bundle.spring
Import-Package: bsh;resolution:=optional,com.caucho.burlap.client;reso
 lution:=optional,com.caucho.b……………………
 blogic.jdbc.extensions;resolution:=optional,weblogic.transaction;reso
 lution:=optional
Originally-Created-By: 10.0-b19 (Sun Microsystems Inc.)

3.hibernate版本:
查看 spring.jar\META-INF\MANIFEST.MF
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.4.2_11-b06 (Sun Microsystems Inc.)
Implementation-Title: Hibernate3
Implementation-Version: 3.2.3.ga
Implementation-Vendor: hibernate.org
Hibernate-Version: 3.2.3.ga

分享到:
评论
2 楼 Eric.Yan 2012-07-03  
Eric.Yan 写道
嗯,学习了,但是spring.jar 与 springframework的jar有什么区别呢

org.springframework.core.jar和spring.jar,
这是2.6以前的分包情况了,spring.jar包含了spring开发必备的jar集合,org.springframework.core.jar是spring核心包
通常开发时引入一个spring.jar就已经够用了,而如果引入org.springframework.core.jar则需要依赖其它jar包。
spring3.0以后为了让用户灵活选择,就没有spring.jar了
1 楼 Eric.Yan 2012-07-03  
嗯,学习了,但是spring.jar 与 springframework的jar有什么区别呢

相关推荐

Global site tag (gtag.js) - Google Analytics