本周 Spring 动态 - 2012 年 11 月 6 日

工程 | Josh Long | 2012 年 11 月 6 日 | ...

欢迎来到本期《本周 Spring 动态》!我们有很多内容要讲,让我们开始吧!

  1. 各位是否想念 SpringOne2GX 2012 了?我不会欺骗你们——你们真的错过了!不过,别绝望!我最喜欢的该会议中的两个演讲现已在线提供——主题演讲!两个都很精彩,但如果你正在寻找关于下一代 Web 应用程序底层趋势的精彩介绍,以及对 RabbitMQ 的精彩(精彩绝伦!)导览,请务必观看第二天的主题演讲!
    	More sessions will be posted on that page, so check back often.</LI>
     <LI> Spring 3.2 is drawing ever nearer!   The H  has some 
    	<a href  ="http://www.h-online.com/open/news/item/Spring-Framework-3-2-nears-with-release-candidate-1744277.html">nice coverage of the new features  in the framework</a>.
     </LI>
     <LI> Chris Beams  has announced the latest maintenance release, <A href="http://www.springsource.org/node/3720">Spring 3.1.3 - the third in the 3.1 line, has been released</a>! 
    
  2. 各位,我非常激动地告诉你们 SpringOne 即将登陆印度!立即注册!
  3. 你的 PaaS 是否支持你的工作负载?如果你正在使用 Cloud Foundry,那么很可能它支持!
  4. Michael Isvy 撰写了一篇关于 Spring MVC 和视图层的精彩博文
  5. Spring Framework 的 TestContext 框架现已支持用于集成测试的 session/request 作用域 bean
  6. Spring Data SOLR 的第一个里程碑已发布!
  7. Jonathan Brisbin 宣布Spring REST Shell 1.2 发布。新版本增加了 SSL、基本身份验证、dotrc 支持、更新的 Homebrew 安装公式、HATEOAS 和 hypermedia 功能。
  8. 在本周四收看 Costin Leau 的介绍 Spring Data Hadoop 的网络研讨会
  9. RabbitMQ 开发者倡导者 Alvaro Videla 链接到了一篇关于可视化 RabbitMQ 拓扑的精彩博文
  10. Spring Data Batch 和 Spring Security OAuth 大师以及 Cloud Foundry UAA 贡献者 Dr. David Syer 撰写了一篇非常精彩的博文,介绍了如何使用 Cloud Foundry 的 UAA 代理 OAuth2 端点。这与 Spring 的关系不大,只是 Dr. Syer 的博文非常有教育意义,并在帮助我理解 Spring Security OAuth 解决的问题方面起到了巨大作用。

Spring Integration 的 Groovy DSL

工程 | David Turanski | 2012 年 11 月 6 日 | ...

Spring Integration 使用 Spring 编程模型实现企业集成模式,以在基于 Spring 的应用程序中启用消息传递。Spring Integration 还通过支持 jms、http、amqp、tcp、ftp(s)、smtp 等的声明式适配器提供与外部系统的集成。目前,消息流的配置主要通过 Spring XML 完成,Spring Integration 支持多个命名空间以使其尽可能简洁。今年早些时候,SpringSource 发布了 Spring Integration 的 Scala DSL。现在,我们很高兴地宣布第一个里程碑版本……

Spring Framework 3.2 RC1 发布

工程 | Juergen Hoeller | 2012 年 11 月 5 日 | ...

亲爱的 Spring 社区:

我很高兴地宣布,Spring Framework 3.2 的第一个发布候选版本现已可用

这一代核心框架是去年 Spring Framework 3.1 之后的自然发展,延续了几个成熟的主题。Spring Framework 3.2 的主要功能包括:

  • 一个全新的**基于 Gradle 的框架构建**,使得在 GitHub 上为 Spring Framework 项目贡献内容比以往任何时候都更容易
  • **内联 CGLIB 3.0 和 ASM 4.0**,完全支持 Java 7 字节码,并在无需显式声明 CGLIB 依赖的情况下提供基于 CGLIB 的功能
  • 允许将**@Autowired 和 @Value 用作元注解**,例如,与特定的限定符结合使用来构建自定义注入注解
  • 支持**在 @Configuration 类中使用自定义 @Bean 定义注解**,例如,与特定的限定符、@Lazy、@Primary 等结合使用
  • **基于 Servlet 3.0 的异步 MVC 处理**…

本周 Spring 动态 - 2012 年 10 月 30 日

工程 | Josh Long | 2012 年 10 月 31 日 | ...

欢迎来到另一期《本周 Spring 动态》!

  1. Spring Data GemFire 1.2.1 和 GemFire 7.0 已发布!新的 Spring Data 版本包括对 GemFire 资源的配置进行完整的 Spring XML 命名空间支持,无需 GemFire 原生缓存 XML(也支持缓存 XML),以及 Spring Data Repositories for GemFire。值得一提的是,GemFire shell (gfsh) 是使用Spring Shell构建的。有关 GemFire 7.0 版本更多信息,请务必查看该博文,其中链接了发行说明和文档。
  2. 					<LI> Michael Isvy  has put together a nice blog <a href=" http://blog.springsource.org/2012/10/30/spring-mvc-from-jsp-and-tiles-to-thymeleaf/">on moving from JSP and Tiles to Thymeleaf</a>, a new view layer that works particularly well with Spring MVC (and that we have talked about quite a bit in this very roundup for the last few years!).</LI>
    <LI>
    	Spring Security lead Rob Winch has done a nice interview with InfoQ on <A href= "http://www.infoq.com/interviews/robert-winch-spring-security-multi-tenant-applications"> Spring Security  in multi-tenant appications on the cloud</a>  </LI…

Spring MVC:从JSP和Tiles到Thymeleaf

工程 | Michael Isvy | 2012年10月30日 | ...

对于视图层,Spring @MVC提供了多种选择。在本文中,我们将首先讨论您在过去几年中最可能使用视图层的方式:JSP。我们将看到使用它们的好坏方法(纯JSP,带有自定义标签的JSPApache Tiles)。

然后,我们将讨论一个名为Thymeleaf的新项目,您可以将其用作JSP的替代方法。

像往常一样,您可以在github上的相应应用程序中找到本文讨论的所有代码示例。

纯JSP

让我们从下面的代码示例开始

<html …> <body>
 <div style="padding-top: 50px;">
   <jsp:include page="../menu.jspx"/>
   <c…

本周 Spring 动态 - 2012 年 10 月 23 日

工程 | Josh Long | 2012 年 10 月 23 日 | ...

欢迎来到另一期《本周 Spring 动态》!和往常一样,我们有很多内容要讲,让我们开始吧!许多新闻都来自 SpringSource 本身,来自配合上周SpringOne2GX 的各种项目。这就像收到一份提前的生日礼物!说起礼物,如果你错过了 SpringOne2GX,别担心!我们录制了 SpringOne 的会议,并将很快发布。另外,你可以在 SpringSource.org 上查看第一天第二天第三天的会议总结,以了解会议的氛围。

  1. Costin Leau 宣布Spring for Apache Hadoop 1.0.RC1 发布(Spring for Apache Hadoop 的第一个官方 RC!),提供用于 Pig 和 Hive 脚本的模板、异常转换和声明式运行器,增强了 map/reduce .jar 和工具执行,并改进了 JVM 脚本、M/R 和 Cascading 运行器。不要错过 11 月 8 日即将举行的网络研讨会
  2. <LI>  Peter Bell did a    <A href = "http://www.infoq.com/presentations/Spring-Data-NoSQL">great presentation on Spring Data and the NoSQL </a>  space for QCon. Be sure to check it out!  </LI> 
    
  3. Yusuf 很好地介绍了 Spring 的 XA 支持,并以开源 Bitronix 独立 JTA-XA 事务管理器为背景。作为另一种指南,我是否可以 推荐这篇博文
  4. Oleg Zhurakousky 宣布Spring Integration 2.1.4 和 2.2.0.RC2 发布。新版本增加了伪事务、JPA 支持、内置*重试*支持等等,所以一定要看看!
  5. Costin Leau 宣布Spring Data Redis 1.0.2 发布,其中增加了缓存过期和 ZSet 方法等功能。
  6. Thomas Risberg 宣布支持 Oracle 数据库的 Spring Data JDBC 扩展版本 1.0.0.RC4 已可用
  7. SatISH Ab 撰写了一篇关于使用 Spring MVC 为他的示例发票应用程序构建 Web 层的精彩博文。
  8. Mkyong 博客有一篇精彩的博文,介绍如何将依赖项自动注入到自定义 JSF 验证器中。非常棒的博文!
  9. 我们的朋友 Krishna Prasad 撰写了一篇关于如何使用 Spring Integration 和 JMS 实现控制总线模式的精彩博文。

本周 Spring 动态 - 2012 年 10 月 16 日

工程 | Josh Long | 2012年10月17日 | ...

欢迎来到《本周 Spring 动态》,这是SpringOne2GX 2012 版!我正在华盛顿特区举行的 SpringOne2GX 会议的第二天整理这份内容!

昨晚,我们以 Juergen Hoeller(上图)、Dr. Mark PollackGraeme RocherAdrian Colyer 的精彩主题演讲、国际舞者Agame 的精彩街舞表演以及一只神秘的袋鼠(见下文)拉开了活动的序幕!

这是 JVM 开发者的顶级盛会,汇集了来自 VMWare、SpringSource、TypeSafe、Neo4j 等众多公司的优秀演讲者,他们将就各种主题发表演讲。本周刚刚开始。在会议期间,还将举办一场比赛,评选出使用 SpringSource 技术(Spring、Grails)构建并部署到Cloud Foundry 的最佳应用程序。我见过奖品(见上文),如果我可以的话,我也想参加!

<P> If you're at the show, be sure to stop by the SpringSource and Cloud Foundry booths in the expo hall and pick up shwag and answers to your lingering questions. I'll be there tomorrow, in the evening.</p><P> Anyway, I won't linger <EM>too</EM> much on what you're missing! Let's move on to this week's roundup because, as usual, there's a lot to cover! </p> 
	
	<OL> 
		<LI>Want to learn about what else has happened at SpringOne2GX? Check <a href= "http://www.springsource.org/node/3704">out this fantastic wrap up of day 1</a></LI>
		<LI> The Spring Data release train has finally arrived…

Spring Data 发布火车已抵达

工程 | Oliver Drotbohm | 2012 年 10 月 15 日 | ...

我很高兴地宣布,我们刚刚发布了各种 Spring Data 模块的 GA 版本。通过这次发布,我们继续践行 SpringSource 为 Java 开发者提供工具来使用最先进的持久化技术的承诺。在这篇博文中,我想详细介绍这次发布包含的内容,我们为什么决定采用发布火车模式,以及 Spring Data 路线图的下一步计划。

发布火车

回顾 Spring Data 模块的开发方式,发布周期通常由各个模块的负责人管理。考虑到模块不同的开发速度和成熟度,当试图同时使用多个模块时,这会带来一些问题。特别是依赖 Spring Data Commons 的项目受到了这个问题的困扰。

我们一直在努力最小化这些问题,但最终得出结论,协调…是有意义的。

Scripted:VMware 出品的 JavaScript 编辑器

工程 | Andy Clement | 2012 年 10 月 11 日 | ...

本周,Scripted 代码编辑器的第一个版本已在 github 上发布:https://github.com/scripted-editor/scripted

尽管 Scripted 是一个通用代码编辑器,但最初的重点是构建出色的 JavaScript 编辑体验。Scripted 本身完全使用 JavaScript 和 HTML/CSS 构建。它是一个基于浏览器的编辑器,在开发人员的机器上本地运行,并使用 Node.js 实例来提供编辑器代码并执行编辑器操作。运行 Scripted 的唯一先决条件是安装了最新版本的 Node.js(我们目前正在使用 Node 0.8.11 进行测试)。Scripted 重复利用了 Eclipse Orion 的编辑器组件……

本周 Spring 动态 - 2012 年 10 月 9 日

工程 | Josh Long | 2012 年 10 月 10 日 | ...

欢迎回到另一期《本周 Spring 动态》!本周 SpringSource 迎来了一系列活动,我们正迈向 SpringOne 的最后阶段!离会议只剩一周时间了,而且这次大会正在成为有史以来最好的一次!希望在那里见到大家!不要错过 Adrian Colyer、Jurgen Hoeller、Mark Pollack、Graeme Rocher 的第一天和第二天主题演讲,以及我们在过去 4 周内重点介绍的激动人心的会议:异步化 - 推送通知客户端 UI 对决分解应用程序以实现可部署性和可伸缩性如何使用 OSS 为 Hadoop 构建大数据管道

  1. Alvin J Rayes 撰写了一篇关于使用 Spring MVC 3 和 Apache Tiles(模板引擎)的精彩博文
  2. 工具套件负责人Martin Lippert 宣布Spring Tool Suite 和 Groovy/Grails Tool Suite 3.1.0 已发布!做得好,Martin!
  3. Spring Security 负责人Rob Winch 宣布Spring Security 2.0.8、3.0.8 和 3.1.3 已发布!这使得未解决的 bug 总数降至 0。干得漂亮,Rob!
  4. 你是否一直在关注 Spring Integration 团队关于即将发布的 Spring Integration 2.2 版本新功能的新博客?
    	 <A href = "http://blog.springsource.org/2012/10/09/spring-integration-2-2-retry-and-more/">Gary Russell has put together a nice blog on the new support for retry in Spring Integration</A>.  The support for retry capabilities originally comes from Spring Batch's support for retrying  
    	 operations, and was then factored out to the <a href="http://www.github.com/springsource/spring-retry">Spring Retry</A> project. Now, you can take advantage of it in Spring Integration flows!
    
  5. Gunnar Hillert 撰写了一篇关于如何在 Spring Integration 2.2 中使用新的适配器来处理 JPA 的精彩博文。
  6. 正在学习 OAuth?想了解 OAuth 在哪些场景下可以更好地保护你的 RESTful API?加入 Spring 大师 Dr. David Syer 的文章,他将介绍 OAuth,并以 Cloud Foundry 如何为 UAA 服务使用它为例
  7. 	<LI> Krishna Prasad has put together some very cool posts recently.  I liked his post on connecting systems using…

获取 Spring 新闻通讯

通过 Spring 新闻通讯保持联系

订阅

领先一步

VMware 提供培训和认证,助您加速进步。

了解更多

获得支持

Tanzu Spring 提供 OpenJDK™、Spring 和 Apache Tomcat® 的支持和二进制文件,只需一份简单的订阅。

了解更多

即将举行的活动

查看 Spring 社区所有即将举行的活动。

查看所有