Op werkdagen voor 23:00 besteld, morgen in huis Gratis verzending vanaf €20

RESTful Web Services Cookbook

Solutions for Importing Scalability and Simplicity

Paperback Engels 2010 9780596801687
Verkooppositie 2832
Verwachte levertijd ongeveer 8 werkdagen


While the REST design philosophy has captured the imagination of web and enterprise developers alike, using this approach to develop real web services is no picnic. This cookbook includes more than 100 recipes to help you take advantage of REST, HTTP, and the infrastructure of the Web. You'll learn ways to design RESTful web services for client and server applications that meet performance, scalability, reliability, and security goals, no matter what programming language and development framework you use.

Each recipe includes one or two problem statements, with easy-to-follow, step-by-step instructions for solving them, as well as examples using HTTP requests and responses, and XML, JSON, and Atom snippets. You'll also get implementation guidelines, and a discussion of the pros, cons, and trade-offs that come with each solution.

- Learn how to design resources to meet various application scenarios
- Successfully design representations and URIs
- Implement the hypertext constraint using links and link headers
- Understand when and how to use Atom and AtomPub
- Know what and what not to do to support caching
- Learn how to implement concurrency control
- Deal with advanced use cases involving copying, merging, transactions, batch processing, and partial updates
- Secure web services and support OAuth


Aantal pagina's:293
Hoofdrubriek:IT-management / ICT


Wees de eerste die een lezersrecensie schrijft!

Geef uw waardering

Zeer goed Goed Voldoende Matig Slecht

Over Subbu Allamaraju

Subbu Allamaraju, an architect at Yahoo!, has designed standards and practices for RESTful Web Services. He now oversees the architecture of certain developer facing platforms. Subbu previously worked at BEA Systems Inc., where he developed web services and Java-based software. He's contributed to four books on JEE, all published by Wrox.

Andere boeken door Subbu Allamaraju



1. Using the Uniform Interface
-How to Keep Interactions Visible
-When to Trade Visibility
-How to Maintain Application State
-How to Implement Safe and Idempotent Methods on the Server
-How to Treat Safe and Idempotent Methods in Clients
-When to Use GET
-When to Use POST
-How to Create Resources Using POST
-When to Use PUT to Create New Resources
-How to Use POST for Asynchronous Tasks
-How to Use DELETE for Asynchronous Deletion
-When to Use Custom HTTP Methods
-When and How to Use Custom HTTP Headers

2. Identifying Resources
-How to Identify Resources from Domain Nouns
-How to Choose Resource Granularity
-How to Organize Resources into Collections
-When to Combine Resources into Composites
-How to Support Computing/Processing Functions
-When and How to Use Controllers to Operate on Resources

3. Designing Representations
-How to Use Entity Headers to Annotate Representations
-How to Interpret Entity Headers
-How to Avoid Character Encoding Mismatch
-How to Choose a Representation Format and a Media Type
-How to Design XML Representations
-How to Design JSON Representations
-How to Design Representations of Collections
-How to Keep Collections Homogeneous
-How to Use Portable Data Formats in Representations
-When to Use Entity Identifiers
-How to Encode Binary Data in Representations
-When and How to Serve HTML Representations
-How to Return Errors
-How to Treat Errors in Clients

4. Designing URIs
-How to Design URIs
-How to Use URIs As Opaque Identifiers
-How to Let Clients Treat URIs As Opaque Identifiers
-How to Keep URIs Cool

5. Web Linking
-How to Use Links in XML Representations
-How to Use Links in JSON Representations
-When and How to Use Link Headers
-How to Assign Link Relation Types
-How to Use Links to Manage Application Flow
-How to Deal with Ephemeral URIs
-When and How to Use URI Templates
-How to Use Links in Clients

6. Atom and AtomPub
-How to Model Resources Using Atom
-When to Use Atom
-How to Use AtomPub Service and Category Documents
-How to Use AtomPub for Feed and Entry Resources
-How to Use Media Resources

7. Content Negotiation
-How to Indicate Client Preferences
-How to Implement Media Type Negotiation
-How to Implement Language Negotiation
-How to Implement Character Encoding Negotiation
-How to Support Compression
-When and How to Send the Vary Header
-How to Handle Negotiation Failures
-How to Use Agent-Driven Content Negotiation
-When to Support Server-Driven Negotiation

8. Queries
-How to Design URIs for Queries
-How to Design Query Responses
-How to Support Query Requests with Large Inputs
-How to Store Queries

9. Web Caching
-How to Set Expiration Caching Headers
-When to Set Expiration Caching Headers
-When and How to Use Expiration Headers in Clients
-How to Support Caching for Composite Resources
-How to Keep Caches Fresh and Warm

10. Conditional Requests
-How to Generate Last-Modified and ETag Headers
-How to Implement Conditional GET Requests in Servers
-How to Submit Conditional GET and HEAD Requests from Clients
-How to Implement Conditional PUT Requests in Servers
-How to Implement Conditional DELETE Requests in Servers
-How to Make Unconditional GET Requests from Clients
-How to Submit Conditional PUT and DELETE Requests from Clients
-How to Make POST Requests Conditional
-How to Generate One-Time URIs

11. Miscellaneous Writes
-How to Copy a Resource
-How to Merge Resources
-How to Move a Resource
-When to Use WebDAV Methods
-How to Support Operations Across Servers
-How to Take Snapshots of Resources
-How to Undo Resource Updates
-How to Refine Resources for Partial Updates
-How to Use the PATCH Method
-How to Process Similar Resources in Bulk
-How to Trigger Bulk Operations
-When to Tunnel Multiple Requests Using POST
-How to Support Batch Requests
-How to Support Transactions

12. Security
-How to Use Basic Authentication to Authenticate Clients
-How to Use Digest Authentication to Authenticate Clients
-How to Use Three-Legged OAuth
-How to Use Two-Legged OAuth
-How to Deal with Sensitive Information in URIs
-How to Maintain the Confidentiality and Integrity of Representations

13. Extensibility and Versioning
-How to Maintain URI Compatibility
-How to Maintain Compatibility of XML and JSON Representations
-How to Extend Atom
-How to Maintain Compatibility of Links
-How to Implement Clients to Support Extensibility
-When to Version
-How to Version RESTful Web Services

14. Enabling Discovery
-How to Document RESTful Web Services
-How to Use OPTIONS

Appendix A: Additional Reading
Appendix B: Overview of REST
Appendix C: HTTP Methods
Appendix D: Atom Syndication Format
Appendix E: Link Relation Registry


Managementboek Top 100


Populaire producten



        RESTful Web Services Cookbook