Most Helpful Customer Reviews
14 of 14 people found the following review helpful:
3.0 out of 5 stars
Good practical RESTful book, December 16, 2009
This review is from: RESTful Java with Jax-RS (Animal Guide) (Paperback)
This is a good book to get a novice like me up and running pretty quickly with RESTful web services. There is light coverage of the JSR-311 specification, which is both good and bad. When you're a busy practioner, you don't have time to read a 1,000+ page book on abstract concepts, but I believe the author could have spent more than one chapter on covering concepts.
The book is full of examples, which is great to develop a web service quickly, but the author often did not explain why he chose to develop his services one way versus another. This lack of an explanation can leave a developer guessing when he has a real-world issue to deal with that is slightly different from the examples.
The biggest drawback to the book is all of the typos. It really bothers me when I'm trying to understand new concepts, and the reference material that I'm using has significant typos. I hope that the author will correct those for the next release of the book.
Having written all of that, this book is probably the best (maybe only) book in the market right now that explains the REST from a Java perspective.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
11 of 11 people found the following review helpful:
4.0 out of 5 stars
The book to have if you're developing RESTful Java apps, February 1, 2010
This review is from: RESTful Java with Jax-RS (Animal Guide) (Paperback)
No one really enjoys reading specs, particularly not JSRs (Java Specification Requests, for those of you who are lucky enough not to have encountered these fun-filled documents). For those of you doing Java web development and looking for a good way to build RESTful applications, this might have been a sore spot when trying to understand JAX-RS -- the Java specification that outlines an API for building REST apps using annotations.
While both Jersey and RESTeasy, two popular implementations of JAX-RS, do provide fairly helpful user guides, the specification provides a wide-ranging set of capabilities and neither sufficiently conveyed the breadth of these, in my opinion. But now there is a new resource in the form of Bill Burke's RESTful Java with JAX-RS. Bill is the creator of JBoss' RESTeasy framework so he knows the specification well and it shows in this book.
The book explores building a RESTful web app from the ground up and includes a full workbook in the second section with complete examples. The examples are included with the download of RESTeasy, which was not immediately obvious on my first read through. Each chapter of the workbook matches a chapter from earlier in the book giving the reader the opportunity to try out the ideas they've just read about. This feels like a good format for a book like this -- a motivated reader can charge through the content of the book to get a cohesive view of the API, while not getting too bogged down in the details of setting up each example.
Some of the most interesting material that's harder to get from the users guides and online tutorials is covered in the material on content negotiation in chapter eight and content marshalling in chapter six. The content marshalling chapter not only explains the built in marshalling capabilities and the use of JAXB but also details how to add in custom handlers. While I don't know how much this will get used in practice given the ubiquity of JSON and XML, I suspect for those few who really need to supply their own data formats or who want to replace the built-in handlers will be more than happy to see it covered here.
I have to say that I felt like some items were not covered which would have been useful. For instance, I would love to see some examples of integrating with existing web apps and frameworks. It's not immediately clear what the best route is here and searching online turns up few, if any, best practices or war stories. Similarly it seems that a section on testing REST-based applications would have been called for, even if it isn't strictly part of the specification. I guess the book tries to stick to outlining JAX-RS within the context of the spec, but this feels to me a bit too limiting in scope. In general, some guidelines on best practices, common integration and usage scenarios and other "real world" content would have been a welcome addition.
Despite these minor complaints, this book is clearly a must have if you're venturing down the path of RESTful Java development. The existing documentation is far too-limited and this book is an easy and even enjoyable read.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
1 of 1 people found the following review helpful:
4.0 out of 5 stars
Easy and Comprehensive, April 14, 2011
This review is from: RESTful Java with Jax-RS (Animal Guide) (Paperback)
If you are a Java developer with some Web and/or Web service experience, this book will be very easy to read, whether you are new to REST, have done REST with a different framework/API (e.g. plain Java servlet), or have done some JAX-RS before but want to have a thorough understanding of the JAX-RS API. You can skip chapter 1 if you want see JAX-RS in action, and go straight to chapters 2, 3, 4 and 6, as I did. The JAX-RS spec is very well covered in this book. Ideally, I would like to see the REST Client API from Jersey covered as well (in addition to that of RESTEasy).
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
|