领先一步
VMware提供培训和认证,以加快您的进度。
了解更多欢迎回到2011年的《本周Spring》的最后一期。难以置信的是,我们已经做了整整一年了!时间去哪儿了?正如人们所说,时间过得真快……
一直以来,我们的希望是这些综述能够让开发者更容易了解Spring社区的脉搏。在SpringSource和VMware的公告、发布和内容以及社区创作的大量内容之间,总是有有趣的事情发生。
虽然本周有很多有趣的内容,但我们将把通常的评论推迟到下周。本周,我们将回顾2011年Spring社区的一年。
</P>
<OL>
<lI> <B>Spring 3.1</B> Development of Spring 3.1 began in earnest in early 2010, and by SpringOne 2GX 2010 we already had an idea of what it was going to look like. By the beginning of this year, <a href ="http://www.springsource.org/node/3026">we already had milestones</a> to play with.
As the year progressed, we saw numerous new milestones, followed in short order by release candidates. The release candidates progressed and then, finally, a couple of weeks ago, we <a href = "http://www.springsource.org/node/3335">got Spring 3.1 GA</a>.
在Spring 3.1的许多新的令人兴奋的功能和主题中,有:
Environment
抽象 </LI>
<LI>
<B>The Cloud and Cloud Foundry</B>
In April of this year, <a href ="http://blog.springsource.org/2011/04/12/launching-cloud-foundry/">SpringSource and VMWare launched Cloud Foundry</A>, the open source Platform as a Service. <a href = "http://cloudfoundry.org">Cloud Foundry</a> can be run on-premise.
Cloud Foundry is an open-source Platform-as-a-Service (PaaS). Cloud Foundry works with many languages, runtimes, and services. And, if the list of supported services and runtimes wasn't enough, one only had to wait to see <a href="http://blog.cloudfoundry.com/post/6109591023/cloud-foundry-now-supporting-scala"> Scala</a> support, <a href ="http://blog.springsource.org/2011/08/30/using-postgres-on-cloud-foundry/">PostgreSQL</a> support, <a href = "http://blog.springsource.org/2010/04/13/springsource-acquires-rabbitmq/">RabbitMQ</a> support and <A href = "http://blog.cloudfoundry.com/post/13481010480/cloud-foundry-welcomes-net-framework-community-contributions">.NET</a> support added in the months that followed.
Cloud Foundry works <a href = "http://blog.springsource.org/2011/10/13/using-cloud-foundry-services-with-spring-part-1-the-basics/">brilliantly</a> with <a href ="http://blog.springsource.org/2011/11/04/using-cloud-foundry-services-with-spring-part-2-auto-reconfiguration/">Spring applications</a>.
You can use the <a href = "http://blog.springsource.org/2011/11/09/using-cloud-foundry-services-with-spring-applications-part-3-the-cloud-namespace/"> <<CODE>cloud</CODE>></a> namespace or Java configuration in tandem with the Cloud Foundry library to interrogate and work with the services provisioned by Cloud Foundry. <a href ="http://blog.springsource.org/2011/11/10/using-cloud-foundry-services-with-spring-part-4-%e2%80%93-spring-profiles/">Spring 3.1 profiles can be used to to good effect on Cloud Foundry</a> to conditionally reference data sources that are managed by the cloud when your application's run in the cloud. Spring AMQP and Spring Integration make it simple <a href = "http://blog.springsource.org/2011/08/16/chatting-in-the-cloud-part-1/">to build messaging applications using RabbitMQ</a> on Cloud Foundry, and the Spring Data projects make it dead simple to build applications that work with <a href = "http://blog.springsource.org/2011/05/03/using-mongodb-redis-node-js-and-spring-mvc-in-a-single-cloud-foundry-application/"> MongoDB, and Redis</a> on Cloud Foundry. There is of course <a href = "http://blog.springsource.org/2011/08/24/using-micro-cloud-foundry-from-grails/">Grails support</a> and <a href ="http://blog.springsource.org/2011/04/12/roo-cloud-foundry-productivity-in-the-cloud/">Spring Roo support</a>. <a href = "http://blog.springsource.org/2011/08/24/micro-cloud-foundry-for-spring-developers/"> Cloud Foundry released Micro Cloud Foundry</a>, a virtual machine with a fully configured cloud that you could use to develop your Spring applications locally. To support automated builds with Cloud Foundry, <a href="http://blog.springsource.org/2011/09/22/rapid-cloud-foundry-deployments-with-maven/">developers can use the Maven plugin</a>.
</LI>
<LI> <B>Big Data</B>
2011 delivered the implementation of the NoSQL data integration vision that Rod Johnson described way back at SpringOne 2GX 2010.
This year saw many Spring Data projects reach or exceed 1.0 releases (and the numerous milestones and release candidates that precede GA releases!), including <a href = "http://blog.springsource.org/2011/02/10/getting-started-with-spring-data-jpa/">Spring Data JPA</a> and <a href = "http://www.springsource.org/node/3302">Spring Data Neo4J</a>, <a href = "http://www.springsource.org/node/3346">Spring Data MongoDB</a>, <a href ="http://www.springsource.org/node/3337">Spring Data Redis</a>, <a href = "http://www.springsource.org/node/3336">Spring Data GemFire</a>, and the evolution of numerous other interesting projects like <a href = "https://github.com/SpringSource/spring-hadoop">Spring Hadoop</a>, and the concept of <a href = "http://blog.springsource.org/2011/07/27/fine-tuning-spring-data-repositories/">Spring Data Repositories</a>.
</LI>
<LI> <B>Mobile and The Next Generation Web </B>
The web's a big place, and it comes in many form factors.
Today, delivering an application means delivering it through the web, and on mobile platforms like Android and iOS.
A huge part of building better mobile applications is building RESTful services for communication between client and a server in a standard, interoperable way.
Spring Core 提供了RestTemplate
,它方便了客户端和服务器之间的RESTful通信。
Spring Android 提供了从Android设备使用RESTful web服务的支持。
This year even saw the creation of some great information for <a href = "http://blog.springsource.org/2011/08/26/clean-code-with-android/"> building cleaner Android applications overall</a>.
As powerful as REST is, it can't be the full story. A critical piece of the pie is security, and authorization. After all, Facebook can't very well go around exposing your data through a RESTful service that you haven't explicitly authorized it to. The last few years bore witness to the rise of the various OAuth standards, and implementations by the various service providers like Facebook, Twitter, etc. <a href = "http://blog.springsource.com/2011/09/08/spring-social-1-0-what-a-year-makes/">Spring Social went GA this year</a> and it supports communication with these services through OAuth. Spring Android also supports Spring Social, making it ideally trivial to consume OAuth-secured, RESTful services from
Android应用程序。此外,Spring Security OAuth(一个致力于帮助人们使用OAuth公开安全服务的Spring Security项目)也在今年开始了其走向GA的历程。
</LI>
</OL>
<P> That's it for this week and year! Happy new year! We look forward to seeing you next year! <p>