开发者

What's the best source for learning how to create RESTful APIs in Java? [closed]

开发者 https://www.devze.com 2022-12-31 10:03 出处:网络
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing
Closed. This question is opinion-based. It is not currently accepting answers.

Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.

Closed 9 years ago.

开发者_运维技巧 Improve this question

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!


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 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.

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

  • 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.

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

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


I found REST in Practice to be the best book covering different styles of REST architectures. It's also far more practical in its advice than many other books (I wasn't impressed by RESTful Web Services as I think it lacks focus).


My recommendation would be this one:

What's the best source for learning how to create RESTful APIs in Java? [closed]


I'd recommend this extensive NetBeans tutorial, this Sun tutorial and maybe having at look at the Restlet framework.


I have used RESTlet in Action to learn about REST concepts. It's an early access book so only the first few chapters are currently available, but I found the writing to be very clear.

0

精彩评论

暂无评论...
验证码 换一张
取 消