Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Purpose of cxf-rt-transports-http-jetty

Tags:

cxf

jetty

I want to understand the purpose of below dependency while developing cxf webservices.

<dependency>
    <groupId>org.apache.cxf</groupId>
    <artifactId>cxf-rt-transports-http-jetty</artifactId>
    <version>3.1.7</version>
</dependency>

Without adding this dependency CXF simple frontend doesn't create the service.

Thanks,

like image 451
NaiveCoder Avatar asked Sep 06 '16 06:09

NaiveCoder


1 Answers

Jetty provides a Web server and javax.servlet container for your CXF services. Adding the dependency above is like embedding the container into your application.

Alternatively, you can add this dependency using test scope in order to unit test your web services and deploy your application into an external container.

Please refer to http://cxf.apache.org/docs/transports.html for more information about available CXF transports.

like image 168
Murciegalo84 Avatar answered Oct 13 '22 01:10

Murciegalo84