领先一步
VMware 提供培训和认证,助您加速进步。
了解更多

欢迎阅读本期《本周 Spring 动态》!我即将前往挪威奥斯陆参加 JavaZone 会议,届时将与大家交流在 Cloud Foundry 之上使用 Spring Integration 和 Spring Batch 的经验。这确实是一个非常自然的用例:Cloud Foundry 可以轻松扩展以处理最繁重的工作负载,而 Spring Integration 和 Spring Batch(可能基于 RabbitMQ)则负责处理底层连接并承担跨集群分发工作负载的繁重任务。
<P>Wrapping up from last week's Cloud Foundry Open Tour - India, touring <a href="http://opentour.cloudfoundry.com/2012/bangalore">Bangalore</a>, and <a href="http://opentour.cloudfoundry.com/2012/pune">Pune</a>, I got great feedback about using Spring MVC for multi-client applications with REST. We looked at deploying those applications to <a href="http://cloudfoundry.org">Cloud Foundry</a>, the open-source PaaS from VMware, where you can control the range of channels that your Spring MVC/REST architecture can deliver to. It's been a truly exciting time. Cloud Foundry gives developers a platform to deploy the Spring applications they want to build, how they want to build them, without having to worry about infrastructure and middleware concerns. </p>
<P>Also don't miss the Spring, Groovy and Grails event of the year in Washington, DC: <a href="http://www.springone2gx.com/conference/washington/2012/10/home">SpringOne2GX</a>. If you haven't already registered, now's the time!
</p>
</p>
一如既往,我们有很多精彩内容等着大家,让我们马上开始吧!
<constructor-arg/> 标签,通过参数索引来指定 bean 构造函数参数。default Servlet 的工作原理以及 Spring MVC(从 3.0 版本开始)如何利用它的信息,非常精彩,值得任何人士快速阅读。File > New > Spring Template Project 菜单,您就会看到多个选项,包括一个用于在 Web 应用程序中配置完整的 Spring Batch Admin 的项目! </LI>
MockWebServiceClient 向 Web 服务发送基于负载的请求并验证结果。为了搭建 Web 服务,他使用了 Spring Integration 的入站 Web 服务网关。这是设置 Web 服务端点的另一种方法。或者,您也可以使用 Spring Web Services 并将它们直接暴露在 Web 应用程序中,或者放在 Spring MVC 的 Web 处理机制之上。这种方法对我来说更有意义,因为它让您能够使用 Spring Integration 工具箱中众多的“工具”更好地表达请求处理管道。Tshikatshikaa,或者技术笔记博客,对如何在 JPA 2 和 Spring 3.1 的测试支持以及 Java 配置下进行 Spring 服务和数据访问对象 (DAO) 的单元测试进行了非常深入的探讨。RestTemplate 对象来集成测试 Web 服务。该文章还链接到了一些非常不错的客户端,包括 SoapUI、Firefox REST Client 插件和 Chrome 的 POST MAN 插件。