差异com.sun.jersey和org.glassfish.jersey [英] Difference com.sun.jersey and org.glassfish.jersey

查看:426
本文介绍了差异com.sun.jersey和org.glassfish.jersey的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

com.sun.jersey org.glassfish.jersey

有什么区别?

目前我有我的REST服务在 com.sun.jersey 上工作,我想写测试,但找不到一个很好的教程(似乎没有任何工作)。但是,我可以找到关于 org.glassfish.jersey 测试的很好的文档。

解决方案

com.sun.jersey和org.glassfish.jersey之间唯一的区别是包名称已更改,因为泽西团队现在是另一个组织(Glassfish)的一部分。
低于2的版本使用软件包com.sun.jersey,高于2的版本使用org.glassfish.jersey。
是的,1.x和2.x之间有一些区别。

What is the difference between com.sun.jersey and org.glassfish.jersey?

Currently I have my REST service working on com.sun.jersey and I want to write tests, but I can't find a good tutorial for this (nothing seems to work). However, I can find good documentation about the org.glassfish.jersey tests.

解决方案

The only difference between com.sun.jersey and org.glassfish.jersey is that the package name was changed because Jersey team is now part of another organization (Glassfish). Versions below 2 use package com.sun.jersey, versions above 2 use org.glassfish.jersey. And yes, there are some differences between 1.x and 2.x.

这篇关于差异com.sun.jersey和org.glassfish.jersey的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆