本周 Spring 动态:2011 年 8 月 23 日

工程 | Josh Long | 2011年8月24日 | ...

欢迎来到新一期的《本周 Spring 动态》。随着 VMworld 2011 的临近,事情进展得如火如荼。我想邀请所有与会者参观 VMWorld Spring 展位,与我们的专家技术人员交流。如果您阅读了本周总结,请告诉我。本周有很多话题可以聊,让我们开始吧!

    <li>The preliminary session schedule has been published for <a href="http://www.springone2gx.com">SpringOne 2GX 2011</a>. This year's show is going to be another fantastic mix of deep technical content, cutting edge development and the absolute best place to learn about everything in the Spring universe. Be sure to <a href="http://springone2gx.com/conference/chicago/2011/10/register">register now</a>!</li>
    
    <LI> <a href="http://static.springsource.org/spring/docs/3.0.6.RELEASE/changelog.txt">Spring 3.0.6's was just released!</a>   		 
    	 This release addresses over 50 minor issues and includes about a dozen small improvements. Be sure to read the <a href="http://static.springsource.org/spring/docs/3.0.6.RELEASE/changelog.txt">Change Log</a> for all the details and <a href="http://www.springsource.com/download/community?project=Spring%20Framework&version=3.0.6.RELEASE">download</a> the bits as soon as possible. 		
    	</LI>	
        
        
    	<LI> <a href="http://www.springsource.org/node/3208">Spring Data Graph 1.1.0 with Neo4j support</a> has just been released. The new version features improved support for the latest and greatest Neo4j iteration, (1.4.1), as well as improved support for queries. You can now build repositories using Spring Data Graph with much greater ease. Also, the project's been renamed to reflect its core focus, Neo4j, thus, this will be the <EM> Spring Data Neo4j</EM> project, going forward. This rename is already evident in the packages in the project. 
    		
    		  
    	</LI> 
    
  1. Eclipse Gemini Blueprint 负责人 Costin Leau 告知,Eclipse Gemini Blueprint 1.0.0.RELEASE 已发布!1.0.0.RELEASE 的发布完成了 Spring DM 向 Eclipse Foundation 的迁移(更多信息请参阅这篇指南)。干得漂亮,伙计们!
  2. I like <a href="http://www.cloudfoundry.org">CloudFoundry.</a> Others may not be using CloudFoundry, as it is relatively new. Some might still be using Google App Engine, for example. And that's OK. Spring always has been, and will continue to be, about portability and choice. So it is great to see a post that demonstrates <a href="http://www.springsource.org/node/3207">it is easy to get Spring Roo applications running on Google App Engine</a>, too!  </LI>
    
  3. Spring Integration 的仓库地址已更改!以前,该仓库托管在 git.SpringSource.org,但现在已迁移到 Github 上的 SpringSource 主页
  4. Ken Rimple 又发表了一篇精彩文章,这次是关于即将发布的 Spring Roo 1.2 版本,该版本支持 Roo 传统上生成的 ActiveRecord 风格实体以及服务,后者想必大家都很熟悉。虽然一直以来都可以将服务与 Spring Roo 结合使用,但这个新版本使其成为工作流程中的自然组成部分。
  5. Xebia India 的敏捷开发者 Tarun Sapra 写了一篇不错的文章,讲解何时使用 Spring 的 singleton 概念的黄金法则:仅在 Bean 不需要客户端特定状态时使用单例。虽然他稍微不同地表述了这条黄金法则,但我认为这个区分很重要。Spring Bean 本身可以维护状态,但它们必须保护该状态免受多个(通常是并发的)客户端的修改。
    A lot of times, too, Spring lets you work as though you have client-specific state, but are in fact using a singleton. An example of this is in the way Spring supports injection of the JPA <CODE>EntityManager</CODE>, which is <EM>not</EM> thread-safe. Spring intercepts calls to the EntityManager proxy that's injected and then, in a thread-local, creates an EntityManager so that each request <em>effectively</em> has client-specific state, but they can program in terms of single-threaded access. 
    

    不过,这篇文章非常值得一读。

  6. TomcatExpert.com 评论了 Apache Tomcat 中对 JNDI 资源的显式释放的支持。Apache Tomcat 7 包含许多围绕数据库连接池的新功能,这些功能有助于管理员保持应用程序的可用性,并使其能够提供内容、收集客户信息和支持其应用程序。其中引起广泛关注的主要功能是 Filip Hanik 去年引入的新的 JDBC 连接池功能。TomcatExpert.com 上尚未讨论的另一个连接池属性是用于加速关闭 JNDI 资源的新的 closeMethod,否则这些资源将在垃圾回收期间关闭。

    	</lI>
    	<LI> This <a href="http://www.ibm.com/developerworks/web/library/x-springandroid/index.html">post</A> by Deepak Vohra on IBM's DeveloperWorks has some great information on using Spring Android's <CODE>RestTemplate</CODE> support to consume RESTful web services (which, in this example, were developed using JAX-RS). Interoperability is king, and Spring's REST support makes it easy.
    
  7. <LI><a href="http://www.dzone.com/links/r/spring_integration_with_mvc_freemarker_jsp_webser.html">This fantastic post covers using  FreeMarker</a> (via the <CODE>org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver</CODE> view resolver) for Spring MVC views</a>. I like FreeMarker, and it has a lot to offer compared to straight <CODE>JSP</CODE> (and even compared to straight <CODE>JSPX</CODE>!) The take away, for me, is that Spring MVC supports lots of options, and provides SPIs that make it very simple to integrate new technology for each of the core pieces of the integration.
    

    太棒了!

  8. ……这让我想到 Sean Scanlon 的这个 Spring MVC 视图实现,它支持Mustache.js 模板。也很棒!
  9.          <LI>  Blogger Mkyong has posted a tutorial <a href="http://www.mkyong.com/spring-security/spring-security-hello-world-example">introducing how to use Spring Security 3.</a>
         The tutorial covers the basics of setting up Spring Security 3 with Maven 3 for a simple web application login scenario.  
    
         </LI>
    
    <LI> 
    	<a href="http://www.tomcatexpert.com/blog/2011/08/19/apache-tomcat-6033-released">Apache Tomcat 6.0.33 has been released!</a>
    	 
    	
    	 
    
    	Apache Tomcat 6.0.33 is primarily a security and bug fix release. All users of older versions of the Tomcat 6.0 family should upgrade to 6.0.33.
    
    	Note that is version has 4 zip binaries: a generic one and three bundled with Tomcat native binaries for different CPU architectures.
    
    	Apache Tomcat 6.0 includes new features over Apache Tomcat 5.5, including support for the new Servlet 2.5 and JSP 2.1 specifications, a refactored clustering implementation, advanced IO features, and improvements in memory usage.
    
    	 
    </LI>
    

获取 Spring 新闻通讯

通过 Spring 新闻通讯保持联系

订阅

领先一步

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

了解更多

获得支持

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

了解更多

即将举行的活动

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

查看所有