Hi Ari,
Actually, I was prototyping something like this a little while ago
(note, I'm CC'ing resteasy-users). It's similar to something I did
with Netty + RestEasy. You can see the gist here:
https://gist.github.com/johnament/9220905
Originally, I figured why not use weld servlet. However, it looked
like weld servlet added a lot of overhead (since it deals with
everything, and I only wanted REST API support). So I ended up
creating a Servlet Request Listener that created the needed context.
i also started with the existing RestEasy Undertow server, however it
had a few issues (used a random port, was based on API from an early
beta) so I updated it based on what I saw in other examples.
Let me know how it works for you.
- John
On Tue, Feb 25, 2014 at 6:51 PM, Ari King wrote:
> Hi John,
>
> No, not containers in the traditional sense. I'm interested in using
> Resteasy and Weld CDI with Undertow (and the like).
>
> -Ari
>
>
> On Tue, Feb 25, 2014 at 5:29 PM, John D. Ament
> wrote:
>>
>> Ari,
>>
>> Are you in a container, or ?
>>
>> John
>>
>> On Tue, Feb 25, 2014 at 3:58 PM, Ari King
>> wrote:
>> > Hi,
>> >
>> > A few months back there was "talk" on this list of how to use Weld CDI
>> > with
>> > Resteasy. Does anyone know if there are any "plugins" like
>> > GuiceResourceFactory or manual setup approaches to using Weld CDI with
>> > Resteasy? Thanks.
>> >
>> > -Ari
>> >
>> >
>> > --
>> > Flow-based real-time traffic analytics software. Cisco certified tool.
>> > Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
>> > Customize your own dashboards, set traffic alerts and generate reports.
>> > Network behavioral analysis & security monitoring. All-in-one tool.
>> >
>> > http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
>> > ___
>> > Resteasy-users mailing list
>> > Resteasy-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/resteasy-users
>> >
>
>
--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
___
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users