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 运维和 IT 团队量身定制的独特会议,他们开发业务应用、创建多设备感知 Web 应用、设计云架构和管理高性能基础设施。 这些会议专门为使用广受欢迎的开源 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 的文章。 这绝对很棒,因为它为 Scala 开发打开了 Spring 框架的一个强大组成部分。 去看看!
  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 社区中所有即将举行的活动。

查看全部