本周 Spring - 2012 年 8 月 7 日

工程 | Josh Long | 2012 年 8 月 7 日 | ...

欢迎来到又一期的《本周 Spring》!像往常一样,我们有很多内容要分享,让我们开始吧!

  1. 我简要回顾了 Manning 的新书《Spring Roo in Action》。可以去看看,看看这本书!
    </li>
      <LI> The <a href = "http://bit.ly/QWSrml">Cloud Foundry Integration for Eclipse Now Supports Tunneling to Services</a>. This increases the parity betwen the Eclipse support (and the SpringSource Tool Suite support)  and the <CODE>vmc</CODE> command-line client.  </LI>
    	
    
    	<LI> The VMware has a very cool blog taking a look the roles Spring and RabbitMQ play in 
    		 <a href = "http://blogs.vmware.com/vfabric/2012/07/spring-and-rabbitmq-behind-indias-12-billion-person-biometric-database-1.html">in the new project behind India's 1.2 Billion Person Biometric Database</a>. <EM>Very</EM> cool…

有史以来最惊人的 Java 类型声明

工程 | David Turanski | 2012 年 8 月 3 日 | ...

我一直认为我对Java和泛型相当熟悉,但最近我遇到了这段Java代码,它让我停下了脚步。

public abstract class AnnotationBasedPersistentProperty<P extends PersistentProperty<P>> extends AbstractPersistentProperty<P> {..}

这个类是 Spring Data 框架的 Repository 支持的内部组件,它消除了实现数据访问层时编写样板代码的需要,并为映射域对象和管理到任何类型持久存储的数据访问提供了通用的编程模型。Spring Data 当前的存储库实现包括关系数据库(JPA)、GemfireMongoDBNeo4j

幸运的是,如果你在Java中使用Spring Data...

Spring 本周动态 - 2012 年 7 月 31 日

工程 | Josh Long | 2012 年 8 月 1 日 | ...

欢迎阅读又一期《Spring 本周动态》!

本周,我和 SpringSource 和 Cloud Foundry 团队的其他成员在班加罗尔,与主要的系统集成商讨论 Spring 和 Cloud Foundry。反响惊人,反馈甚至更好。

在相关新闻中,Cloud Foundry Open Tour 将于下个月来到印度!如果您想听听思想领袖和专家们关于云计算、平台即服务、架构和 Spring 的演讲,请务必立即注册参加班加罗尔或浦那的活动。我期待在那里见到您!

  1. Jonathan Brisbin 宣布 Spring Data Rest 的最新版本 1.0.0.RC2 已发布,该版本支持 JSONPE,与 Spring MVC 应用程序集成更好,并提供更多配置挂钩,以便您可以更好地控制框架的行为。
  2. David Syer 博士宣布 Spring Security OAuth 1.0.0.RC1 版本已发布。Spring Security OAuth 是一个与 Spring Security 配合使用的模块,让您可以公开 OAuth 安全的 RESTful 资源。

    新版本在授权服务器功能方面提供了许多新的扩展点,提供了 Whitelabel UI 以获得更好的开箱即用体验,并改进了对安全过滤器中表达式的支持。快来试试吧!

  3. <LI> WADL is a description format for RESTful web-services,  in much the same way that  WSDL describes SOAP-based web services' contracts. This excellent…

Spring Data REST 1.0.0.RC2 发布

发布 | Jon Brisbin | 2012年7月31日 | ...

我很高兴地宣布 Spring Data REST 1.0.0.RC2 发布!除了许多错误修复之外,此版本还增加了对 JSONPE(带错误处理的 JSONP)的支持,能够使用 @RestResource 注解关闭 CRUD 方法,并且现在已针对 Servlet 3.0 API 进行构建和测试(尽管它尚未专门针对 3.0,因此在 Servlet 2.5 容器中仍可正常工作)。

新增功能包括

  • JSONPE - 只需添加一个 URL 参数,即可将结果包装在您指定的 Javascript 函数调用中。还通过将错误转换为 HTTP 200 并将原始状态码作为错误处理程序的第一参数传递来处理服务器错误。
  • 关闭 CRUD 方法 - 导出器现在遵循 CRUD 方法上的 @RestResource 注解。只需重写您想要关闭的 CrudRepository 中的方法,并使用 @RestResource(exported = false) 进行注解。
  • 更好地与现有 Spring MVC 应用程序集成 - 简化了内部 Spring MVC 配置,使其更容易与您现有的 Spring MVC 应用程序集成。只需在您自己的配置中包含 RepositoryRestMvcConfiguration bean 即可正常工作。

新增或更新的文档包括

入门 Web 应用程序 | 维基 | 发布说明

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

Spring Data 发行版进入第一阶段

发布 | Oliver Drotbohm | 2012年7月24日 | ...

我想宣布 Spring Data Commons (1.3.2.RELEASE, 1.4.0.M1),JPA (1.1.1.RELEASE, 1.2.0.M1) 和 MongoDB (1.0.3.RELEASE, 1.1.0.M2) 的新里程碑和错误修复版本。这些版本标志着一个通用发行版的第一个步骤,该发行版将于八月中旬达到新的主要版本,并包含 Spring Data Commons, JPA, MongoDB, Neo4J 和 Gemfire。这个发行版是一个同时发布所有支持仓库抽象的存储模块的努力,从而拥有一套通用的功能。此外,这将确保已发布的存储模块之间能够无缝互操作。

这个第一个里程碑版本通过引入 @EnableJpaRepositories, @EnableMongoRepository 等,支持基于 JavaConfig 的仓库配置。除此之外,我们当然还有大量的错误修复和改进。有关详细信息,请关注以下链接。

我们将在八月初推出下一个主要版本的候选版本,随后很快会发布 GA 版本。有关发行版更详细的信息,请查看 Spring Data Commons 中的 Wiki 页面

错误修复版本可从 SpringSource 发行仓库 获取,并将很快同步到 Maven Central,里程碑版本可从我们的 里程碑仓库 获取。期待您在 论坛bug 跟踪器 中提供反馈。

Spring 本周动态 - 2012 年 7 月 17 日

工程 | Josh Long | 2012年7月18日 | ...

欢迎阅读又一期《Spring 本周动态》!本周,SpringSource 和 Cloud Foundry 团队在 OSCON 与各界人士交流开源企业和云计算。如果您在该地区,请务必前往展厅的 SpringSource 和 Cloud Foundry 展位!

  1. Spring Data 团队正在与 O'Reilly 合作编写一本关于 Spring Data 的书籍。如果您想预览并提供反馈,现在是时候了!
  2. 您是否正在使用 Spring Data Commons 的存储库支持?您对 Java 风格的配置支持有什么看法?查看 Spring Data 中对 Java 配置的新支持
  3. <LI> The Java Beginner's tutorial blog has a quick post on  <a href = "http://javabeginnerstutorial.com/spring-framework-tutorial/configure-hsqldb-java-spring/">how to use the embedded database namespace that debuted in Spring 3.0</A>. The <a href = "http://static.springsource.org/spring/docs/3.1.x/spring-framework-reference/htmlsingle/spring-framework-reference.html#jdbc-embedded-database-support">namespace</A> is great if you want to setup H2, HSQL and Derby instances quickly and then specify initialization <CODE>.SQL</CODE> statements or scripts to run to initialize the database to a…

Spring Shell 1.0 M1 发布

发布 | Costin Leau | 2012年7月18日 | ...

亲爱的Spring社区,

我很高兴地宣布 Spring Shell 项目的第一个里程碑版本发布!Spring Shell 是一个交互式 shell,可以使用基于 Spring 的编程模型轻松地用命令进行扩展,该模型从 Spring Roo 项目中提取。

下载 | JavaDocs | 参考文档 | 更新日志

有关 Spring Shell 的更多信息,请参阅主页

我们期待您在论坛问题跟踪器中提供反馈。

视频:管理和监控 Spring Integration 应用程序

新闻 | Adam Fitzgerald | 2012年7月17日 | ...

此视频讨论了管理和监控使用 Spring Integration 的应用程序的选项。涵盖的主题包括

  • 使用适用于 Spring Insight 的 Spring Integration 插件,以实时查看您的应用程序及其性能
  • 使用 Integration MBean Exporter 及其注册的 MBean 来分析消息端点和通道
  • 将 Integration MBean Exporter 本身导出为 MBean,以访问其属性和操作
  • 使用 <control-bus /> 启动和停止端点
  • 启用和使用消息历史记录
  • 预览正在 Spring Integration 2.2 中构建的有序关机机制

如果您觉得此演示文稿有用,请务必点赞,并订阅 SpringSourceDev 频道以观看其他录制和截屏视频。

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

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

欢迎回到又一期《Spring 本周动态》。本周,我正在旧金山的 JAX。我们过得很愉快,并且很乐意回答社区成员的问题。和往常一样,有很多内容需要介绍,让我们开始吧。

  1. Martin Lippert 宣布了最新版本的 SpringSource Tool Suite 以及 Groovy 和 Grails Tool Suites
  2. Chris Beams 宣布 Spring 3.1.2 已发布!
    	</LI>
    <LI> Rob Winch has announced that <A href = "http://www.springsource.org/node/3588">Spring Security 3.1.1 has been released!  	</A>
    </LI>
    	 
     <LI>  Costin Leau has announced that <A href = "http://www.springsource.org/node/3588">Spring GemFire 1.1.2 has been released!  	</A>
    	</LI>
    
     <LI>   The Tech Annotation page has a great post on using some of  <a href = "http://techannotation.wordpress.com/2012/07/05/remoting-spring-rmi-and-http/">Spring's remoting technologies, RMI and HTTP invoker, to expose objects  to remote clients</A>.  </LI> 
    
    
    <Li>  
    	Chris Haddad  has   put together a…

获取 Spring 新闻通讯

通过 Spring 新闻通讯保持联系

订阅

领先一步

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

了解更多

获得支持

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

了解更多

即将举行的活动

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

查看所有