cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r809971 - in /websites/production/cxf/content: cache/docs.pageCache docs/jax-rs-data-bindings.html
Date Sun, 25 Mar 2012 17:48:10 GMT
Author: buildbot
Date: Sun Mar 25 17:48:10 2012
New Revision: 809971

Log:
Production update by buildbot for cxf

Modified:
    websites/production/cxf/content/cache/docs.pageCache
    websites/production/cxf/content/docs/jax-rs-data-bindings.html

Modified: websites/production/cxf/content/cache/docs.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/jax-rs-data-bindings.html
==============================================================================
--- websites/production/cxf/content/docs/jax-rs-data-bindings.html (original)
+++ websites/production/cxf/content/docs/jax-rs-data-bindings.html Sun Mar 25 17:48:10 2012
@@ -357,7 +357,7 @@ Apache CXF -- JAX-RS Data Bindings
 
 <h2><a shape="rect" name="JAX-RSDataBindings-Jackson"></a>Jackson</h2>
 
-<p>If you prefer using a Jackson JSON JAX-RS provider then simply add it as a provider:</p>
+<p>If you prefer working with Jackson JSON providers then register either JacksonJsonProvider:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
 <pre class="code-xml">
 <span class="code-tag">&lt;jaxrs:providers&gt;</span>
@@ -366,6 +366,17 @@ Apache CXF -- JAX-RS Data Bindings
 </pre>
 </div></div>
 
+<p>or JacksonJaxbJsonProvider (when working with JAXB beans):</p>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-xml">
+<span class="code-tag">&lt;jaxrs:providers&gt;</span>
+   <span class="code-tag">&lt;bean class=<span class="code-quote">"org.codehaus.jackson.jaxrs.JacksonJaxbJsonProvider"</span>/&gt;</span>
+<span class="code-tag">&lt;/jaxrs:providers&gt;</span>
+</pre>
+</div></div>
+
+
 <p>and add this Maven dependency:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
 <pre class="code-xml">



Mime
View raw message