cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <ben...@basistech.com>
Subject Re: CXF and Netty
Date Tue, 08 Sep 2015 17:17:23 GMT
I may want to follow this set of breadcrumbs.

Here's the problem I'm thinking about: I want to handle spikes of
requests without having a giant number of threads in jetty. So I
wondered if CXF was integrated with the Netty reactor so that each
request could go into the queue and free up the thread, and then get
an async response when the workers get around to it.


On Tue, Sep 8, 2015 at 12:34 PM, Sergey Beryozkin <sberyozkin@gmail.com> wrote:
> Hi
>
> Have a look at a jaxrs/basic demo in the distribution - README has the info
> how to run it, "mvn -Pserver" runs the server, "mvn -Pclient" the client -
> so try that first.
> Next - replace a cxf-rt-transports-http-jetty with
> cxf-rt-transports-http-netty-server in pom.xml and repeat - it will also
> work.
> The demo server code will also show how to set up the endpoint
>
> Sergey
>
> On 08/09/15 14:55, Gianluca Stivan wrote:
>>
>> Hi everyone,
>>
>> Browsing through the code I saw there's an HTTP server transport based on
>> Netty . I was wondering how to use that without web.xml (something like
>>
>> https://github.com/reta/jax-rs-2.0-cdi/blob/master/src/main/java/com/example/Starter.java
>> ).
>>
>> My use case is a very simple JAX-RS application and I would like to be
>> able
>> to deploy it without relying on servlets and so on.
>>
>> Can anyone help me by any chance? I tried googling but there's absolutely
>> zero informations available on it.
>>
>> Thank you very much in advance,
>>
>> Gianluca
>>
>
>
> --
> Sergey Beryozkin
>
> Talend Community Coders
> http://coders.talend.com/

Mime
View raw message