Spring Mobile 1.0.0.RC2 发布

发布 | Roy Clarkson | 2012年4月26日 | ...

亲爱的 Spring 社区,

我们很高兴宣布 Spring Mobile 项目的第二个候选发布版现已可用!

Spring Mobile 为 Spring MVC 提供了扩展,有助于开发跨平台的移动 Web 应用。

以下是新特性和功能的概述

  • 平板电脑不再被识别为移动设备
  • 在 LiteDeviceResolver 中添加了对解析平板设备的支援。
  • 添加了一个新的 DeviceType 枚举,包含 NORMAL、MOBILE 和 TABLET 值。
  • Device 接口现在除了现有的 isMobile() 方法外,还包含了 isNormal() 和 isTablet() 方法。
  • WebOS 设备现在在 LiteDeviceResolver 中被识别为移动设备
  • 通过为站点切换添加了 "dotMobi" 和 "mDot" 的 URL 路径替代方案,改进了 SiteSwitcherHandlerInterceptor。切换器现在能够在同一域内切换“普通”和“移动”URL 路径。例如,普通站点的关于页面可能是 "http://www.domain.com/about",而移动站点的可能是 "http://www.domain.com/m/about"
  • 您现在可以在 LiteDeviceResolver 中配置“普通”用户代理关键字列表。有时设备可能会被错误地识别为移动设备。此关键字列表优先于移动和平板关键字,有效地覆盖了默认行为。

请参阅变更日志参考手册了解更多信息。

要获取该软件,请下载发布分发版,或将maven artifacts添加到您的项目。示例应用可在 github.com/SpringSource/spring-mobile-samples 获取

我们感谢 Scott Rossillo 为此版本做出的贡献,期待与他和 Spring 社区的其他成员在未来的版本中合作。如果您正在构建移动 Web 应用,我们鼓励您试用 1.0.0.RC2 并就项目的下一个迭代与我们协作

视频:使用 Spring Integration 的实用技巧

新闻 | Adam Fitzgerald | 2012年4月26日 | ...

此视频的想法源于 Oleg Zhurakousky 希望分享一些源自实际客户参与的更有趣的集成解决方案,以及在 Spring Integration 论坛上最常被问到的问题。Oleg 展示了 Spring Integration 框架以及它如何帮助您构建、管理和维护强大的企业级集成解决方案。在本期“实用技巧”中,Oleg 涵盖了一些更高级的企业集成主题,例如消息流分割、自定义重试逻辑、错误处理、超时等等。此视频基于 Oleg 在 SpringOne 2GX 2011 上发表的非常成功的演讲的精炼版本。

要回顾消息传递和 Spring Integration 的基础知识,请观看 Mark Fisher 的此 消息驱动架构 视频。

如果您觉得此演示有用,请务必点赞,并订阅 SpringSourceDev 频道观看其他录像和屏幕录像。

本周 Spring - 2012年4月24日

工程 | Josh Long | 2012年4月24日 | ...

欢迎回到新一期的 本周 Spring!当我编辑此文时,我正热切地等待 Costin Leau 在阳光明媚、美丽的乌克兰基辅开始他关于 Spring 与 NOSQL 的演讲,这是 Cloud Foundry Open Tour 欧洲站的第一站。这次活动的参与人数惊人!如果您正在阅读此文,那您已经错过了参加基辅活动的机会,但请务必注册即将举行的 莫斯科 伦敦 活动。

  1. 在 SpringOne 2GX 2011 的这场会议中,Mark Fisher 和 Thomas Risberg 通过将其关系型数据库替换为 NoSQL 数据库,引入模块化,添加多语言支持,并使用常见的企业集成模式整合消息队列和事件驱动请求处理,从而改造了一个单体企业应用
  2. 大家注意到 优秀Spring Roo 实战 终版刚刚出版了吗?
        This book is, as Ben Alex (Spring Roo project founder) put it, "an insightful and comprehensive treatment." I (personally) can't recommend it enough. Ken Rimple and Srini Penchikala, as long time readers of this roundup will know, are frequent Spring community bloggers and 
    

    定期提供关于 Spring 的所有内容的精彩文章。

  3. 			 <LI>  
    		Blogger Billy Sj&ouml;berg on DZone has a great post on how <a href = "http://www.dzone.com/links/r/bridging_between_jms_and_rabbitmq_amqp_using_spri.html">to bridge JMS and RabbitMQ</A>. 
    		 This example uses <a href = "http://www.springsource…

Spring Data REST 1.0.0.M1 发布

发布 | Jon Brisbin | 2012年4月24日 | ...

Spring Data 团队很高兴宣布 Spring Data REST 的(初始)1.0.0.M1 版本发布。

此版本包含一个基于 Servlet 的 Web 应用程序,可用于通过 HTTP 导出 JPA Repository 以创建 RESTful 端点,用户代理可以访问这些端点来管理您暴露的 JPA Entity。浏览器(通过 Javascript)或非交互式代理(如 curlwget)可以对实体执行 CRUD 操作,包括通过使用 Links 管理实体之间的关系。

Starter Web 应用 | Wiki | 发行说明

要了解有关该项目的更多信息,请访问 Spring Data REST 主页,或访问Github 仓库

本周 Spring:2012年4月17日

工程 | Adam Fitzgerald | 2012年4月17日 | ...

欢迎回到新一期的 本周 Spring。本周是报名参加在 伦敦基辅莫斯科 举办的 SpringOne on the Road 活动的最后机会,所以请务必注册。让我们开始吧!

  1. Chris Richardson 关于 Java 开发人员的 NoSQL 选项 的网络研讨会录像已在 SpringSourceDev YouTube 频道上线。
  2. Shekhar Gulati 优秀的 Spring Roo 入门教程在 IBM 的 developerWorks 门户网站上继续。最新一期介绍了如何编写高级(和包装)Spring Roo 插件
  3. <LI>  This article, which introduces how to use <a href = "http://java.dzone.com/articles/use-javafx2-spring">Spring to assemble  JavaFX 2 components</a> is short and to the point.  I'd probably use Spring's Java configuration option to fully exploit all the custom components, however. The nice thing about the approach outlined (over using FXML, directly, is that beans configured this way benefit from all the services that Spring provides, including dependency injection and AOP). Nice post, Andy!  </LI>
    
    <LI>Blogger <EM>Rob Gordon</EM> has a nice post introducing <a href ="http://rgordon.co…

本周 Spring,2012年4月10日

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

多么棒的一周!Cloud Foundry Open Tour 正在顺利进行中,刚刚结束了亚洲和美国站的巡回。现在,奔向欧洲!(如果您在欧洲,现在是预订位置的时候了!)

在我们继续介绍大量最新最精彩的内容之前,我想提醒大家关注 Spring Integration 高手 Oleg Zhurakousky 即将举行的网络研讨会 Spring Integration 实用技巧。像往常一样,北美有一场,欧洲有一场。

  1. Gunnar Hillert 写了一篇博客,介绍了在 SpringSource Tool Suite 中备受关注的一项功能:创建 Spring Integration 项目的易用模板。干得好,Gunnar!另外,也请查看 Gunnar 的配套视频 使用 STS 创建 Spring Integration 项目,就在 SpringSource YouTube 频道
  2. Michael Isvy 写了一篇很棒的博客,解释了升级到 Spring 3.1 时需要注意的一些事项。很实用!
  3.  <LI> Spring Integration 2.1.1 has been released! This is the first maintenance release of 2.1.x branch and contains the usual things like bug fixes and improvements related to AMQP, Gemfire, Mongo and Redis modules which were first introduced in Spring Integration 2.1.0. All together 56 issues were resolved with this release. 
    	 For more, consult <a href = "http://www.springsource.org/node/3520">the release announcement</A>.</LI>
    		
    <LI>  Gabriel Axel talks about the <a href = "http://www.gabiaxel.com/2012/04/spring-social-google-first-milestone-is.html">first milestone of Spring Social…

使用 STS 创建 Spring Integration 项目

工程 | Gunnar Hillert | 2012年4月9日 | ...

就在几天前,SpringSource Tool Suite™ (STS) 2.9.1 发布了。除了许多新特性之外,它还提供了一些对 Spring Integration 用户来说尤其令人兴奋的功能。首先,最新的 STS 版本添加了对 Spring Integration 2.1 的支持,并改进了 Spring Integration 流的可视化能力。STS 现在支持所有最近添加的 Spring Integration 适配器,例如:

此外,所有现有的 Spring Integration 适配器都已更新,以支持新的可视化元素。对 Spring Integration 用户来说另一个很棒的补充是 SpringSource Tool Suite 2.9.x 现在自带 Spring Integration 的模板支持。因此, 使用 Spring 模板项目向导 创建新项目时,您现在可以在以下 3 个新的 Spring Integration 目标模板之间进行选择:
  • Spring Integration 项目(独立) - 简单
  • Spring Integration 项目(独立) - 文件
  • Spring Integration 项目(War
简单模板创建了一个基本的 Spring Integration 项目,该项目作为独立的 Java 应用程序运行,仅使用核心 Spring Integration 组件。为了说明文件轮询功能,文件 模板使用额外的组件来轮询文件目录以及路由这些文件。最后,War 模板允许用户轻松创建作为 WAR 部署一部分、旨在 servlet 容器(例如 Tomcat)中运行的基本 Spring Integration 项目。为了说明,War 模板使用了 Spring Integration Twitter 适配器

创建新的 Spring Integration 项目

要使用 STS Spring 模板启动新项目,请在主菜单中转到 文件,然后是 新建 ,再然后是 Spring 模板项目。接下来将显示 模板选择屏幕

 

[caption id="attachment_10681" align="aligncenter" width="342" caption="模板选择屏幕"][/caption]

此屏幕提供所有可用 Spring 模板的列表,包括前面提到的 3 个新的 Spring Integration 模板。如果您在模板名称前面看到那个小箭头,这意味着实际的模板尚未下载。下载后,模板将缓存在您的机器上,除非您按下 刷新…,否则无需再次下载模板文件。

Spring Integration 2.1.1 发布

新闻 | Adam Fitzgerald | 2012年4月6日 | ...

Spring Integration 团队很高兴宣布 Spring Integration 2.1.1.RELEASE 版本发布。这是 2.1.x 分支的第一个维护版本,包含了常见的错误修复和改进,涉及 AMQP、Gemfire、Mongo 和 Redis 模块,这些模块首次在 Spring Integration 2.1.0 中引入。此版本总共解决了 56 个问题。

下载 | JavaDocs | 参考文档 | 发行说明

要了解有关该项目的更多信息,请访问 Spring Integration 主页,观看介绍视频或在论坛提问。

本周 Spring - 2012年4月3日

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

欢迎来到新一期的 本周 SpringCloud Foundry Open Tour 正在顺利进行中,迄今为止一直是吸引社区参与的非常好的活动。

There are still some (well, there were yesterday!) early bird spots in the upcoming shows in <a href = "http://opentour.cloudfoundry.com/2012/austin">Austin</A>, <a href = "http://opentour.cloudfoundry.com/2012/washington">Washington D.C.</a>, <a href = "http://opentour.cloudfoundry.com/2012/kiev">Kiev</A>, <a href = "http://opentour.cloudfoundry.com/2012/moscow">Moscow</A>, and <a href  = "http://opentour.cloudfoundry.com/2012/london">London</A>, so book now. 

  1. Spring I/O 大会的一些精彩内容现已在线提供!今年二月在西班牙举行的大会使用西班牙语和英语进行,所以无论您说什么语言,都有很多值得喜欢的内容。Adrian Colyer 的主题演讲非常棒,一旦你克服了开头音频问题的话。我找不到 SpringIO 的特定标签,但你可以通过向下滚动轻松地从其他视频中找到它们。请继续关注,很快会有更多内容发布。
  2.  <LI> Tobias Fiohre (who  seemingly lives  <EM>only</Em> to please us, the lucky developers in the  Spring community!)  has put up…

本周 Spring - 2012年3月27日

工程 | Josh Long | 2012年3月28日 | ...

欢迎来到新一期的 本周 Spring。像往常一样,我们有很多内容要介绍。当这篇博文发布时,Cloud Foundry Open Tour 正在北京举行,并很快将来到您附近的城市。这次活动是向专家学习 Cloud Foundry 和 Spring 的独特机会 - 不要错过,立即注册。

  1. Spring Web 达人 Rossen Stoyanchev 宣布 Spring Web Flow 2.3.1 已发布。这是一个维护版本,包含了升级到 Spring 3.1.1 和 JavaServer Faces 2.1.7 以及一些错误修复。
  2. SpringSource Tool Suite 负责人 Martin Lippert 宣布发布 Cloud Foundry 集成 for Eclipse 1.0。此版本为所有 Eclipse 分发版(包括 SpringSource Tool Suite)带来了完整、一致的 Cloud Foundry 集成。
  3. Martin 宣布发布了 SpringSource Tool Suite 2.9.1 版本,其中包含新功能和错误修复。
  4. <LI>    <a href = "http://www.springone2gx.com/conference/speaker/mark_fisher">Mark Fisher</A> and <a href = "http://www.springone2gx.com/conference/speaker/thomas_risberg">Thomas Risberg</A>'s epic talk from <a href = "http://www.springone2gx.com">SpringOne 2GX 2011</A>  - <EM><A href = "http://www.infoq.com/presentations/Architecture-Choices-for-Scalable-Cloud-Apps">Architecture Choices for Scalable Cloud Apps</A></EM> -  that introduces how to build scalable architectures in the cloud using technologies like Spring Integration and Cloud Foundry is now up on InfoQ. 
    	  </LI>
    	
    
  5. Maciej Walkowiak 写了一篇博客,介绍了如何使用 Spring 3.1 profiles 结合一些自定义 Tomcat 配置来激活 Spring profiles,而无需更改部署的二进制文件。
  6. Michal Jastak 写了一篇很棒的博文,介绍了如何使用 Spring MVC 3.1 对 flash attributes 的支持
  7. Tobias Flohre 又来了,这次是两篇关于 Spring Batch 的文章。第一篇介绍了 Spring Batch 中事务的基础知识,第二篇介绍了一些 重启基于游标的读写器的一些细节
     </LI> 
    
  8. Artur Mkrtchyan 写了一篇很棒的博文,介绍了如何安装 Redis(一个快速、高度优化的数据结构服务器),以及如何使用 Spring Data Redis(Spring Data 伞状项目的一部分,旨在促进访问各种 NoSQL 和大数据存储)来构建与 Redis 通信的 Spring 应用

获取 Spring 新闻邮件

订阅 Spring 新闻邮件保持联系

订阅

领先一步

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

了解更多

获取支持

Tanzu Spring 通过一个简单的订阅提供对 OpenJDK™、Spring 和 Apache Tomcat® 的支持和二进制文件。

了解更多

即将举行的活动

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

查看全部