All, So, I finally put together the starts of making this more integrated with RestEasy.
See the branch here: https://github.com/johnament/Resteasy/compare/RESTEASY-NETTY Basically, create a simple main program that starts up Netty and does a RestEasy Deployment, with Weld SE running. Let me know your thoughts on the approach, I can add some docs about how to bring it up and obviously more tests. One thing I noticed is that it looks like master is now running CDI 1.1 API. If this is the case, I think some more clean up should happen in the extension and injector factory. - John On Mon, Jan 20, 2014 at 7:55 PM, John D. Ament <john.d.am...@gmail.com> wrote: > Bill, > > Definitely. I already sent you one on the CdiInjectorFactory bug I > saw in Netty. ( https://issues.jboss.org/browse/RESTEASY-1009 ) > > Another thing to think about is how to get an external > RequestDispatcher. Right now, you have a lot of duplicate code in > Netty3 and Netty4 modules (it also looks like the netty4 module is > new). Perhaps starting off with a Netty Base project and having each > extend from there would help? The easiest way to handle > RequestDispatcher is to have a setter, if it's not set use the > default, otherwise use the provided one. > > - John > > On Mon, Jan 20, 2014 at 5:10 PM, Bill Burke <bbu...@redhat.com> wrote: >> We would of course appreciate any PRs that could come out of this effort. >> >> On 1/19/2014 9:58 AM, John D. Ament wrote: >>> Hi all, >>> >>> In case anyone's interested, I just put out a blog post on how you can >>> use RestEasy and the Netty Embedded Server with Weld. >>> >>> http://john-ament.blogspot.com/2014/01/bridging-netty-resteasy-and-weld.html >>> >>> and if you'd like to see the code: >>> https://github.com/johnament/resteasy-netty-cdi >>> >>> Please do let me know your thoughts. >>> >>> - John >>> >>> ------------------------------------------------------------------------------ >>> CenturyLink Cloud: The Leader in Enterprise Cloud Services. >>> Learn Why More Businesses Are Choosing CenturyLink Cloud For >>> Critical Workloads, Development Environments & Everything In Between. >>> Get a Quote or Start a Free Trial Today. >>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&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 >> >> ------------------------------------------------------------------------------ >> CenturyLink Cloud: The Leader in Enterprise Cloud Services. >> Learn Why More Businesses Are Choosing CenturyLink Cloud For >> Critical Workloads, Development Environments & Everything In Between. >> Get a Quote or Start a Free Trial Today. >> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk >> _______________________________________________ >> Resteasy-users mailing list >> Resteasy-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/resteasy-users ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users