抢占先机
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 插件。