Services Layer

In my previous posts I showed layers and components, and layers and tiers.  In this post, I'll show the services layer in a layered architecture.

Services Layer
Here's a visual example of a services layer, where the application is exposing services:

ServicesLayer

Note that services don't need to be "web" services.

Key Services Layer Components
Here's the key components of a services layer:

  • Service Interfaces. The service interface acts as a facade that exposes the business logic to potential consumers.  The definition of the set of messages that must be exchanged with a service in order for the service to perform a specific business task is the contract.
  • Message Types. Message Types are “message contracts” for communication between service consumers and providers.  They wrap business entity components into specific messages for the calling service.

Additional Resources

My Related Posts

  • patterns & practices App Arch Guide 2.0 Project
  • Layers and Components
  • Layers and Tiers
  • App Arch Meta Frame
  • Scenario Frames for Presentation, Business, Data and Services
  • Published 07 September 08 07:08 by J.D. Meier
    Filed under:

    Comments

    # J.D. Meier's Blog said on September 7, 2008 9:06 PM:

    As part of our patterns & practices App Arch Guide 2.0 Project , I'm scanning Microsoft for helpful

    # Colin Jack said on September 11, 2008 5:27 AM:

    So my question, in this diagram are you trying to show that layering is done in a strict way with no communication with the business layer other than through the service layer and then application facade?

    # J.D. Meier's Blog said on September 11, 2008 12:17 PM:

    One of my colleagues on the patterns & practices team, David Hill , collected and distilled feedback

    # J.D. Meier's Blog said on September 18, 2008 2:34 AM:

    As part of our patterns & practices App Arch Guide 2.0 project , we've created a set of application

    # J.D. Meier's Blog said on September 25, 2008 3:26 AM:

    As part of our patterns & practices App Arch Guide 2.0 project , we've put together an arch frame. 

    # Architects Rule! said on November 12, 2008 2:59 AM:

    Application Architecture Guidance Communiqué: Issue 1 About the Application Architecture Guidance 2.0

    # J.D. Meier's Blog said on November 20, 2008 5:06 PM:

    We posted our patterns & practices Reference Application Architecture Cheat Sheet on CodePlex . 

    New Comments to this post are disabled

    Search

    This Blog

    Syndication

    Page view tracker