今年春天 - 2012年12月25日

新聞 | Josh Long | 2012年12月25日 | ...

歡迎回到另一個非常特別的假日和年終版的本週 Spring! 如果您一直關注這個總結,那麼您就會知道2012年對於 Spring 來說是非常令人興奮的一年! 在我們開始每週總結之前,讓我們先看看一些亮點

  1. Springing Forward 當然,今年看到了 Spring 3.2 的發佈,正好在 Spring 3.1 發佈一年後發佈,包含許多新功能,並幫助 Spring 保持其作為構建 Web 應用程式的首選平台的地位。 今年還看到了其他 Spring 專案的許多重大改進和迭代,例如 Spring Integration 2.2.0 GA、Spring Data
  2. 雲端 Spring 在所有雲端平台上都能很好地運行,這歸功於依賴注入提供的與底層平台的自然解耦,但它一直 – 並且將繼續 – 在 Cloud Foundry(開源 PaaS)上享有特殊的地位。 而且,對於 Cloud Foundry 來說,這是多麼輝煌的一年! 我們已經看到像 App Fog 這樣的生態系統合作夥伴採用 Cloud Foundry 的組件並加以利用。 我們已經看到 Cloud Foundry 上對 Spring 應用程式的支援有了顯著的改進,並新增了 獨立進程等新功能,等等。
  3. RESTful Web 如果你問我,今年最令人興奮的部分是看到 Spring 的 Web 支援有所改進。 如果您希望構建 Web 應用程式(包括在 Servlet 3 環境中)或公開 RESTful API 端點,那麼 Spring MVC 是自然選擇。 如果您想保護這些 RESTful 端點,Spring Security OAuth 是一個易於使用的綁定,它支援在 REST 之上使用 OAuth。 需要通過 OAuth 連接到 Twitter、Facebook、LinkedIn 和 GitHub 等社交服務提供商嗎? 使用 Spring Social。 想在您的 RESTful 端點中支援 HATEOAS 的原則嗎? 查看 Spring HATEOAS。 您是否想透明且輕鬆地公開 Spring Data 儲存庫以用作 RESTful 端點? 您無需再尋找 Spring Data REST。 沒有比 Spring 今天提供的更豐富、更全面或更整合的解決方案集,可用於構建豐富的 RESTful Web 應用程式。
  4. Git'ing Involved 今年,特別是,在 Spring 開源專案中看到了社群互動的急劇增加,現在所有專案都在 GitHub.com/SpringSource 上。 Spring 和其他專案一直是開源的,但是 Git 啟用的協作模型使得 Spring Social、Spring Integration 和 Spring Data 等專案可以非常容易地在社群輸入和貢獻中蓬勃發展。
  5. 擴大 SpringSource 內容的覆蓋範圍 我們一直在努力將關於 SpringSource 的所有內容帶給所有開發人員,並且今年擴展了很多。 例如,除了在 SpringSource.org 上發佈內容之外,您是否知道您可以在 Twitter 上的 @SpringSourceGoogle+ 上的 +SpringFrameworkYouTube SpringSourceDev 頻道以及(這對於中國的許多粉絲特別有用)新浪微博上的 SpringFramework 上找到 SpringSource? 此外,如果您喜歡這個總結,請務必將 本週 Spring 聚合頁面加入書籤。

現在,進入本週的總結! 有很多內容要介紹,希望如果您抽出時間過節並且手頭有一些空閒時間,本週您不會缺少閱讀的內容!

 <Ol>   
	 <LI> If you've been following this roundup, then you know that we wrapped up our SpringOnes India and China events. For more details,  <a href="http://www.springsource.org/node/3777">checkout our wrapup post</a>!</LI>
	<LI> The <EM>baeldung</EM> blog has another great post up on using Spring MVC and Spring Security to <a href="http://www.baeldung.com/2012/12/20/authentication-against-a-restful-service/">secure a RESTful web service</a>. There are many ways to secure an HTTP REST web service, including HTTP Basic and the bespoke solution presented in this article. Many people are also using Spring Security OAuth, which lets you expose your RESTful web services through OAuth.  
	 
		</LI>
 <LI> Blogger Shaun Abram's put together a very nice post on <a href ="http://www.shaunabram.com/springmvc-file-download/">how to stream data using Spring MVC back to the client</a></LI>
 <LI>  Krishna Prasad's put  together a nice post on using <A href="http://java.dzone.com/articles/claimcheck-pattern-using">the claim check pattern with Spring Integration and GemFire</a></LI>
 <LI>  Krishna's also  put together a nice post on  <a href="http://java.dzone.com/articles/pubsub-vfabric-rabbitmq-and?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+javalobby%2Ffrontpage+%28Javalobby+%2F+Java+Zone%29&utm_content=Google+Reader">publish/subscribe with vFabric RabbitMQ and Spring Integration using Spring AMQP</a>.</LI>
 <LI>  Did you guys miss the webinar, <EM>The Data Renaissance: Going In-Memory with VMWare vFabric GemFire</EM>? Have no fear,  
	
	<a href="http://www.youtube.com/watch?v=U85fxz31HTA&feature=youtu.be">it's available</a> - along with a lot of other great content, on the <a href="http://youtube.com/SpringSourceDev">SpringSource Dev Channel</a> </LI> 
	 <LI> The <em>quick guide to Java</EM>  blog has a nice post on setting up a <a href="http://javakart.blogspot.com/2012/12/developing-mongodb-example-using-spring-data.html">simple Spring Data MongoDB example</a>.
 <LI> 
	 
	Corey Reil's put together 		
	a really nice post on <a href= "http://coreyreil.wordpress.com/2012/12/21/spring-batch-creating-an-ftp-tasklet-to-get-remote-files">building a Spring Batch <CODE>Tasklet</CODE>
	that reads data from an FTP endpoint</a>.  
	 The solution, he rightly points out, was already possible with the Spring Integration FTP adapter, 
	 but he wanted to keep things as simple as possible, so he simply reused some of the Spring Integration adapters in writing his <CODE>Tasklet</CODE>.  Nice job!
	  
	</LI>
 <LI>  The <EM>A Developer's Diary</EM> blog has a post with code on 
	  <a href="http://dev-faqs.blogspot.com/2012/12/spring-framework-populating-map-using.html">how to configure a <CODE>java.util.Map&lt;K,V&gt;</code> in XML</a>
	 </LI>
 <LI>   
	 The <EM>Learning via Code</EM> blog has a nice <a href="http://learningviacode.blogspot.in/2012/12/soap-webservices-using-spring-1.html"> couple</a> of  posts on using Spring Web Services to <a href="http://learningviacode.blogspot.com/2012/12/soap-webservices-using-spring-2.html"> expose a <code>.xsd</code> and <code>.wsdl</code></a>.  
	
	</LI>
</ol> 

好吧,那個飛逝而過! 由於下週二是一月一日,因此這將是 2012 年最後一期的本週 Spring! 與往常一樣,為您整理這個總結絕對是一種樂趣。 我相信可以代表所有 SpringSource 發言,讓我祝您節日快樂,新年快樂!

取得 Spring 電子報

與 Spring 電子報保持聯繫

訂閱

領先一步

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

了解更多

取得支援

Tanzu Spring 在一個簡單的訂閱中提供對 OpenJDK™、Spring 和 Apache Tomcat® 的支援和二進位檔案。

了解更多

即將舉行的活動

查看 Spring 社群中所有即將舉行的活動。

查看全部