A comprehensive coverage of JAX-RS


I was excited to read this book considering I use JAX-RS and RESTEasy at work. Another developer put together the foundation of our web services using these technologies and I wanted to better understand the core of what I work with each day. This book perfectly fit that need.

Many technical books are written by authors who have worked with the technology for a couple of years or, in some cases, learned it just for the sake of writing the book. This is NOT the case for RESTful Java with JAX-RS.The author, Bill Burke, is the main contributor to RESTEasy, a framework that makes working with JAX-RS, well, easy. You won’t find a better resource for information on the subject.

The book starts with explaining what REST is and is not, along with its guiding principles. Through the first few chapters the reader is introduced to new concepts and assumes no previous knowledge of the technology. However, shortly after, you are plunged into the heart of the technology using examples of servlet and client side code. Some of the topics include HTTP Content Negotiation, Scaling (caching), Security, and the plethora of annotations that can be used.

Overall, I really liked the book. My only complaint would be that many of the source code examples were incomplete. I am one of those people who like to run each example to make sure I understand how things work. I’m guessing code was left out for the sake of brevity. That being said, as the title says, this is a comprehensive treatise on the subject. Given the incomplete source examples I would have given the book 4 stars, however the book does something well that many books don’t, it serves as both an introduction and a long term reference.. If you are new to the technology, this is a great introduction to concepts and how things work. If you already know the topic but want a good reference resource to keep beside you, the book covers that too. You can’t go wrong purchasing this book; 5 stars from me.