<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Il 27/09/2016 19:17, Ron Sigal ha
scritto:<br>
</div>
<blockquote
cite="mid:1aab1a7d-1454-713d-7b4c-d19df55c2255@redhat.com"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<p>The Resteasy users guide says</p>
<p> </p>
<blockquote type="cite">
<h2 class="title"><a moz-do-not-send="true" id="d4e1090">21.4. Using
Jackson 2.2.x Inside of JBoss AS7</a></h2>
<a moz-do-not-send="true" id="d4e1090">
<p>If you want to use Jackson 2.2.x inside of JBoss AS7 you'll
have to create a jboss-deployment-structure.xml file within
your WEB-INF directory. By default AS7 includes the Jackson
1.9.x JAX-RS integration, so you'll want to exclude it from
your dependencies, and add the jackson2 ones.</p>
<pre xmlns="" xmlns:d="http://docbook.org/ns/docbook" xmlns:rf="java:org.jboss.highlight.XhtmlRendererFactory" class=""><jboss-deployment-structure>
<deployment>
<exclusions>
<module name="org.jboss.resteasy.resteasy-jackson-provider"/>
</exclusions>
<dependencies>
<module name="org.jboss.resteasy.resteasy-jackson2-provider" services="import"/>
</dependencies>
</deployment>
</jboss-deployment-structure> </pre>
</a></blockquote>
<br>
<p>Besides the fact that we're referring to AS 7 (maybe we should
also address JBoss 4.2.3.Final, my favorite), I'm guessing that
this step is no longer necessary. Can someone verify that?</p>
</blockquote>
I agree, it predates WFLY, which is when Jackson 2 was pulled in
afaics.<br>
<br>
<blockquote
cite="mid:1aab1a7d-1454-713d-7b4c-d19df55c2255@redhat.com"
type="cite">
<p>And what about</p>
<p> </p>
<blockquote type="cite">To enable JacksonJsonpInterceptor in
WildFly, you need to import annotations from <code
class="literal">org.jboss.resteasy.resteasy-jackson-provider</code>
module using jboss-deployment-structure.xml:
<pre xmlns="" xmlns:d="http://docbook.org/ns/docbook" xmlns:rf="java:org.jboss.highlight.XhtmlRendererFactory" class=""><jboss-deployment-structure>
<deployment>
<dependencies>
<module name="org.jboss.resteasy.resteasy-jackson-provider" annotations="true"/>
</dependencies>
</deployment>
</jboss-deployment-structure>
</pre>
</blockquote>
<p>That also seems to be outdated. Thanks.<br>
</p>
</blockquote>
+1<br>
<br>
Cheers<br>
Alessio
<p><br>
</p>
</body>
</html>