Servlet adapter and Netty

Gregory Gerard ggerard at mac.com
Thu Mar 18 14:57:07 EDT 2010


That's a fair question. My thought was that I wanted to have single sessions and access to the session data from Netty.

Beyond that was that I can find much written for the Servlet interface like WebDAV that I could use until rewriting for direct Netty.

On Mar 17, 2010, at 18:55, Nicholas Hagen wrote:

> Why not just front everything with Apache and its proxy capabilities.  I use this often and it has good performance as far as I can tell.  Then, you can run whatever app server you want, whatever websocket server you want, and Netty.  HTTP will make sure, depending on the path or other criteria you specify, to forward to the proper server.  Servlets are very complicated entities, especially to shoehorn into an NIO environment where you do not use one thread per connection.
> 
> Nick
> 
> =================================
> Nicholas Hagen
> Z|NET Development, LLC
> www.znetdevelopment.com
> =================================
> Now Available:  Push RSS
> RSS Viewer for iPhone OS 3
> www.znetdevelopment.com/znet/iphone.html
> =================================
> 
> On Mar 17, 2010, at 3:31 PM, ChickenPants wrote:
> 
>> 
>> Grizzly has webapp/servlet adapter to shoehorn an existing webapp without
>> using Tomcat or bigger.
>> 
>> Is there such a thing for Netty?
>> 
>> I'm deeply interested in port unification (WebSocket, HTTP, and a custom
>> protocol) all running happily together but I don't see a good way other than
>> to try and proxy the HTTP/WS after sniffing for the custom which seems to
>> defeat the performance advantage.
>> 
>> Pointers?
>> -- 
>> View this message in context: http://n2.nabble.com/Servlet-adapter-and-Netty-tp4752485p4752485.html
>> Sent from the Netty User Group mailing list archive at Nabble.com.
>> _______________________________________________
>> netty-users mailing list
>> netty-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/netty-users
> 
> 
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users



More information about the netty-users mailing list