本週 Spring:2012年5月29日

工程 | Adam Fitzgerald | 2012年5月29日 | ...

歡迎回到又一期《本週 Spring》!像往常一樣,我們有很多內容要介紹,所以讓我們直奔主題!

  1. Chris Beams 宣佈 Spring 3.2 的第一個里程碑版本現已釋出!這個版本太棒了!
    	It includes 
    
    	initial support for asynchronous <CODE> @Controller</CODE> methods,
    	early support for JCache-based cache providers,
    	significant performance improvements in autowiring of non-singleton beans,
    	initial delay support for <CODE> @Scheduled</CODE> and <CODE> &lt;task:scheduled&gt;</CODE>,
    	ability to choose between multiple executuors with <CODE>@Async</CODE>,
    	enhanced bean profile selection using the not (<CODE>!</CODE>) operator,  
    	48 bugs fixed, 8 new features and 36 improvements implemented. 
    	
    

    立即檢視最新最棒的版本,並隨時提供反饋!

    當我在Twitter賬戶上徵求此綜述的任何考慮專案時,一位使用者立即反駁道:“有了Spring 3.2的訊息,不如就社群是否希望3.2 M1之後直接推出RC1進行一次投票吧。它太好了,等不及了。” 我同意,這個版本確實非常棒!

    	  </LI>
    
  2. Michael Isvy撰寫了一篇精彩的關於Spring核心底層代理機制的介紹,包括事務管理和快取。一旦你理解了它的工作原理,就可以輕鬆地進行精確運用。
  3. Martin Lippert宣佈SpringSource Tool Suite 2.9.2已釋出。此版本包括對tcServer 2.7的更新相容性以及一些錯誤修復。
  4. Alan Stewart宣佈Spring Roo 1.2.2版本已釋出
     This is the second maintenance release for 1.2 and includes fixes for a number of issues and includes support for Spring Framework 3.1.1 and JDK 7.  Roo 1.2.2 also includes the excellent new "tailor" feature provided by our partner, Accenture. The H-Online website had <a href = "http://www.h-online.com/open/news/item/Spring-Roo-1-2-update-arrives-1585213.html">coverage of the release</A>.  </LI>  
    
    <LI> The Cake Solutions blog has put together  (another!) 
     great blog introducing 
    <a href ="http://www.cakesolutions.net/teamblogs/2012/05/23/enabling-neo4j-web-admin-tool-on-the-embedded-server-using-spring-data">
    how to run Neo4j embedded with the web administration tool, and Spring Data</A>. 
    / </LI>
    
  5. Zenika部落格再次出擊,本週的綜述中不僅帶來了一篇,而是兩篇精彩文章。第一篇文章提供了Spring Data MongoDB的概述,第二篇文章概述瞭如何結合使用Spring Batch和MongoDB。很棒的內容,我一定會回來檢視新內容!
  6. JavaRevisted部落格有一篇很好的文章,關於如何在Spring中指定bean的作用域。幾點澄清:Spring 3.0確實提供了新的作用域(包括我最喜歡的一個,SimpleThreadScope,並且——儘管這篇部落格介紹了可用的預設作用域——你可以使用CustomScopeConfigurer並填寫自定義作用域例項的對映來輕鬆註冊新的作用域,如下所示
    	@Bean 
    	public static CustomScopeConfigurer csc(){ 
    	  
    	  Map<String,Object> scopes = new HashMap<String,Object>();
    	  scopes.put("thread", new SimpleThreadScope());
    	  	
    	  CustomScopeConfigurer csc = new CustomScopeConfigurer();
    	  csc.setScopes(scopes);
    	  return csc;	
    	}
    
  7. 博主Angelo Zerr撰寫了一篇介紹如何使用Spring Virgo(以前稱為Spring DM)、Spring Data JPA和Spring Remoting構建Eclipse RCP應用程式的文章。有很多部落格——它們似乎在頂部附近都有連結到之前的上一篇,所以只需倒著看就能找到所有文章。

    這些文章有法語和英語兩個版本。

  8. Navin Bansal撰寫了一篇部落格,介紹了Spring容器管理的bean的生命週期

獲取 Spring 新聞通訊

透過 Spring 新聞通訊保持聯絡

訂閱

領先一步

VMware 提供培訓和認證,助您加速進步。

瞭解更多

獲得支援

Tanzu Spring 提供 OpenJDK™、Spring 和 Apache Tomcat® 的支援和二進位制檔案,只需一份簡單的訂閱。

瞭解更多

即將舉行的活動

檢視 Spring 社群所有即將舉行的活動。

檢視所有