Jersey 2.x 服務器端應用支持的容器

基於 JAX-RS Servlet-based 部署的一部分標準,能運行在任何支持 Servlet 2.5 和更高標準的的容器上。Jersey 提供支持程序化部署在下面的容器中:Grizzly 2 (HTTP 和 Servlet), JDK Http server,Simple Http server 和 Jetty Http serverhtml

本章節僅僅提供了須要 Maven 提供的依賴,有關更多的細節,請參考 Chapter 4, Application Deployment and Runtime Environments 頁面中的內容。git

1github

2spa

3code

4server

5htm

6ci

7部署

8get

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

<dependency>

    <groupId>org.glassfish.jersey.containers</groupId>

    <artifactId>jersey-container-grizzly2-http</artifactId>

    <version>2.27</version>

</dependency>

 

<dependency>

    <groupId>org.glassfish.jersey.containers</groupId>

    <artifactId>jersey-container-grizzly2-servlet</artifactId>

    <version>2.27</version>

</dependency>

 

<dependency>

    <groupId>org.glassfish.jersey.containers</groupId>

    <artifactId>jersey-container-jdk-http</artifactId>

    <version>2.27</version>

</dependency>

 

<dependency>

    <groupId>org.glassfish.jersey.containers</groupId>

    <artifactId>jersey-container-simple-http</artifactId>

    <version>2.27</version>

</dependency>

 

<dependency>

    <groupId>org.glassfish.jersey.containers</groupId>

    <artifactId>jersey-container-jetty-http</artifactId>

    <version>2.27</version>

</dependency>

 

<dependency>

    <groupId>org.glassfish.jersey.containers</groupId>

    <artifactId>jersey-container-jetty-servlet</artifactId>

    <version>2.27</version>

</dependency>

https://www.cwiki.us/display/JERSEYZH/Common+Jersey+Use+Cases

相關文章
相關標籤/搜索