当前位置: 首页 > news >正文

Spring Framework 3.2 于 2013 年 12 月 12 日正式发布(General Availability,GA)

Spring Framework 3.2 于 2013 年 12 月 12 日正式发布(General Availability,GA),标志着该版本完成全部测试与验证,进入生产就绪状态。此版本引入了多项重要特性,包括:

  • 对 Java 8 的初步支持(如 Lambda 表达式兼容性,但核心仍基于 Java 6+ 编译)
  • WebSocket 支持:集成 SockJS 和 STOMP 协议,提供全双工通信能力(需配合 Spring WebSocket 模块)
  • @RestController 注解:简化 REST 控制器开发,隐式添加 @ResponseBody
  • 改进的异步支持:@Async 增强、CompletableFuture 集成雏形
  • 增强的测试支持:@WebAppConfiguration、MockMvc 进一步完善
  • 弃用部分旧 API(如 XmlWebApplicationContext 中某些过时方法)

注意:Spring 3.2 是最后一个支持 JDK 5/6 的主版本;后续 4.0+ 要求 JDK 6+(推荐 JDK 7+),且全面转向注解驱动与响应式演进前的基础架构。

<!-- Maven 依赖示例(Spring 3.2.18.RELEASE,最终维护版) --><dependency><groupId>org.springframework</groupId><artifactId>spring-context</artifactId><version>3.2.18.RELEASE</version></dependency>

Spring Framework 3.2 goes GA

Exactly one year after the Spring Framework 3.1 release, I’m pleased to announce that Spring Framework 3.2 is generally available now!

We recommend an upgrade from all previous Spring releases, in particular from Spring Framework 3.1.x which this is a direct successor for.

As previously discussed, key features in Spring Framework 3.2 include:

Refined Java SE 7 support within the framework as well as through upgrades to CGLIB 3.0, ASM 4.0 (both of which we’re inlining now) and AspectJ 1.7 Concurrency refinements across the framework, avoiding the use of synchronization wherever possible - in particular for scoped/prototype beans Allowing for @Autowired and @Value to be used as meta-annotations, e.g. to build custom injection annotations in combination with specific qualifiers Support for custom @Bean definition annotations in @Configuration classes, e.g. in combination with specific qualifiers, @Lazy, @Primary, etc Asynchronous MVC processing on Servlet 3.0, with Spring MVC handler methods being able to return Callables and DeferredResults Inclusion of the formerly-standalone Spring MVC Test project, allowing for first-class testing of Spring MVC applications Support for loading WebApplicationContexts in the TestContext framework, and further improvements for web application testing Early support for JCache 0.5 (JSR-107) as a backend for Spring’s cache abstraction

For further details, in particular the many enhancements in Spring MVC, have a look at the New Features and Enhancements in Spring Framework 3.2 section in our documentation.

This release incorporates a lot of community feedback, so let me take the opportunity to say thank you to all reporters and contributors! Keep it coming as we’re moving into 2013, working on the next generation of the framework…

Cheers,

http://www.jsqmd.com/news/673637/

相关文章:

  • 终极指南:如何在Mac上免费使用Xbox 360手柄玩游戏
  • 深入理解kubectl-debug架构:从插件到代理的完整解析
  • 【万字文档+PPT+源码】基于Java的平价汽车租赁系统-计算机专业项目设计分享
  • 把闲置的CM311-1A机顶盒刷成Armbian服务器,保姆级教程(含balenaEtcher烧录与EMMC写入避坑指南)
  • 告别数据乱码!深入调试HC32 UART:用逻辑分析仪抓包分析时序与错误
  • SpringBoot项目实战:手把手教你搞定阿里奇门SDK对接(含完整代码与避坑指南)
  • 保姆级教程:Halcon灰度投影(gray_projections)从‘simple’到‘rectangle’模式全解析
  • Dify 2026多模态集成避坑手册:92%开发者忽略的模态对齐偏差校准、token截断容错与异构Embedding归一化技巧
  • 别再只懂原理了!动手用C++实现一个Redis风格的LRU缓存(支持TTL过期)
  • 避开GD32F103的‘软’坑:除了改延时,你的ADC+DMA配置真的对了吗?(附官方Demo对比心得)
  • 题解:AcWing 487 金明的预算方案
  • 企业级项目三:基于 Paimon 湖仓的 AI 数据分析平台
  • 销量爆款背后的真相:先选场景,再做产品!
  • 7个实用技巧:GitHub Actions自动化流程打造高效持续集成
  • 基于改进YOLOv5的无人机航拍小目标检测算法研究
  • 关于在vs2022中使用清单模式遇到的问题
  • PyQt5实战:用QtDesigner设计计算器UI并用PyUIC转换为Python代码
  • THREE.MeshLine入门教程:10分钟创建惊艳3D线条效果
  • YOLOv5至YOLOv12升级:番茄新鲜程度检测系统的设计与实现(完整代码+界面+数据集项目)
  • 国产大模型托管平台全景观察:四大平台如何赋能AI开发者生态
  • 终极docker2exe错误码手册:快速解决容器转可执行文件的常见问题
  • 手把手教你用Verilog写一个8点流水线FFT(附完整代码与Matlab验证)
  • Windows更新修复终极指南:一键重置工具完全教程
  • 告别网络依赖!用Cesium + 离线瓦片打造内网可用的三维GIS应用(保姆级部署教程)
  • 告别串口助手!用NXP FreeMaster 3.0实时调PID,图形化调试真香了
  • 2026年国内五大头部品牌营销公司深度测评与权威指南 - GEO优化
  • Java中CompletableFuture使用不当引发的线程池耗尽
  • ADIS16470数据精度全解析:从16位Burst到32位寄存器读取,哪种方案更适合你的项目?
  • 在中标麒麟上从源码编译QGIS 3.4.7:一份踩坑无数的依赖库安装指南
  • 从亚稳态到稳定系统:深入芯片内部的异步复位同步释放电路设计