Web services have been used for many years. In this time, developers and architects have encountered a number of recurring design challenges related to their usage, and have learned that certain service design approaches work better than others to solve certain problems.
In Service Design Patterns, Rob Daigneau codifies proven design solutions for web services that follow the REST architectural style or leverage the SOAP/WSDL specifications. This catalogue identifies the fundamental topics in web service design and lists the common design patterns for each topic. All patterns identify the context in which they may be used, explain the constituent design elements, and explore the relative strengths and trade-offs. Code examples are provided to help you better understand how the patterns work but are kept general so that you can see how the solutions may be applied to disparate technologies that will inevitably change in the years to come.
This book will help readers answer the following questions:
How do you create a web service API, what are the common API styles, and when should a particular style be used?
How can clients and web services communicate, and what are the foundations for creating complex conversations in which multiple parties exchange data over extended periods of time?
What are the options for implementing web service logic, and when should a particular approach be used?
How can clients become less coupled to the underlying systems used by a service?
How can information about a web service be discovered?
How can generic functions like authentication, validation, caching, and logging be supported on the client or service?
What changes to a service cause clients to break?
What are the common ways to version a service? How can web services be designed to support the continuing evolution of business logic without forcing clients to constantly upgrade?
This book is an invaluable resource for enterprise architects, solution architects, and developers who use web services to create enterprise IT applications, commercial or open source products, and Software as a Service (SaaS) products that leverage emerging Cloud platforms.
Table of contents
- Title Page
- Copyright Page
- Foreword by Martin Fowler
- Foreword by Ian Robinson
- About the Author
- Chapter 1: From Objects to Web Services
- Chapter 2: Web Service API Styles
- Chapter 3: Client-Service Interactions
- Chapter 4: Request and Response Management
- Chapter 5: Web Service Implementation Styles
- Chapter 6: Web Service Infrastructures
- Chapter 7: Web Service Evolution
- Appendix: Reference to External Patterns
- Inside Front Cover
- Inside Back Cover
- Title: Service Design Patterns: Fundamental Design Solutions for SOAP/WSDL and RESTful Web Services
- Release date: October 2011
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780321544209
You might also like
Clean Code: A Handbook of Agile Software Craftsmanship
Even bad code can function. But if code isn't clean, it can bring a development organization …
The Pragmatic Programmer: your journey to mastery, 20th Anniversary Edition, 2nd Edition
"One of the most significant books in my life." —Obie Fernandez, Author, The Rails Way "Twenty …
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …
Designing Distributed Systems
Without established design patterns to guide them, developers have had to build distributed systems from scratch, …