News for hackers. Stuff that matters.
Re:Integrating WebSockets in Netty by bborud on Monday July 30, 2012 @09:27AM (#4312174)
I know of a few large production systems that have dispensed with typical servlet containers completely and are based on Netty's HTTP codecs instead, but as you said, the people who do these systems aren't necessarily bloggers.

I think this is a very positive trend towards more minimal software and more self-contained Java servers. Being able to ship (server) software as a single JAR file with everything you need embedded makes life a lot easier. It is very nice not having to fiddle around setting up servlet containers, configuring them, deploying applications into them and then, inevitably, having to restart everything when a rogue application decides to ruin the party for everyone. (And it just gets worse when you try to automate it).

One thing I'm still looking for is a good skeletal project for a REST server making use of JAX-RS annotations, Netty and having support for asynchronous request handling. Something that we could turn into a really skinny Maven archetype and teach new programmers to use.

(Obligatory disclosure and shameless plug: I work for Comoyo. If you find these things interesting/exciting and would like to come work for us feel free to contact us. We're hiring :) )

Re:Integrating WebSockets in Netty by swah on Monday July 30, 2012 @11:44AM (#4312855)
Dropwizard has some examples of "REST server making use of JAX-RS annotations", but then its not Netty, but Jetty.
Re:Integrating WebSockets in Netty by bborud on Monday July 30, 2012 @02:22PM (#4313822)
(I see cgbystrom commented further up and kinda hoped he would whip up a JAX-RS+Netty+async request processing skeleton ;-) )
Re:Integrating WebSockets in Netty by cgbystrom on Monday July 30, 2012 @05:47PM (#4314860)
Totally agree about having smaller and more contained apps.

I used https://github.com/cgbystrom/jersey-netty for a one-off project wiring Jersey together with Netty. But it's not async :)