Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Master core REST concepts and create RESTful web services in Java
Build powerful and flexible RESTful web services in Java using the most popular Java RESTful frameworks to date (Restlet, JAX-RS based frameworks Jersey and RESTEasy, and Struts 2)
Master the concepts to help you design and implement RESTful web services
Plenty of screenshots and clear explanations to facilitate learning
A developer's guide with practical examples to ensure proper understanding of all concepts and the differences between the frameworks studied
In Detail
If you are already familiar with REST theory but are new to RESTful Java web services, and want to use the Java technology stack together with Java RESTful frameworks to create robust web services, this is the book for you.
This book is a guide to developing RESTful web services using Java and the most popular RESTful frameworks available today. It covers the theory of REST; practical coding examples for RESTful clients; a practical outline of the RESTful design process—yes, it's different from traditional web application development; and a complete implementation of a non-trivial web service using the following frameworks: Jersey's JAX-RS, Restlet's Lightweight REST, JBoss's JAX-RS RESTEasy, and Struts 2 with the REST plug-in.
We begin with an introduction to REST theory, for example, what it means for a web service to be RESTful, what it means for a web service to exchange representations of resources, and what it means to only use the conventional HTTP request method types—GET, POST, PUT, DELETE—for client/server communication. Before moving into the design and implementation process of a non-trivial web service, we look at a set of sample Java applications that connect to existing REST services that are freely available (Google, Yahoo, Twitter). We then outline a practical design process for RESTful web services and then cover the four most widely used frameworks available to date: JAX-RS implementations such as Jersey and RESTEasy, the Restlet framework, and Struts 2 with the REST plug-in. We cover each framework in detail to allow you to compare the strengths and weaknesses of each framework and to begin developing your own web services after the first reading; what's more, the whole source is included for you to modify and deploy in your own web services. Finally, we discuss the most common performance issues faced by RESTful web services and cover practical solutions to security-related issues such as authentication and data transfer.
Average Rating: ![]()
![]()
![]()
![]()
Based on 10 Ratings
"Excellent Book" - by Sushil Shimpi on 14-MAR-2013
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
I found this book very useful to understand core REST concepts and practical implementation using JAVA REST frameworks.
Report as Inappropriate
"To find commons librairies..." - by HommeDeJava on 16-APR-2012
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
Just look into the 6460_Code/Chapter2/RESTfulSwingClient/dist/lib folder and you will find all the commons appropriate libraries and the swing-worker-1.1.jar.
The original org.jdesktop.application package could be replaced by the more recent bsaf-1.9.jar you can find at http://kenai.com/projects/bsaf/downloads/download/Releases/1.9/GA/bsaf-
-1.9-bin.zip
You also need to find appframework-1.0.2.jar using Google search engine.
So, I succeed to run the Restful Swing client using Twitter public REST API.
Good luck!
Report as Inappropriate
"obsolete libraries used, needs revision" - by Anonymous on 04-AUG-2011
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
This book refers use of a libraries commons.httpclient that is superseded and isn't even available. I couldn't find a copy of it anywhere and that makes much of the book's examples undoable. It would get 4 stars otherwise.
Report as Inappropriate
Top Level Categories:
Information Technology & Software Development
Sub-Categories:
Information Technology & Software Development > Programming
Programming > Java
The publisher has provided additional content related to this title.
Description | Content |
|---|---|
Downloading the example code for this book |
|