1 / 0

Service Oriented Architecture Johns-Hopkins University Montgomery County Center

Service Oriented Architecture Johns-Hopkins University Montgomery County Center. Lecture 9: SOA Analysis II EN 605.702 Section 71 Fall 2012 Wednesday 6:00 PM to 8:40 PM October 31, 2012. Class Schedule. Overview. Mid Term Exam Review Service Oriented Analysis II

phuc
Download Presentation

Service Oriented Architecture Johns-Hopkins University Montgomery County Center

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. Service Oriented ArchitectureJohns-Hopkins UniversityMontgomery County Center

    Lecture 9: SOA Analysis II EN 605.702 Section 71 Fall 2012 Wednesday 6:00 PM to 8:40 PM October 31, 2012
  2. Class Schedule
  3. Overview Mid Term Exam Review Service Oriented Analysis II Chapter 12: Service Oriented Analysis (Part II: Service Modeling) SoaDLC:SOA Development Life Cycle II Homework #3 Updated (part two) Summary and Next Steps
  4. Ch. 12: SOA (Part II Service Modeling) Service Modeling Process, specifically “Model Candidate Services” (figure 12.1) , step 3 in the “Service Oriented Analysis” (figure 11.1) process, which is step 1 in the “SOA Delivery Lifecycle” (figure 10.1) Case Study pp402 – 415 Note: Figure 12.9 multiple biz process steps in one service Figure 12.8 Reuse of service implies reuse of those multiple steps in the related business process
  5. Mid Term Exam – Answer Review - #1 (1) What are the differences between Service Oriented Architecture (SOA) and Object Oriented Design (OOD)? Assume contemporary OSA, answer should include some but necessarily all of: SOA collection of functionality (operations) versus OO collection of functionality and explicitly state Enterprise or multi-application versus application focus SOA services more autonomous than objects OO inheritance not used in SOA design SOA business oriented more so that OO SOA inherently distributed components SOA services larger granularity/size than typical objects
  6. Mid Term Exam – Answer Review - #2 (2) How are SOA and OOD alike? Modular, reuse focused, separation of interface and implementation Both are design methods (in contrast to implementation) Both use abstraction and ancapsulation
  7. Mid Term Exam – Answer Review - #3 (3) One of the difficulties businesses have is keeping their business processes and technology infrastructure in synch, where the technology does a good job of supporting the business’s current day to day operations. Define organizational agility, and describe how it can help solve this difficulty. Ability for a enterprise or business or organization to be able to adapt quickly to changes in business processes whether driven by external forces or internal business process reengineering Concretely, to be able to rapidly change IT automation support of business processes when those processes change
  8. Mid Term Exam – Answer Review - #4 There wasn’t any question #4 You all got this one perfectly correct
  9. Mid Term Exam – Answer Review - #5 (5) What are the three layers in a SOA “layer Cake” diagram, what does each represent, and state which layer the SOA architect makes the biggest contribution to. Business Process Layer Service Architecture Layer – this is where SOA architect works the most IT Service or Software Application Layer
  10. Mid Term Exam – Answer Review - #6 (6) Frequently on SOA projects, engineers and architects who are not well trained and experienced in SOA will write requirements that are traditional system requirements, and leave out the kinds of requirements that support the goal of building an SOA. These are often the ones most useful to the SOA architect in determining the best SOA architecture for that organization. Write two or three example requirements that are focused on the SOA goals of the project, instead of the functional oriented system requirements of a traditional IT project. Three categories (some confusion here, I added a category) Requirements written in the business process context: Changes in automation support business process, or processes that are not yet automated: such as building a new SOA integration layer to replace the direct API calls in a application Requirements written to build the foundation of an SOA: such as building utility layer services to API’s of legacy software, or build a service that exposes in business process terminology all the operations having to do with paying out to vendors or employees Requirements written on the building the foundation of a SOA: for example governance rules of SOA projects on the style of design (focus on entity services or focus on task centric services) , use of WS-* other SOA related standards
  11. Mid Term Exam – Answer Review - #7 (7) Define what a Service is in the context of SOA. You can use the text’s definition, the instructor’s definition or a combination of the two which are similar though they emphasize different aspects of SOA and the instructors concentrates more on Contemporary SOA. You will get full credit for correctly answering with any of the three options. A software module or “unit of logic” which supplies one or more operations: business oriented, autonomous , loosely coupled, composable, standards based, message based integration, platform independent, usually stateless, can be discoverable Test your definition. Does it allow you to “test” whether a software component is a service or simple a objet or other module?
  12. Mid Term Exam – Answer Review - #8 (8) What is the primary difference between a “primitive SOA” approach and a “contemporary SOA” approach? Primitive: Exposure of functionality in a loosely coupled, autonomous, easily integrable set of software components Contemporary: Business focused, defined in terms of business processes (what they accomplish or automate) in contrast to how they do what they do. Contemporary is a more highly evolved primitive SOA: with the goal of supporting organizational agility.
  13. Mid Term Exam – Answer Review - #9 (9) What are the three primary standards, the three protocols that are the basis of the 5 parts of the WS-I Basic Profile used to implement (e.g. build the software itself) of an SOA design? We also use these standards to guide us in design, but that is because using these standard puts constraints on our design, that is we shouldn’t design something that can’t be built using these standards. For each of the three standards you name, what aspects of SOA and Web Service implementation does each standard deal with? (e.g. there should be three specific, distinct answers for this question. One for each of the three standards; and a description of which SOA/Service property(s) those standards help us to attain) SOAP – autonomy, platform independence, message based integration WSDL –Self describing, Interface/abstraction definition, and separation of interface and implementation UDDI - Discoverability (another option, not as string as the others) XML – language independence, reusability, is the foundation of the SOAP and WSDL definitions-
  14. Mid Term Exam – Answer Review - #10 (10) When learning about SOA, what in your opinion are the three biggest misconceptions or mistakes that people make about understanding what SOA actually is about? For each misconception there is usually a kernel of truth that misleads people. This question required three distinct answers, and for each misconception you identify state what that kernel of truth is, and describe why it is untrue. Whatever your favorites are, the kernel of truth is the interesting part, examples: SOAP services are SOA – SOAL fills the requirements for SOA implementation, therefore must mirror them SOA makes all things interoperable – if you also solve the semantic problems of interoperability: use of standards and sharing of “user defined” data types
  15. Mid Term Exam – Answer Review - #11 (11) In figure 1, answer the following sub-question 12a, 12b, etc. below 11a. Which of the Components (CompA, CompB, etc) are Service Providers? B, C and D 11b. Which of the Components are Service Requestors? A, B and C 11c. Which of the Components are ultimate providers? D 11d. Which of the components are ultimate requestors, also known as ultimate consumers? A CompC CompA CompB CompD
  16. Mid Term Exam – Answer Review - #12 (12) Considering again figure 1, answer the following. 12a. What is the definition of a Service Composition? A collection of cooperating services in a composition, such as A, B, C and D 12b. What is the definition of a service provider? Has operations invocable by a consumer or requestor 12c. What is the definition of a service requestor? Can or does invoke operations on a provider 12d. What makes a service requestor an ultimate service requestor? It is a requestor that does NOT supply operations invocable by another software module
  17. Mid Term Exam – Answer Review - #13 (13) The WS-* extensions include WS-Addressing, WS-Security, etc. Answer the following sub-questions about WS-* extensions to SOAP. 13a. If your service composition required authenticating the service requestor, which WS-* would you use? Why? WS-Security supplies authentication and encryption 13b.If your service composition required you knowing with 100% assurance that a SOAP message was received, before the transaction the composition implements was completed, which WS-* would you use? Why? WS-AssuredMessaging – supplies ability to exchange additional messages about the health of a service based transaction
  18. Mid Term Exam – Answer Review - #14 (14) What other features, aspects or tasks besides the service and the service compositions must an SOA Architect include in their design solution? Some or all of: Analysis of existing IT functionality Analysis and probably additional objective details added to business process definitions Relationships between business processes, and automation that supports them currently Analysis of to be process changes in the context of existing automation support
  19. Mid Term Exam – Answer Review - #15 (15) For a specific project, what details about that project and that organization for which the project is being performed must an SOA Architect understand before they can actually start designing the SOA solution? The current and to be business processes involved Current Service resources (existing SOA governance rules, existing services, etc.) Future plans of organization: both technical/IT plans and business process changes, including moving into new business domains, or anticipated market changes in current domains
  20. Mid Term Exam – Answer Review - #16 (16 – Extra Credit) Looking at the history of SOA, why did we need SOA? What problems did it solve that previous techniques and technologies did not solve, or did not solve as well as SOA does? Long term, sustained, evolving reuse of software functionality Organizational agility Business process oriented software programming (not software engineering, why not?)
  21. SOA Development Life Cycle II (SoaDLC) White board exercise in Service and Operation Modeling , following case study in chapter 12 Apply iteration to figure 12.1 , based on extending steps 11 and 12 into additional iterations or cycles
  22. Class Project: Introduction Enterprise Community Hospital 25 Beds Staff of 35-40 working shifts of 10-15 people In Patient Pharmacy Partnership with Radiology Services Scheduled X-Ray services only, with on site Radiologist Out Patient Pharmacy Local Family Practice with 1 Doctors and 1 Nurse Practitioner Medical and administrative support staff of 5
  23. “As Is” Class Project Business Processes Medication Ordered for In Patient Radiology Study Ordered for In Patient Discharge related Business Processes Out PatientMedication Orders for Patient Being Discharged Send In Patient Encounter Records to Local Family Practice Reevaluate In Patient Status Post Radiology Study Periodic In Patient Evaluation
  24. BizProcess: Medication Order for In Patient Actors in Process Doctor Ward Nurse Pre-Conditions Doctor has examined patient Doctor has diagnosed condition Process Primary Thread Doctor creates order in CPOE, Computerized Physician Order Entry Secondary thread Doctor gives verbal order to ward nurse Ward Nurse enters order in CPOE in doctor’s name Post-Conditions Order has been entered and automated validation has occurred If automated validation finds problems, doctor has been notified, and order has been corrected
  25. Med Order Business Process
  26. BizProcess: Order Radiology Study for In Patient Actors in Process Doctor Ward Nurse Pre-Conditions Doctor has examined patient Doctor has diagnosed condition Process Primary Thread Doctor creates order in CPOE, Computerized Physician Order Entry Secondary thread Doctor gives verbal order to ward nurse Ward Nurse enters order in CPOE in doctor’s name Post-Conditions Order has been entered and automated validation has occurred If automated validation finds problems, doctor has been notified, and order has been corrected
  27. Order Radiology Study
  28. Let’s Think About That What are the differences in the processes? Are they the same identical process? Careful, maybe not. What data is stored? What actions are taken? What underlying IT systems are involved?
  29. “As Is” Med Orders for Discharged Patient Actors in Process Doctor Ward Nurse Family Member of Patient Pre-Conditions Doctor has examined patient Doctor discharges (releases and sends home) patient Process Doctor hand writes order for discharged (out patient) patient and leaves with nursing staff Nurse enters order in Electronic Health Record (HER) Nurse gives med order (prescription) to family member taking patient home Family member takes med order to Out Patient Pharmacy Out Patient Pharmacy fulfills med order Family member picks up and administers medication Post-Conditions Order has been entered and automated validation has occurred If automated validation finds problems, doctor has been notified, and order has been corrected, though that may be after prescription is filled, and there is no record of the prescription being picked up and administered to patient
  30. “To Be” Med Orders for Discharged Patient Actors in Process Doctor Ward Nurse Out Patient Pharmacy Pharmacist and/or Pharmacy Technician Pre-Conditions Doctor has examined patient Doctor discharges (releases and sends home) patient Process Doctor enters medication order for discharged patient in CPOE Medication Order Entry System CPOE System Enters order in EHR CPOE System sends order to partner Pharmacist (Out Patient Pharmacy) Out Patient Pharmacy Pharmacist fulfills order using Pharmacy Order Fulfillment System Family member picks up and administers medication, and point of sale system records that event and notifies Partner Community Hospital’s HER that the prescription was picked up Post-Conditions Order has been entered and automated validation has occurred Pharmacist at partner Out Patient Pharmacy has fulfilled order Prescription has been priced up for Patient
  31. “To Be” Med Orders for Discharged Patient
  32. “As Is” Class Project IT Infrastructure TBD for one more week (I forgot we would be doing the post mid term review as well this week)
  33. Class Project Work Products Work Products you will Reuse: Existing “As Is” business processes Existing primitive SOA architecture Existing services Desired updated “To Be” business process You will produce: A written report Updated Business Process Diagram Analysis and Design Documentation Updated Architecture Some software Services and Consumers The start of a contemporary SOA architecture
  34. Exercise #3 (Part I) Multi-Part Exercise The beginning of the class project Part I (from last week): Create Business Process Diagrams for: Create Medication Order for In Patient Create Order for radiology Study for In Patient Perform “Model Candidate Services” process Pre-conditions (we will perform now in class): Define analysis scope And research details of business process Identify automation systems Part II (added this week) Create or add to an existing business process the create medication order and fulfill medication order business processes Change or add to your “candidate services” Turn in next week both versions of your candidate services next week, both before and after adding the new “discharged patient” medication process(s)
  35. Summary and Next Steps Any questions? We will review mid-term exam next week Submit Exercise #3 Part I and IIvia email Send to tpole1@jhu.edu Send by 11:59 PM SundayNovember 4, 2012 Submit by one of: Powerpoint or other digital form email me Hand drawn scan and email or fax to 1(866) 796-5962
More Related