Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Service-Oriented Architecture

Service-Oriented Architecture

An overview of how and when to use Service-Oriented Architecture principles in your web application.

Avatar for Barun Singh

Barun Singh

May 08, 2012
Tweet

More Decks by Barun Singh

Other Decks in Programming

Transcript

  1. Principles of SOA •  Your app does lots of things

    •  These things are related, but distinct •  Think of these things as services
  2. A service should: •  Be capable of running independently • 

    Have a distinct purpose •  Have a well-defined protocol for interaction •  Provide business value
  3. A “service” is like… Classes Modules Engines Services } The

    same basic principles at different levels
  4. Should X be a service? •  Is X a core

    component of your main app? •  Is it useful outside of your main app? •  Does it have special environment needs •  Does it make sense standing on its own?
  5. Should I split X off into a service? Look at

    your ERD to evaluate the cost. High cost Low cost
  6. aka The Awesome Analytics Visualization Benchmarking Compliance aka The Extractor

    data Pull data from utilities Business opportnuity + technical need
  7. aka The Awesome Analytics Visualization Benchmarking aka The Extractor data

    Pull data from utilities aka The Officer 5oh Compliance Business opportnuity + technical need Simplicity + Relevance