<div dir="ltr">Hi Sebi,<div><br></div><div>NICE WORK! It&#39;s an interesting side project!<div><br></div><div style><br></div><div style>I think the integration with the AS is currently done a bit better, thanks to Dan&#39;s work on the modular subsystem project.</div>
<div style>Right now, vert.x needs to run &quot;on the side&quot;, instead of directly inside of the AS.<br></div><div style><br></div><div style>However this verticle, might be easier on OpenShift. However not sure about the ports, being used...</div>
<div style><br></div><div style>-Matthias</div><div style><br></div><div style><br></div><div style><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 27, 2013 at 10:38 AM, Sebastien Blanc <span dir="ltr">&lt;<a href="mailto:scm.blanc@gmail.com" target="_blank">scm.blanc@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br><div>This weekend I&#39;ve been playing with Dan&#39;s Simple Push Server implementation ( <a href="https://github.com/danbev/aerogear-simplepush-server/" target="_blank">https://github.com/danbev/aerogear-simplepush-server/</a> ) and I started to write a vert.x implementation of the server.</div>

<div><br></div><div>But ... why ? </div><div><br></div><div>*  By nature, vert.x is meant for asynch applications and Simple Push was a perfect fit.</div><div><br></div><div>* It can easily scale just by running more verticle instances (and soon deployable on openshift) <br>

</div><div><br></div><div>* Showing how Dan&#39;s server can be used as &quot;library&quot;, indeed the vert.x implementation consist just in one script, a verticle, relying on the protocol jar and the server impl jar.</div>

<div><br></div><div>*  Removing boiler plate code, vert.x APIs wrap a lot of Netty&#39;s logic. Basically, the script replace the Netty package of the server implementation <a href="https://github.com/danbev/aerogear-simplepush-server/tree/master/server/src/main/java/org/jboss/aerogear/simplepush/server/netty" target="_blank">https://github.com/danbev/aerogear-simplepush-server/tree/master/server/src/main/java/org/jboss/aerogear/simplepush/server/netty</a></div>

<div><br></div><div>* It&#39;s fun and written in Groovy (and because it&#39;s vertx, it would be easy to port it to Java, JavaScript or Python, we are brolyglot ! )</div><div><br></div><div>So, it&#39;s really early/alpha work, a lot of stuff is missing right now but if there is interest, we could add these (security, scheduled &quot;cleaner&quot; verticle ...).</div>

<div><br></div><div>You can find it here <a href="https://github.com/sebastienblanc/aerogear-simplepush-server/tree/verticle/verticle" target="_blank">https://github.com/sebastienblanc/aerogear-simplepush-server/tree/verticle/verticle</a> and use the websocket demo page of Pushee, just as for the server version. Instructions are included in the readme.</div>

<div><br></div><div><br></div><div><br></div><div><br></div></div></div>
<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br>
<br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div>