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/

Reply via email to