哪个是最好的Java REST API? [英] Which is the best Java REST API?

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

问题描述

我想知道哪一个是用于Web服务的最佳Java REST API?

I would like to know which one is the best Java REST API for web services?

我们在应用程序中使用Spring,所以如果有任何API与Spring合作对我们来说非常好。

We are using Spring in our application, so if there is any API which works well with the Spring will be very good for us.

另一个重要的事情是API需要可互操作。将来,我们可能还希望从.NET应用程序调用Web服务。因此,在选择API或框架时,我们需要记住这一点。

The other important thing is that the API needs to be interoperable. In future, we might want to invoke the web services from the .NET applications also. So, this is one thing that we need to keep in mind while choosing the API or the framework.

推荐答案

标准 JAX-RS JSR-311 ),其中有多个实现

  • Jersey (the reference implementation)
  • RESTeasy
  • Restlet
  • Apache CXF

API本身在JAX-RS实现中是相同的,以不同的API扩展为模由每个人实施。

The API itself is identical across JAX-RS implementations, modulo the different API extensions implemented by each.

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

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