博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Jersey 2.x 基于 Servlet 的服务器端应用
阅读量:4553 次
发布时间:2019-06-08

本文共 634 字,大约阅读时间需要 2 分钟。

下面的依赖通常应用到应用服务器上(servlet 容器),同时这个应用服务器上没有整合任何 JAX-RS 的实现。

因此,这个应用服务器需要包含有 JAX-RS API 和 Jersey 实现,同时部署到服务器上。

1
2
3
4
5
6
7
8
9
10
11
12
<dependency>
    
<groupId>org.glassfish.jersey.containers</groupId>
    
<!-- if your container implements Servlet API older than 3.0, use "jersey-container-servlet-core"  -->
    
<artifactId>jersey-container-servlet</artifactId>
    
<version>2.27</version>
</dependency>
<!-- Required only when you are using JAX-RS Client -->
<dependency>
    
<groupId>org.glassfish.jersey.core</groupId>
    
<artifactId>jersey-client</artifactId>
    
<version>2.27</version>
</dependency>

 

转载于:https://www.cnblogs.com/huyuchengus/p/9926115.html

你可能感兴趣的文章
C#操作SQL Server数据库
查看>>
对linux中source,fork,exec的理解以及case的 使用
查看>>
[BZOJ 1816] [Cqoi2010] 扑克牌 【二分答案】
查看>>
懒加载图片
查看>>
Oracle数据类型对应Java类型
查看>>
ASP.NET MVC Controller激活系统详解:IoC的应用[上篇]
查看>>
【知识总结】多项式全家桶(二)(ln和exp)
查看>>
网站发布
查看>>
MessagePack for C#
查看>>
Docker 容器
查看>>
WPF窗口阴影
查看>>
【Win10】实现控件倒影效果
查看>>
MySQL 8.0 压缩包版安装方法
查看>>
js实现移动端图片预览:手势缩放, 手势拖动,双击放大...
查看>>
UWP FillRowViewPanel
查看>>
Visual Studio 2017启动x86的Android模拟器失败
查看>>
[UWP]涨姿势UWP源码——UI布局
查看>>
如何自动以管理员身份运行.NET程序?
查看>>
《Programming WPF》翻译 第3章 4.我们进行到哪里了?
查看>>
重新想象 Windows 8 Store Apps (28) - 选取器: CachedFileUpdater(缓存文件更新程序)
查看>>