本周 Spring:2011 年 7 月 26 日

工程 | Josh Long | 2011 年 7 月 26 日 | ...

欢迎回到“本周 Spring”的又一期!本周 @springsource 将参加在俄勒冈州波特兰举行的 OSCON(以及 OSCON Java 和 OSCON Data)大会。如果您在这里,请莅临我们在展厅的展位,或查看日程安排,了解众多 Spring 演讲!

如果您错过了 OSCON,或者只是想获得更好的 Spring 体验,请务必 注册参加 SpringOne 2GX 2011,这是 Spring、Grails 和 CloudFoundry 开发者的盛会。SpringOne 2GX 是一个独一无二的会议,面向开发业务应用程序、创建支持多设备感知 Web 应用程序、设计云架构以及管理高性能基础设施的应用程序开发者、解决方案架构师、Web 运营和 IT 团队。会议专门为使用非常受欢迎的开源 Spring 技术、Groovy & Grails 和 Tomcat 的开发者量身定制。无论您是构建和运行关键业务应用程序,还是设计下一个杀手级云应用程序,SpringOne 2GX 都将使您及时了解最新的企业技术。

  1. OSCON 很棒,但我将花一个小时观看网络研讨会《Spring Data Redis 入门》,分别面向 北美欧洲
    You should too: <a href="https://redis.ac.cn/">Redis</a> is an open source, advanced key-value store known for its excellent performance, its small footprint and embed-ability. <a href="http://www.springsource.org/spring-data/redis">The Spring Data</a> project makes it easier to build Spring-powered applications that use new data access technologies such as non-relational "NOSQL" databases and cloud based data services. Check it out!  </li>
    
  2. <a href= "http://www.springsource.org/node/3189">Spring Data Graph 1.1.0.RC1 with Neo4j support Released</a>
    The key changes in the Spring Data Graph 1.1.0.RC1 release candidate include:
    
    • 添加了 Gremlin 支持(嵌入式和 REST)
    • QueryEngine.query 方法现在接受一个参数映射(用于 cypher 和 gremlin)
    • 文档更新
  3. Spring Android 1.0.0.M4 发布!Spring Android 支持在 Android 环境中使用 Spring Framework。1.0.0.M4 版本侧重于更新对原生 Android 应用程序中最新 Spring Social 版本的支持,以及为 RestTemplate 提供增强功能。
    • 通过 Spring Android Auth 模块支持 Spring Social 1.0.0.RC1 和 Spring Security 3.1.0.RC2,该模块包含一个用于持久化 OAuth API 连接的 SQLite 数据存储。
    • 更新了 RestTemplate (客户端) 支持,现已达到 Spring Framework 3.1.0.M2 的水平。
    • 在 RestTemplate 中添加了 gzip 压缩支持
    • 添加了对 Google 的 Gson JSON 解析库的支持。Gson 库比 Jackson 小,但 Jackson 的性能更快。
    	 </li>
    
  4. Spring GemFire 1.1.0.M1 已发布.
    The new milestone updates include:
    <UL>
    	
    	<LI>Native support for the upcoming GemFire 6.6</LI>
    	<LI>CacheServer support</LI>
    	<LI>GemFire implementation for Spring 3.1 cache abstraction</LI>
    	<LI>Support for queries with variable parameters</LI>
    	</UL>
    
    
    <LI> 
    	
    	<A HREF ="http://www.springsource.org/node/3187">Spring Data JPA 1.0</a> GA's been released! This powerful framework makes it easy to build JPA-driven repository objects.
    

    这是一段漫长的旅程,但看到这个强大的框架达到 1.0 GA 真是太好了。

  5. 	 <LI>
    		
    	Kal Wahner 
    			has written an overview of 	<a href= "http://java.dzone.com/articles/rapid-cloud-development-spring"> the deployment of Spring Roo applications to Google App Engine</a>, another cloud environment that Spring supports readily.  
    		 He indicates his intention to write up another post, next week, on CloudFoundry, which I would love to see! Good stuff, too. NB: this isn't very technical; e.g., it's more of a a discussion of the broad strokes than a recipe, but he links to a more technical post that might help, too.  
    	</LI>
      <LI>
    	
    	<DIV><A href="http://www.tomcatexpert.com/blog/2011/07/20/apache-tomcat-7019-released">Apache Tomcat 7.0.19 has been released!</a>  
    	Apache Tomcat 7.0.19 includes security fixes, bug fixes and the following new features compared to version 7.0.16:
    	 </DIV>
    
    • JSP 的重新编译现在由 JSP 或其任何依赖项的最后修改时间的任何更改(向前和向后)触发
    • 支持使用 Windows Installer 安装多个实例
    • 包含 jdbc-pool(一个可选的数据库连接池)
  6. Oleg Zhurakousky 写了一篇非常有趣的帖子,关于将 Scala 函数用作 Spring Bean,附带源代码! 非常酷的东西!
  7. 您亲爱的编辑最近被问到关于 Spring 的 FactoryBean<T> 接口:它是做什么用的?为什么?我写了两部分的文章,详细介绍了接口以及 Spring 3.0 和 Spring 3.1 中通常更合适的替代方案。
  8. 继续他关于 Scala 和 Spring 集成的主题 - Oleg Zhurakousky 撰写了一篇关于使用 Scala 在 Spring 中实现 FactoryBean 的文章。这真是太棒了,因为它将 Spring 框架的一个强大部分开放给 Scala 开发。来看看吧!
  9. Loiane Groner - ESJUG(Espirito Santo Java Users Group)和 CampinasJUG(Campinas Java Users Group)的领导者和协调者 - 撰写了这篇精彩的文章,解释了如何在前端使用 ExtJS 4 上传组件,并在后端使用 Spring MVC 3。非常实用,很酷的东西,并且附带了很多代码!
  10. 	<LI> Marco Tedone has written up a wonderful post on using an 	<A  href="http://tedone.typepad.com/blog/2011/07/outofmemoryerror-warning-system-with-spring.html">OutOfMemoryError warning system  - as described in issue #92 of Dr. Heinz Kabutz's wonderful newsletter - 
     with Spring</a>
    		  This is fantastic, and useful!  
    	</LI> 
    	<LI> Spring MVC is very powerful and easily  employed in your application (in Spring 3.0, you need only specify <CODE>&lt;mvc:annotation-driven /&gt;</CODE> to enable it; alternatively in Spring 3.1, you need only specify  <CODE>@EnableWebMvc</CODE> to enable it). It's also very flexible, and can be configured in many ways. One of the pluggability planes is the view technology: there are common recipes for using JSP, Tiles, Velocity, FreeMarker, XML, JSON, PDFs, Excel spreadsheets and much more for Spring MVCs. If none of these meet your requirements, you can look to the open source community to leverage others, <a href="http://www.thymeleaf.org/"> including one called Thymeleaf.</a>  Here's <a href="http://www.thymeleaf.org/thvsjsp.html">a comparison of Thymeleaf to JSP<a> as a Spring MVC view technology.  Here's a tutorial on <a href=  "http://www.thymeleaf.org/thymeleafspring3.html">  setting up the view technology in Spring MVC.</a> Powerful, and simple!  
    

    来看看吧!Tapestry 的模板用户以及 JSF 的 Facelets 将会在这项视图模板技术中发现很多喜欢的地方 - 快来看看吧!

  11. TomcatExpert.com 有一篇关于 Security Lifecycle listener 的精彩文章。
    	Apache Tomcat 7 includes several security updates that further harden the application server that came directly from the Bugzilla queue. One new feature, the Security Lifecycle Listener, helps ensure that Tomcat is started in a reasonably secure way.
    
    
    
    
    </LI>
    

获取 Spring 新闻通讯

通过 Spring 新闻通讯保持联系

订阅

领先一步

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

了解更多

获得支持

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

了解更多

即将举行的活动

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

查看所有