1 / 13

Principles of Service Orientation & Mid Term Review

Principles of Service Orientation & Mid Term Review. 605.702 Service Oriented Architecture Johns-Hopkins University Montgomery County Center, Fall 2007 Session 7, Lecture 6: October 23, 2007 Instructor: T. Pole. Session #7 Agenda. Required Reading for This Week

zaria
Download Presentation

Principles of Service Orientation & Mid Term Review

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Principles of Service Orientation & Mid Term Review 605.702 Service Oriented ArchitectureJohns-Hopkins University Montgomery County Center, Fall 2007 Session 7, Lecture 6: October 23, 2007 Instructor: T. Pole

  2. Session #7 Agenda • Required Reading for This Week • Service Oriented Architecture Concepts Technology & Design (SOACTD) • Chapter 8: Principles of Service Orientation • Expert Service Oriented Architecture in C# 2005 • Chapter 5 Web Service Enhancements 3.0 • Today’s Presentation • Today’s Lecture • Class Web Site and SOAP “Server” • Completing Chapter SOACTD 8 • Mid Term Review • ESOAC# Chapter 5 • Assignment: Mid Term Take Home Exercise • Example Code: Consuming an existing service over the internet.

  3. Lecture • Class Web Site and SOAP “Server” • Lectures • Exercises • Sample Code • Schedule Page • SOACTD Chapter 8: Principles of Service Orientation • 8.1 Service Orientation and the Enterprise • 8.2 Anatomy of a Service Oriented Architecture • Mid Term Review • thru Chapter 7 and in class material • (e.g. VS 2005 .Net Web Service development) • Topics to review • Format of Mid Term • Mid Term Take Home Exercise • ESOAC# Chapter 5: Web Service Enhancements 3.0

  4. Class Web Site • Areopagus-soa.net/jhu_sia_f07/ • Alternative: areopagusso.web150.discountasp.net/jhu_soa_f07/ • Contents • Lectures • Schedule • Sample code and configuration examples • How To’s and other help • Exercises with solutions • Web Service “Server” • Starting next week, you will be able to upload and install your services on this server, which then can be reached from anywhere on the internet.

  5. SOA Ch 8: Principles of Service Orientation • 8.1 Service Orientation and the Enterprise • 8.2 Anatomy of a Service Oriented Architecture • 8.3 Common Principles of Service Orientation • 8.4 How Service Orienation Principles interrelate • 8.5 Service Orientation and Object Orientation • 8.6 Native Web Service Support for Service Orientation Principles

  6. Mid Term Review (1 of 3) • The Big Questions: • What is a web service? • What is a service oriented architecture? • What is SOA? (3.2.20) • What is a primitive SOA? • What is a contemporary SOA? • The terms/concepts • Common Characteristics of contemporary SOA (3.2) • Common Tangible benefits of SOA (3.4) • Pitfalls of SOA (3.5)

  7. Mid Term Review (2 of 3) • Relationships of SOA to… • XML (is used by SOA for…) • Standards (SOAP, UDDI, WSDL, etc.) • Past Architectures (C/S, 3-Tier, Distributed) • Object Orientation (4.3.5) • What is: • The WS-I Basic Profile • A Service Role (p. 113) • A Service Classification • A service composition • A service description (5.3) • A service operation

  8. Mid Term Review (3 of 3) • What are the parts of a: • SOAP Message (5.4) • MEP’s • Fire and Forget MEP • Publish and subscribe MEP • Of the WS-* extension collection • WS-Orchestration and WS-Choreography • WS-Addressing • WS-Security • WS-ReliableMessaging • WS-Eventing • WS-Policy

  9. Mid Term Exam Format • Multiple Choice (few of these) • Matching (several of these) • Fill in the blank (many of these, some of the blanks are words, and some are phrases or full sentences) • Essay (1 maybe 2) • Draw a picture (to design a solution or fix/alter a design; using the same notation as used in the case studies)

  10. ESOAC# Ch 5: Web Service Enhancements 3.0 • Overview of the WS- Specifications • WS- Specifications Covered in this Book • Introducing Web Service Enhancements (WCE) 3.0 • How WSE works with ASP.NET • Web Service access to the WSE API • Web Service Client Access to the WSE API • (next week) Install and Configure WSE

  11. Mid Term Take Home Exercise • Design a system, which will be an SOA for selling audio video recordings to retail stores. • Carefully follow the basic tenets of service orientation and SOA • Your service will allow retailers to: • Place orders for audio and video recordings. • Pay an invoice • Submit bank or credit card information so that an payments can be made on line • Check for available inventory (number available, next delivery date for items on back order, etc.) • Receive monthly invoices • Submit the following: • Using the notation in the book’s case studies draw your design for the your system, and the services at one retailer which will interact with you system. A legible hand drawing is just fine. • Describe the interaction between your system and a retailer, naming the services being used, and the contents of the messages being passed, for each of the following. You may use narrative and drawings to describe these. • A retailer checks your inventory before placing an order • A retailer places an order • A retailer receives a monthly invoice • A retailer submits payment information • A retailer pays monthly invoice • You do not need to write any code, but to help support your descriptions above, if you wish to you may submit code which defines the services either in C# .Net code, or in WSDL.

  12. Build a Consumer for an Existing Service. • Start up VS 2005 • File->New->Project • left side of dialog: • Languages->Visual C# • sub-type->Windows • top right of dialog: • Select->Windows Application • bottom of dialog: • pick a name • pick a location • optionally, if you want a new solution space • check the "create directory for solution" checkbox • give the solution a names • click OK • In the "Solution Explorer", click right on the "references" folder and select "add web reference" • type in the url: http://areopagus-soa.net-Testing_101807_b/Service.asmx • alternately: http://areopagusso.web150.discountasp.net/Testing_101807_b/Service.asmx • enter an appropriate "Web reference name:" • click "add reference" • Work with the service as usual. It has one operation: HelloWorld • Watch for notes from your fire wall and other security software • Next week: How to upload a provider service to the class web site.

  13. Schedule for Next Week • 10-30-07 Mid-Term Exam (open book, open notes, NO computers) Lecture 7 • The exam will be during the first hour • Lecture to follow • Required Reading (read before class) • SOA – Erl • Chapter 9 Service Layers • Chapter 10 Delivery Strategies • ESOAC# - Hassan • Chapter 3 Design Patterns for Building Message Oriented Web Services • Chapter 4 Deign Patters for Building Service Oriented Web Services • Lecture 7 • Service Layers, Delivery Strategies and SO Design Patterns • Assignments • Mid Term Exercise due

More Related