Home > Store

Service-Oriented Architecture: Analysis and Design for Services and Microservices, 2nd Edition

eBook (Watermarked)

  • Your Price: $31.99
  • List Price: $39.99
  • Includes EPUB and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    Adobe Reader PDF The popular standard, used most often with the free Acrobat® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

Also available in other formats.

Register your product to gain access to bonus material or receive a coupon.

Description

  • Copyright 2017
  • Dimensions: 7" x 9-1/8"
  • Pages: 416
  • Edition: 2nd
  • eBook (Watermarked)
  • ISBN-10: 0-13-385868-5
  • ISBN-13: 978-0-13-385868-6

The Top-Selling, De Facto Guide to SOA--Now Updated with New Content and Coverage of Microservices!

For more than a decade, Thomas Erl’s best-selling Service-Oriented Architecture: Concepts, Technology, and Design has been the definitive end-to-end tutorial on SOA, service-orientation, and service technologies. Now, Erl has thoroughly updated the industry’s de facto guide to SOA to reflect new practices, technologies, and strategies that have emerged through hard-won experience and creative innovation.

This Second Edition officially introduces microservices and micro task abstraction as part of service-oriented architecture and its associated service layers. Updated case study examples and illustrations further explain and position the microservice model alongside and in relation to more traditional types of services.

Coverage includes:
• Easy-to-understand, plain English explanations of SOA and service-orientation fundamentals (as compiled from series titles)
• Microservices, micro task abstraction, and containerization
• Service delivery lifecycle and associated phases
• Analysis and conceptualization of services and microservices
• Service API design with REST services, web services, and microservices
• Modern service API and contract versioning techniques for web services and REST services
• Up-to-date appendices with service-orientation principles, REST constraints, and SOA patterns (including three new patterns)

Service-Oriented Architecture: Analysis and Design for Services and Microservices, Second Edition, will be indispensable to application architects, enterprise architects, software developers, and any IT professionals interested in learning about or responsible for designing or implementing modern-day, service-oriented solutions.

Chapter 1: Introduction
Chapter 2: Case Study Backgrounds
Part I: Fundamentals
Chapter 3: Understanding Service-Orientation
Chapter 4: Understanding SOA
Chapter 5: Understanding Layers with Services and Microservices
Part II: Service-Oriented Analysis and Design
Chapter 6: Analysis and Modeling with Web Services and Microservices
Chapter 7: Analysis and Modeling with REST Services and Microservices
Chapter 8: Service API and Contract Design with Web Services
Chapter 9: Service API and Contract Design with REST Services and Microservices
Chapter 10: Service API and Contract Versioning with Web Services and REST Services
Part III: Appendices
Appendix A: Service-Orientation Principles Reference
Appendix B: REST Constraints Reference
Appendix C: SOA Design Patterns Reference
Appendix D: The Annotated SOA Manifesto

Sample Content

Table of Contents

Chapter 1:  Introduction     1
1.1 How Patterns Are Used in this Book     3
1.2 Series Books That Cover Topics from the First Edition     4
1.3 How this Book Is Organized     6
   Part I: Fundamentals     6
      Chapter 3: Understanding Service-Orientation     6
      Chapter 4: Understanding SOA     6
      Chapter 5: Understanding Layers with Services and Microservices     6
   Part II: Service-Oriented Analysis and Design     7
      Chapter 6: Analysis and Modeling with Web Services and Microservices     7
      Chapter 7: Analysis and Modeling with REST Services and Microservices     7
      Chapter 8: Service API and Contract Design with Web Services     7
      Chapter 9: Service API and Contract Design with REST Services and Microservices     7
      Chapter 10: Service API and Contract Versioning with Web Services and REST Services     7
   Part III: Appendices     7
      Appendix A: Service-Orientation Principles Reference     7
      Appendix B: REST Constraints Reference     7
      Appendix C: SOA Design Patterns Reference     8
      Appendix D: The Annotated SOA Manifesto     8
1.4 Page References and Capitalization for Principles, Constraints, and Patterns     8
Additional Information     9
   Symbol Legend     9
   Updates, Errata, and Resources (www.servicetechbooks.com)     9
   Service-Orientation (www.serviceorientation.com)     10
   What Is REST? (www.whatisrest.com)     10
   Referenced Specifications (www.servicetechspecs.com)     10
   SOASchool.com SOA Certified Professional (SOACP)     10
   CloudSchool.com Cloud Certified Professional (CCP)     10
   BigDataScienceSchool.com Big Data Science Certified Professional (BDSCP)     11
   Notification Service     11
Chapter 2: Case Study Backgrounds     13
2.1 How Case Studies Are Used     14
2.2 Case Study Background #1: Transit Line Systems, Inc.     14
2.3 Case Study Background #2: Midwest University Association     15

PART I:  FUNDAMENTALS
Chapter 3:  Understanding Service-Orientation     19

3.1 Introduction to Service-Orientation     20
   Services in Business Automation     21
   Services Are Collections of Capabilities     22
   Service-Orientation as a Design Paradigm     24
   Service-Orientation Design Principles     26
3.2 Problems Solved by Service-Orientation     29
   Silo-based Application Architecture     29
   It Can Be Highly Wasteful     31
   It’s Not as Efficient as It Appears     32
   It Bloats an Enterprise     32
   It Can Result in Complex Infrastructures and Convoluted Enterprise Architectures     33
   Integration Becomes a Constant Challenge     34
   The Need for Service-Orientation     34
   Increased Amounts of Reusable Solution Logic     35
   Reduced Amounts of Application-Specific Logic     36
   Reduced Volume of Logic Overall     36
   Inherent Interoperability     37
3.3 Effects of Service-Orientation on the Enterprise     38
   Service-Orientation and the Concept of “Application”     38
   Service-Orientation and the Concept of “Integration”     40
   The Service Composition     42
3.4 Goals and Benefits of Service-Oriented Computing     43
   Increased Intrinsic Interoperability     44
   Increased Federation     46
   Increased Vendor Diversification Options     47
   Increased Business and Technology Domain Alignment     48
   Increased ROI     48
   Increased Organizational Agility     50
   Reduced IT Burden     52
3.5 Four Pillars of Service-Orientation     54
   Teamwork     54
   Education     55
   Discipline     55
   Balanced Scope     55
Chapter 4:  Understanding SOA     59
Introduction to SOA     60
4.1 The Four Characteristics of SOA     61
   Business-Driven     61
   Vendor-Neutral     63
   Enterprise-Centric     66
   Composition-Centric     68
   Design Priorities     69
4.2 The Four Common Types of SOA     70
   Service Architecture     71
   Service Composition Architecture     77
   Service Inventory Architecture     83
   Service-Oriented Enterprise Architecture     85
4.3 The End Result of Service-Orientation and SOA     86
4.4 SOA Project and Lifecycle Stages     91
   Methodology and Project Delivery Strategies     91
   SOA Project Stages     94
   SOA Adoption Planning     95
   Service Inventory Analysis     96
   Service-Oriented Analysis (Service Modeling)     97
      Step 1: Define Business Automation Requirements     99
      Step 2: Identify Existing Automation Systems     99
      Step 3: Model Candidate Services     100
      Service-Oriented Design (Service Contract)     101
   Service Logic Design     103
   Service Development     103
   Service Testing     103
   Service Deployment and Maintenance     105
   Service Usage and Monitoring     105
   Service Discovery     106
   Service Versioning and Retirement     106
   Project Stages and Organizational Roles     107
Chapter 5:  Understanding Layers with Services and Microservices     111
5.1 Introduction to Service Layers     113
   Service Models and Service Layers     113
   Service and Service Capability Candidates     115
5.2 Breaking Down the Business Problem     115
   Functional Decomposition     115
   Service Encapsulation     116
   Agnostic Context     117
   Agnostic Capability     119
   Utility Abstraction     120
   Entity Abstraction     121
   Non-Agnostic Context     122
   Micro Task Abstraction and Microservices     123
   Process Abstraction and Task Services     123
5.3 Building Up the Service-Oriented Solution     124
   Service-Orientation and Service Composition     124
   Capability Composition and Capability Recomposition     127
      Capability Composition     129
      Capability Composition and Microservices     130
      Capability Recomposition     132
   Logic Centralization and Service Normalization     134

PART II:  SERVICE-ORIENTED ANALYSIS AND DESIGN
Chapter 6:  Analysis and Modeling with Web Services and Microservices     139

6.1 Web Service Modeling Process     140
   Case Study Example     141
   Step 1: Decompose the Business Process (into Granular Actions)     142
   Case Study Example     142
   Step 2: Filter Out Unsuitable Actions     144
   Case Study Example     145
   Step 3: Define Entity Service Candidates     146
   Case Study Example     146
   Step 4: Identify Process-Specific Logic     149
   Case Study Example     149
   Step 5: Apply Service-Orientation     150
   Step 6: Identify Service Composition Candidates     151
   Case Study Example     151
   Step 7: Analyze Processing Requirements     152
   Case Study Example     152
   Step 8: Define Utility Service Candidates     153
   Case Study Example     154
   Step 9: Define Microservice Candidates     154
   Case Study Example     155
   Step 10: Apply Service-Orientation     155
   Step 11: Revise Service Composition Candidates     156
   Case Study Example     156
   Step 12: Revise Capability Candidate Grouping     157
Chapter 7:  Analysis and Modeling with REST Services and Microservices     159
7.1 REST Service Modeling Process     160
   Case Study Example     162
   Step 1: Decompose Business Process (into Granular Actions)     164
   Case Study Example     164
   Step 2: Filter Out Unsuitable Actions     165
   Case Study Example     165
   Step 3: Define Entity Service Candidates     166
   Case Study Example     167
   Step 4: Identify Process-Specific Logic     169
   Case Study Example     169
   Step 5: Identify Resources     170
   Case Study Example     171
   Step 6: Associate Service Capabilities with Resources and Methods     172
   Case Study Example     173
   Step 7: Apply Service-Orientation     174
   Case Study Example     174
   Step 8: Identify Service Composition Candidates     175
   Case Study Example     175
   Step 9: Analyze Processing Requirements     176
   Case Study Example     177
   Step 10: Define Utility Service Candidates (and Associate Resources and Methods)     178
   Case Study Example     179
   Step 11: Define Microservice Candidates (and Associate Resources and Methods)     180
   Case Study Example     181
   Step 12: Apply Service-Orientation     181
   Step 13: Revise Candidate Service Compositions     181
   Case Study Example     182
   Step 14: Revise Resource Definitions and Capability Candidate Grouping     182
7.2 Additional Considerations     183
   Uniform Contract Modeling and REST Service Inventory Modeling     183
   REST Constraints and Uniform Contract Modeling     186
   REST Service Capability Granularity     188
   Resources vs. Entities     189
Chapter 8:  Service API and Contract Design with Web Services     191
8.1 Service Model Design Considerations     193
   Entity Service Design     193
   Utility Service Design     194
   Microservice Design     196
   Task Service Design     196
   Case Study Example     198
8.2 Web Service Design Guidelines     208
   Apply Naming Standards     208
   Apply a Suitable Level of Contract API Granularity     210
   Case Study Example     212
   Design Web Service Operations to Be Inherently Extensible     212
   Case Study Example     213
   Consider Using Modular WSDL Documents     214
   Case Study Example     214
   Use Namespaces Carefully     215
   Case Study Example     215
   Use the SOAP Document and Literal Attribute Values     216
   Case Study Example     217
Chapter 9:  Service API and Contract Design with REST Services and Microservices     219
9.1 Service Model Design Considerations     221
   Entity Service Design     221
   Utility Service Design     222
   Microservice Design     223
   Task Service Design     225
   Case Study Example     226
9.2 REST Service Design Guidelines     231
   Uniform Contract Design Considerations     231
   Designing and Standardizing Methods     231
   Designing and Standardizing HTTP Headers     233
   Designing and Standardizing HTTP Response Codes     235
   Customizing Response Codes     240
   Designing Media Types     242
   Designing Schemas for Media Types     244
   Complex Method Design     246
   Stateless Complex Methods     249
      Fetch Method     249
      Store Method     250
      Delta Method     252
      Async Method     254
   Stateful Complex Methods     256
      Trans Method     256
      PubSub Method     257
   Case Study Example     259
Chapter 10:  Service API and Contract Versioning with Web Services and REST Services     263
10.1 Versioning Basics     265
   Versioning Web Services     265
   Versioning REST Services     266
   Fine and Coarse-Grained Constraints     266
10.2 Versioning and Compatibility     267
   Backwards Compatibility     267
      Backwards Compatibility in Web Services     267
      Backwards Compatibility in REST Services     268
   Forwards Compatibility     271
   Compatible Changes     273
   Incompatible Changes     275
10.3 REST Service Compatibility Considerations     276
10.4 Version Identifiers     279
10.5 Versioning Strategies     282
   The Strict Strategy (New Change, New Contract)     282
      Pros and Cons     283
   The Flexible Strategy (Backwards Compatibility)     283
      Pros and Cons     284
   The Loose Strategy (Backwards and Forwards Compatibility)     284
      Pros and Cons     284
   Strategy Summary     285
10.6 REST Service Versioning Considerations     286

PART III:  APPENDICES
Appendix A:  Service-Orientation Principles Reference     289
Appendix B:  REST Constraints Reference     305
Appendix C:  SOA Design Patterns Reference     317

What’s a Design Pattern?     318
What’s a Design Pattern Language?     320
Pattern Profiles     321
Appendix D:  The Annotated SOA Manifesto     367
The SOA Manifesto     368
The SOA Manifesto Explored     369
   Preamble     370
   Priorities     371
   Guiding Principles     375
About the Author     383
Index     384



Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020