Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
RESTful Java Web Services

Buy
RESTful Java Web Services, 9781847196460 (1847196462), Packt Publishing, 2009
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.

What you will learn from this book?

  • REST architecture basics
  • What it means for a web service to be RESTful
  • How to connect to and consume RESTful web services such as Yahoo or Google
  • A RESTful web service design heuristic
  • How to deploy web services to Java web containers such as Tomcat and JBoss
  • How to implement an entire web service using the most popular open source frameworks currently available, including JAX-RS implementations Jersey and RESTEasy, Restlet, and Struts 2 with the REST plug-in
  • How to create standalone Java web services using the Restlet framework
  • How you can secure RESTful web services

Approach

The approach we take is ideal for software developers with some, or extensive, programming experience: we design a RESTful API, which serves as our software specification, and implement it with every framework discussed in the book--there are no hypothetical examples; only practical working applications.

Who this book is written for?

This book is for Java developers who want to code RESTful web services using any of the open source RESTful frameworks available to date, for example, JAX-RS implementations such as Jersey and RESTEasy, the Restlet lightweight framework, or Struts 2 with the REST plug-in.

You don't need to know REST, as we cover the theory of REST and web services; however, you should be familiar with the Java language and have some understanding of Java web applications.

For each framework, we develop the same web service outlined in Chapter 4, so there is lots of working code available. This is a practical guide and the majority of the book is about coding RESTful web services, and not just about the theory of REST.
(HTML tags aren't allowed.)

Hardware Hacking Projects for Geeks
Hardware Hacking Projects for Geeks

Put a hacker in a room with a Furby for a weekend and you'll hear a conversation that's fairly one-sided in its originality. Toss in an 802.11b network card, a soldering iron, wire cutters, a logic probe, and a few other carefully selected tools and materials and you'll have potential. Add a copy of Hardware Hacking Projects for...

Programming Mental Ray (Mental ray handbooks)
Programming Mental Ray (Mental ray handbooks)

'This book is the definitive reference manual for mental ray version 3.4. It starts with a brief overview of the features of mental ray and continues with the specification of the mental ray scene description language, the mental ray shader interface, and the integration interface for third-party applications. All material is presented in...

Schaum's Easy Outline of Principles of Economics
Schaum's Easy Outline of Principles of Economics
For students looking for a quick nuts and bolts overview to the Principles of Economics. Gives students quick pointers to the essentials. Softcover.

About the Author
Dominic Salvatore, Ph.D., is Distinguished Professor of Economics and Department Chairman at Fordham University in New York. He is a Fellow of
...

Computer Performance Engineering: 6th European Performance Engineering Workshop, EPEW 2009 London
Computer Performance Engineering: 6th European Performance Engineering Workshop, EPEW 2009 London
This volume of LNCS contains the proceedings of the 6th European Performance Engineering Workshop, held at Imperial College London during July 9–10, 2009. This was the first in the EPEW series to be held in the UK, following on from the highly successful workshops that were held in Toledo (2004), Versailles (2005),...
Building a Cashless Society: The Swedish Route to the Future of Cash Payments (SpringerBriefs in Economics)
Building a Cashless Society: The Swedish Route to the Future of Cash Payments (SpringerBriefs in Economics)

This open access book tells the story of how Sweden is becoming a virtually cashless society. Its goal is to improve readers’ understanding of what is driving this transition, and of the factors that are fostering and hampering it. In doing so, the book covers the role of central banks, political factors, needs for innovation,...

Automation through Chef Opscode: A Hands-on Approach to Chef
Automation through Chef Opscode: A Hands-on Approach to Chef

Automation through Chef Opscode provides an in-depth understanding of Chef, which is written in Ruby and Erlang for configuration management, cloud infrastructure management, system administration, and network management.

Targeted at administrators, consultants, and architect, the book guides them through...

©2021 LearnIT (support@pdfchm.net) - Privacy Policy