<div dir="ltr">Hi Sebi,<div><br></div><div>NICE WORK! It'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's work on the modular subsystem project.</div>
<div style>Right now, vert.x needs to run "on the side", 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"><<a href="mailto:scm.blanc@gmail.com" target="_blank">scm.blanc@gmail.com</a>></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've been playing with Dan'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's server can be used as "library", 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'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's fun and written in Groovy (and because it's vertx, it would be easy to port it to Java, JavaScript or Python, we are brolyglot ! )</div><div><br></div><div>So, it's really early/alpha work, a lot of stuff is missing right now but if there is interest, we could add these (security, scheduled "cleaner" 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>