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!
XML: JSON and XML are the two de facto standards for sending and receiving data in REST APIs. Web programming languages such as Python, JavaScript, Ruby on Rails, and Java all have tools for parsing and working with XML and JSON.
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).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With