学习如何在 Java 中创建 RESTful API 的最佳来源是什么? [英] What's the best source for learning how to create RESTful APIs in Java?

查看:38
本文介绍了学习如何在 Java 中创建 RESTful API 的最佳来源是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一本书或任何其他资源来帮助我学习如何在 Java 中创建 RESTful API.在亚马逊上看,看到有RESTful Java 的几种解决方案,但我正在寻找适合新手的解决方案.

I'm looking for a book or any other resource that will help me learn how to create RESTful APIs in Java. Looking on Amazon, I saw that there are several solutions for RESTful Java, but I'm looking for the one that is tailored to a novice.

期待得到您的建议/意见,谢谢!

Looking forward to getting your advices/opinions, thanks!

推荐答案

我不认为我只能指向一个资源,但我会选择一个路径(您可以根据您对 REST 的理解水平进行自定义).我是这样的人,希望先弄清楚我的概念,然后再考虑实施这些概念的工具.

I don't think I can point to only one resource but I would take a path (which you can customize based on your level of understanding of REST). I'm somebody who would like to get my concepts real clear first and then think about the tools to implement the concepts.

  • If you haven't read chapter 5 of Roy Fielding's dissertation, I'd start from there. It's an excellent piece of writing, and what better source to learn from than the master himself.

Infoq 是 REST 文章的绝佳来源,对我帮助很大,这里是 REST 资源的编译.同样在 Infoq 上阅读 Allamaraju 的这篇优秀文章.

Infoq is an excellent source for REST articles, helped me significantly, here is a compilation of REST resources. Also on Infoq read this excellent article by Allamaraju.

如果你在看书,我目前最喜欢的两本:RESTful Web 服务手册RESTful 网络服务

If you are looking at books, the two that I liked so far: RESTful Web Services Cookbook and RESTful Web Services

当您在寻找基于 Java 的服务时 -- 我会熟悉 Jersey和/或 RESTEasy.尽可能多地编写小程序,熟悉的最好方法是什么.

As you are looking for Java-based services -- I'd get familiar with Jersey and/or RESTEasy. Write as many small programs as you can, what's the best way to get familiarized.

当您想尝试基于超媒体约束的令人兴奋的 RESTful 框架时,我会探索 休息.

When you are at a point to try an exciting RESTful framework that's based on Hypermedia constraint I'd explore Restfulie.

显然,我没有提供任何资源,但我提供的内容会很好,IMO.

Obviously, I haven't provided a single resource, but something in the lines I've provided would serve well, IMO.

这篇关于学习如何在 Java 中创建 RESTful API 的最佳来源是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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