JAX-RS is a stream, BIO, framework , so it is still using java.io.*. Can't get around this. Its a buffer exchange between Netty and Resteasy. Kristoffer just implemented Netty 4 support. He also implemented support for JAX-RS 2.0 async APIs too. The problem is though, even with those async apis, you're still doing streams and BIO.
On 8/28/2013 5:01 PM, Jan Algermissen wrote: > Hi all, Bill, > > I saw you integrated RESTEasy and netty[1]. > > Can you point me to details how directly RESTEasy sits on top of netty? > > Is the integration just to enable use of netty as the container or si > RESTEasy actually taking advantage of the async approach? > > I am only about to dive into netty (needing to check JAX-RS suuport first :-) > so I cannot ask educated questions (nor look at the sources), but I have a > hunch that JAX-RS's request handling model sort of conflicts with async, > doesn't it? (Set aside AsyncResonse of course). > > > > Jan > > [1] > https://github.com/resteasy/Resteasy/tree/master/jaxrs/server-adapters/resteasy-netty > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > Resteasy-users mailing list > Resteasy-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/resteasy-users > -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users