REST API for Java? [英] REST API for Java?

查看:108
本文介绍了REST API for Java?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在准备一个基于控制台的应用程序,该应用程序的结果是一个RDF / XML文件,其中包含来自LinkedIn的所有连接的数据。现在问题是我的整个应用程序都是基于控制台的,我需要有一个REST API,以便与我的应用程序合并。

I am preparing an application which is console based and the outcome of the application is a RDF/XML file which contains data of all my connections from LinkedIn. Now the problem is that my entire application is console based and I need to have a REST API so as to incorporate with my application.

我不知道REST API和如何将它与JAVA一起使用,但可以轻松浏览文档并理解它。我的应用程序使用LinkedIn的REST API。

I am not aware of REST API's and how to use it with JAVA but can easily get through the documentation and understand it. My applications use the REST API of LinkedIn.

那么请你建议一些优秀的Java REST API吗?

So can you please suggest some of the good REST API for Java?

推荐答案

JAX-RS 是RESTful Web服务的标准Java API。 Jersey 是针对此的参考实现,它具有服务器端和客户端API(因此,方式将代码中的方法公开为RESTful Web服务,以及与其他地方运行的RESTful Web服务进行对话的方法。

JAX-RS is the standard Java API for RESTful web services. Jersey is the reference implementation for this, it has server-side as well as client-side APIs (so, ways to expose methods in your code as RESTful web services, as well as ways to talk to RESTful web services running elsewhere).

还有JAX-RS的其他实现,例如 Apache CXF JBoss RESTEasy

There are also other implementations of JAX-RS, for example Apache CXF and JBoss RESTEasy.

这篇关于REST API for Java?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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