Browse Source

Update remoting chapter (minor)

Issue: SPR-9822
pull/170/merge
Rossen Stoyanchev 12 years ago
parent
commit
2f504dda3a
  1. 15
      src/reference/docbook/new-in-3.2.xml
  2. 10
      src/reference/docbook/remoting.xml

15
src/reference/docbook/new-in-3.2.xml

@ -38,6 +38,21 @@ @@ -38,6 +38,21 @@
</section>
<section id="new-in-3.2-spring-mvc-test">
<title>Spring MVC Test framework</title>
<para>First-class support for testing Spring MVC applications with a
fluent API and without a servlet container. Server-side tests involve
use of the <classname>DispatcherServlet</classname> while client-side
REST tests rely on the <classname>RestTemplate</classname>.
See the following presentation for more information before
documentation is added:
<ulink url="https://github.com/rstoyanchev/spring-32-test-webapps">
"Testing Web Applications with Spring 3.2"</ulink>.
</para>
</section>
<section id="new-in-3.2-webmvc-content-negotiation">
<title>Content negotiation improvements</title>

10
src/reference/docbook/remoting.xml

@ -1389,15 +1389,15 @@ String result = @@ -1389,15 +1389,15 @@ String result =
specifying an implementation of
<interfacename>ClientHttpRequestFactory</interfacename>. Spring provides
the implementation
<classname>CommonsClientHttpRequestFactory</classname> that uses the
Jakarta Commons <classname>HttpClient</classname> to create requests.
<classname>CommonsClientHttpRequestFactory</classname> is configured
<classname>HttpComponentsClientHttpRequestFactory</classname> that uses the
Apache HttpComponents <classname>HttpClient</classname> to create requests.
<classname>HttpComponentsClientHttpRequestFactory</classname> is configured
using an instance of
<classname>org.apache.commons.httpclient.HttpClient</classname> which
<classname>org.apache.http.client.HttpClient</classname> which
can in turn be configured with credentials information or connection
pooling functionality.</para>
<para>The previous example using Jakarta Commons
<para>The previous example using Apache HttpComponents
<classname>HttpClient</classname> directly rewritten to use the
<classname>RestTemplate</classname> is shown below</para>

Loading…
Cancel
Save