Programming Books C Java PHP Python Learn more Browse Programming Books

Sorry, this item is not available in
Image not available for
Image not available

To view this video download Flash Player

Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

RESTful Java with Jax-RS (Animal Guide) [Paperback]

by Bill Burke
4.4 out of 5 stars  See all reviews (16 customer reviews)

Available from these sellers.

Free Two-Day Shipping for College Students with Amazon Student


Amazon Price New from Used from
Kindle Edition --  
Paperback --  
Sell Us Your Books
Get up to 80% back when you sell us your books, even if you didn't buy them at Amazon. Learn more
There is a newer edition of this item:
RESTful Java with JAX-RS 2.0 RESTful Java with JAX-RS 2.0 5.0 out of 5 stars (4)
In Stock.

Book Description

December 4, 2009 0596158041 978-0596158040 1
Learn how to design and develop distributed web services in Java using Restful architectural principals and the Jax-Rs specification in Java Ee 6. With this hands-on reference, you'll focus on implementation rather than theory, and discover why the Restful method is far better than technologies like Corba and Soap.

It's easy to get started with services based on the Rest architecture. Restful Java with Jax-Rs includes a technical guide that explains Rest and Jax-Rs, how they work, and when to use them. With the Resteasy workbook that follows, you get step-by-step instructions for installing, configuring, and running several working Jax-Rs examples using the Jboss Resteasy implementation of Jax-Rs.

  • Work on the design of a distributed Restful interface, and develop it in Java as a Jax-Rs service
  • Dispatch Http requests in Jax-Rs, and learn how to extract information from them
  • Deploy your web services within Java Enterprise Edition using the Application class, Default Component Model, Ejb Integration, Spring Integration, and Jpa
  • Discover several options for securing your web services
  • Learn how to implement Restful design patterns using Jax-Rs
  • Write Restful clients in Java using libraries and frameworks such as, Apache Http Client, and Resteasy Proxy

Editorial Reviews

About the Author

Bill Burke is a Fellow at the JBoss division of REd Hat Inc. A long time JBoss contributor and architect, his current project is RESTEasy, RESTful Web Services for Java.

Product Details

  • Series: Animal Guide
  • Paperback: 314 pages
  • Publisher: O'Reilly Media; 1 edition (December 4, 2009)
  • Language: English
  • ISBN-10: 0596158041
  • ISBN-13: 978-0596158040
  • Product Dimensions: 9.1 x 7 x 0.7 inches
  • Shipping Weight: 15.2 ounces
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (16 customer reviews)
  • Amazon Best Sellers Rank: #612,346 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Most Helpful Customer Reviews
21 of 21 people found the following review helpful
3.0 out of 5 stars Good practical RESTful book December 16, 2009
Format:Paperback|Verified Purchase
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.
Comment | 
Was this review helpful to you?
14 of 14 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
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.
Read more ›
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
4.0 out of 5 stars Easy and Comprehensive April 14, 2011
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 to 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).

(Update): REST Client API has been standardized in JAX-RS 2.0 which will be covered by the 2nd edition of this book (to be published in November 2013), according to the author.
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
4.0 out of 5 stars Almost perfect April 26, 2010
The book starts out with a basic introduction to RESTful web services. I didn't need it, and if you are a REST novice I suggest you pick up Restful Web Services first, as you will be missing many crucial insights without it.

The book then covers the complete JAX-RS standard, while keeping the language straightforward so that everyone can understand it. There is plenty of code to learn from and as in his EJB book, the author have devoted the last half of the book to full working examples. These are build with Maven (so they can work in any Java IDE) and covers a multitude of subjects, including Spring/EJB integration and unit testing with embedded Jetty.

Bill obviously knows his business (even if he admits to being a long standing Corba fanboy) and overall I find the book to be concise, detailed, and well written. However it only gets 4 stars as some of the subjects seams a little rushed (such as JAXB integration and its REST introduction).
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars Excellent Work October 23, 2011
Format:Paperback|Verified Purchase
From a practical standpoint, I found this book to be excellent. From writing basic services to adding content handlers, adding exception mappers, content negotiation, Security, HATEOS, it's all here in one place in the first part of the book. This book also compares different JAX-RS implementations including Jersey, CXF and RESTEasy. Part II of this book explains the example source code and also has instructions on how to run it. I have tested all examples in this book with the exception of the last chapter that deals with EJB and JPA integration and they work flawlessly. The code samples are organized very well and come with maven integration which is nice.

If you are new to REST, start with RESTful web services and then move on to this book. Since the author is part of the team that created RESTEasy, all source code examples use RESTEasy. I can certainly understand if other folks would like to have seen examples tailored towards Jersey (Sun's reference implementation) but I don't consider this to be a big drawback in any case since both frameworks are JAX-RS compliant, so moving from one to other shouldn't be too hard (with some caveats such as you will lose some of the features that are supported only by a given implementation such as @Formatted annotation by RESTEasy).

This is a very well written book. Highly recommended.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
5.0 out of 5 stars Good book for jax-rs
Book is easy to read. Required little background in web application, jaxb, annotations, http. Book also includes how to setup and run it in your machine.
Published 3 days ago by Chung Vu
5.0 out of 5 stars Brief and surprisingly comprehensive intro to JAX-RS
This book does its job pretty well - it starts from zero (describes RESTful principles) and leads you way to the more advanced topics of REST (HATEOAS, security, deployment etc.). Read more
Published 4 months ago by vrto
4.0 out of 5 stars This book is good.
This book gave some examples that are ok. But it seems shallow for experienced engineer. So I think if the author put some more effort on it.
Published 5 months ago by dianwei han
5.0 out of 5 stars Great Book
Good introduction book for RESTfull Java. The concept is clear. RESTEasy examples are easy to understand. Read more
Published 7 months ago by L. Song
5.0 out of 5 stars Easy to read. Simple easy-to-follow examples. Love it!
Bought this book today, needing to get up to speed on Java REST. So far such a smooth read. Examples are very easy to follow. It's one of those books that are just right. Read more
Published 8 months ago by J. Kunley
5.0 out of 5 stars Just the help I was looking for
Although not without its typos, this text was just the help I was looking for to get started with RESTful development in Java. Read more
Published 9 months ago by David A. Blackwell
5.0 out of 5 stars Pure gold
You may think you know GET, PUT and the REST(sic). But did you know path segments and matrix parameters? Read more
Published 11 months ago by Taruvai Subramaniam
4.0 out of 5 stars rediscovering the web
Original review written by Gianfranco Tognana, JUG Lugano, [...]

This book is a fresh rediscovery of [... Read more
Published on October 4, 2010
3.0 out of 5 stars Examples Lacking in Detail
There is definately some good information in the book. However, most of the examples don't show the return statement. Maybe its just me but I always want to see what is returned. Read more
Published on August 10, 2010 by G. Sand
4.0 out of 5 stars RESTful WS
Good cookbook for RESTful Web Services with good examples.
Only small corrections of code are necessary.Restful Java with Jax-RS (Animal Guide)
Published on March 15, 2010 by Miroslav Fabrik Rnd
Search Customer Reviews
Only search this product's reviews

What Other Items Do Customers Buy After Viewing This Item?


Topic From this Discussion
lousy book Be the first to reply
Have something you'd like to share about this product?
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for Similar Items by Category