Dashboard > SpringSide3 Wiki > ... > ChangeLog > Release Notes 3.1.2
  SpringSide3 Wiki Log In | Sign Up   View a printable version of the current page.  
  Release Notes 3.1.2
Added by Calvin, last edited by Calvin on 2009-03-19  (view change)
Labels: 
(None)

    连跳了3.1.0和3.1.1两个版本后的GA版本,一边忙着Mini-Example这一亩三分地的升级,一边开始Showcase的演示......

 主要变更

  • Struts2:升级Struts 2.1.6 ,使用Convention Plugin 实现完善的MVC零配置文件。
  • JQuery:升级JQuery 1.3.2后速度大为加快,演示JQuery Ajax典型用法及跨域的Mashup。
  • Hibernate:支持DAO or Not DAO两种模式,对泛型DAO基类的功能增强与代码重构。
  • SpringSecurity:授权名称从容易混淆的ROLE_* 改为A_*。
  • Spring:使用@Autowired代替setter函数减少冗余代码。
  • JMX:演示Spring-JMX服务端与客户端,实现远程监控服务状态并修改服务配置。
  • 应用服务器:修改spring context文件路径的写法,在Glassfish2,Weblogic10上成功部署,并演示Tomcat的服务器优化配置。
  • JDK:统一要求JDK6.0.
  • 代码优化:大量代码进行了重构与重新注释。

变更细节

Web:

  • 升级Struts 2.1.6 ,使用Convention Plugin 实现完善的MVC零配置文件,Convention Plugin比之前的CodeBehind提供更好的配置Annotation和Action类查找。
  • Struts2的SimpleActionSupport基类重构为Utils类,render函数了增加renderJson方法和encoding与nocache参数,
  • 升级JQuery 1.3.2 和 validate plugin 1.5.1,速度大为加快。
  • Showcase项目演示了JQuery的标准ajax用法及基于JSONP的跨域Mashup。

Data Access:

  • 灵活支持Dao or No Dao的模式。提供EntityManager和DefaultEntityManager,
  • 增加PropertyFilter,可从页面快速构造属性过滤条件。
  • Page参数支持多重排序。
  • 使用DBCP作为默认的数据库连接池。

其他:

  • SpringSecurity授权名称从容易混淆的ROLE_* 改为A_*,增加SpringSecurityUtil获取当前用户名。
  • showcase项目演示Spring-JMX服务端与客户端,演示监控服务状态并修改服务配置这两种JMX的最常见用法。
  • Spring在私有变量上配置@Autowired,取消冗余的setter的函数。
  • 单元测试增加SpringAnnotationTestCase,供希望支持Spring的@ExceptException的纯单元测试用例使用,使用ReflectionUtils类注入被测试类的私有变量。
  • 大量代码进行了重构与重新注释。
  • 依赖包升级:CXF升级2.1.4,Logback升级0.9.15。

环境

  • 修改spring context文件路径写法,如classpath*:/applicationContext.xml,在Glassfish2,Weblogic10上成功部署。
  • Tomcat服务器配置优化演示。
  • maven修改pom文件,限制jdk最低版本必须JDK6.0,增加两个Profile, -Pinitdb执行sql plugin初始化数据库, -Pnotest跳过测试
Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.9 Build:#527 2006-09-07) - Bug/feature request - Contact Administrators
Get SpringSide at SourceForge.net. Fast, secure and Free Open Source software downloads