<div dir="ltr"><div class="markdown-here-wrapper" id="markdown-here-wrapper-755411" style><p style="margin:1.2em 0px!important">Hi guys</p>
<p style="margin:1.2em 0px!important">I’m preparing my talk for MobileConf this weekend and would like to talk about push. I tried to use Java Sender, but, I’m a little confuse. The documentation say:</p>
<ul style="margin:1.2em 0px;padding-left:2em">
<li style="margin:0.5em 0px">use<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;display:inline;white-space:pre;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important;display:block;padding:0.5em;color:rgb(51,51,51);background-color:rgb(248,248,255);background-repeat:initial initial">defaultJavaSender.send(unifiedMessage);</code></pre>


but this method dosen’t exist. I think the correct is sendTo or broadcast, but if I try use it I get[2] <pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px">

<code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;display:inline;white-space:pre;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important;display:block;padding:0.5em;color:rgb(51,51,51);background-color:rgb(248,248,255);background-repeat:initial initial">Caused by: java.lang.NoClassDefFoundError: org/codehaus/jackson/map/ObjectMapper
  at org.jboss.aerogear.unifiedpush.SenderClient.transformJSON(SenderClient.java:205) [unified-push-java-client-0.2.2.jar:0.2.2]</code></pre>
</li>
<li style="margin:0.5em 0px">Documentation is not clear for me where I need add[2] JBoss workaround in standard.xml. Can I add it anywhere within the server tag?</li>
</ul>
<p style="margin:1.2em 0px!important">[1] <a href="https://github.com/aerogear/aerogear-unifiedpush-java-client">https://github.com/aerogear/aerogear-unifiedpush-java-client</a> <br><br>[2] <a href="https://gist.github.com/danielpassos/f6d733197b995156722c">https://gist.github.com/danielpassos/f6d733197b995156722c</a>  <br>

<br>[3] <a href="https://github.com/aerogear/aerogear-unifiedpush-java-client#known-issues">https://github.com/aerogear/aerogear-unifiedpush-java-client#known-issues</a> <br></p>
</div></div>