使用Jersey和Tomcat搭建的RESTful WebService

上传者: zztfj | 上传时间: 2021-05-24 10:55:48 | 文件大小: 4.19MB | 文件类型: ZIP
一个使用Jersey和Tomcat搭建的RESTful WebService,实现了使用Get,POST,PUT,DELETE方法来操作资源,极具构建RESTful WebService的参考价值。

文件下载

资源详情

[{"title":"( 33 个子文件 4.19MB ) 使用Jersey和Tomcat搭建的RESTful WebService","children":[{"title":"Jersey","children":[{"title":"WebContent","children":[{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 39B </span>","children":null,"spread":false}],"spread":true},{"title":"WEB-INF","children":[{"title":"web.xml <span style='color:#111;'> 990B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"asm-3.3.1.jar <span style='color:#111;'> 42.56KB </span>","children":null,"spread":false},{"title":"activation-1.1.1.jar <span style='color:#111;'> 67.78KB </span>","children":null,"spread":false},{"title":"stax-api-1.0-2.jar <span style='color:#111;'> 22.80KB </span>","children":null,"spread":false},{"title":"jaxb-api-2.2.4.jar <span style='color:#111;'> 103.51KB </span>","children":null,"spread":false},{"title":"jettison-1.1.jar <span style='color:#111;'> 66.17KB </span>","children":null,"spread":false},{"title":"jaxb-impl-2.2.4-1.jar <span style='color:#111;'> 875.57KB </span>","children":null,"spread":false},{"title":"jackson-core-asl-1.9.2.jar <span style='color:#111;'> 222.94KB </span>","children":null,"spread":false},{"title":"jersey-core-1.12.jar <span style='color:#111;'> 451.04KB </span>","children":null,"spread":false},{"title":"jackson-jaxrs-1.9.2.jar <span style='color:#111;'> 17.89KB </span>","children":null,"spread":false},{"title":"jersey-server-1.12.jar <span style='color:#111;'> 582.91KB </span>","children":null,"spread":false},{"title":"jersey-bundle-1.12.jar <span style='color:#111;'> 1.36MB </span>","children":null,"spread":false},{"title":"jersey-json-1.12.jar <span style='color:#111;'> 145.99KB </span>","children":null,"spread":false},{"title":"jersey-client-1.12.jar <span style='color:#111;'> 127.50KB </span>","children":null,"spread":false},{"title":"jackson-mapper-asl-1.9.2.jar <span style='color:#111;'> 747.70KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"pages","children":[{"title":"new_contact.html <span style='color:#111;'> 448B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.wst.jsdt.ui.superType.name <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.project.facet.core.xml <span style='color:#111;'> 345B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.component <span style='color:#111;'> 472B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.container <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":".jsdtscope <span style='color:#111;'> 503B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 395B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"sample","children":[{"title":"hello","children":[{"title":"client","children":[{"title":"ContactClient.java <span style='color:#111;'> 3.25KB </span>","children":null,"spread":false}],"spread":true},{"title":"bean","children":[{"title":"Address.java <span style='color:#111;'> 509B </span>","children":null,"spread":false},{"title":"Contact.java <span style='color:#111;'> 806B </span>","children":null,"spread":false}],"spread":true},{"title":"resources","children":[{"title":"HelloResource.java <span style='color:#111;'> 304B </span>","children":null,"spread":false},{"title":"ContactsResource.java <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"ContactResource.java <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"storage","children":[{"title":"ContactStore.java <span style='color:#111;'> 801B </span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"ParamUtil.java <span style='color:#111;'> 418B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"build","children":[{"title":"classes","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • jprobeeclipseplug :
    用了里面的jar包,running success。
    2017-09-26
  • 陈白cc :
    额。谢谢了
    2017-04-09
  • mzkuncool :
    很实用,对我很有用 谢谢
    2016-09-02
  • 羊云飞 :
    好用!正好学习整个http协议下客户端与服务端交互过程
    2016-08-30
  • pplppo1314 :
    代码本身对我用处不大,但是里面的一个jersey-bundle.jar解决了我的问题,感谢楼主
    2016-08-22

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明