Problem and Hypothesis      Modelling: A Language Driven Approach                                 Case Study              ...
Problem and Hypothesis          Modelling: A Language Driven Approach                                     Case Study      ...
Problem and Hypothesis        Modelling: A Language Driven Approach                                   Case Study          ...
Problem and Hypothesis        Modelling: A Language Driven Approach                                   Case Study          ...
Problem and Hypothesis        Modelling: A Language Driven Approach                                   Case Study          ...
Problem and Hypothesis        Modelling: A Language Driven Approach                                   Case Study          ...
Problem and Hypothesis        Modelling: A Language Driven Approach                                   Case Study          ...
Problem and Hypothesis        Modelling: A Language Driven Approach                                   Case Study          ...
Problem and Hypothesis        Modelling: A Language Driven Approach                                   Case Study          ...
Problem and Hypothesis        Modelling: A Language Driven Approach                                   Case Study          ...
Problem and Hypothesis        Modelling: A Language Driven Approach                                   Case Study          ...
Problem and Hypothesis        Modelling: A Language Driven Approach                                   Case Study          ...
Problem and Hypothesis        Modelling: A Language Driven Approach                                   Case Study          ...
Problem and Hypothesis        Modelling: A Language Driven Approach                                   Case Study          ...
Problem and Hypothesis        Modelling: A Language Driven Approach                                   Case Study          ...
Problem and Hypothesis        Modelling: A Language Driven Approach                                   Case Study          ...
Problem and Hypothesis        Modelling: A Language Driven Approach                                   Case Study          ...
Problem and Hypothesis        Modelling: A Language Driven Approach                                   Case Study          ...
Problem and Hypothesis        Modelling: A Language Driven Approach                                   Case Study          ...
Problem and Hypothesis        Modelling: A Language Driven Approach                                   Case Study          ...
Problem and Hypothesis         Modelling: A Language Driven Approach                                    Case Study        ...
Problem and Hypothesis       Modelling: A Language Driven Approach                                  Case Study            ...
Problem and Hypothesis          Modelling: A Language Driven Approach    Services                                     Case...
Problem and Hypothesis       Modelling: A Language Driven Approach    Services                                  Case Study...
Problem and Hypothesis          Modelling: A Language Driven Approach    Services                                     Case...
Problem and Hypothesis          Modelling: A Language Driven Approach    Services                                     Case...
Problem and Hypothesis          Modelling: A Language Driven Approach    Services                                     Case...
Problem and Hypothesis            Modelling: A Language Driven Approach    Services                                       ...
Problem and Hypothesis       Modelling: A Language Driven Approach    Services                                  Case Study...
Problem and Hypothesis        Modelling: A Language Driven Approach    Services                                   Case Stu...
Problem and Hypothesis          Modelling: A Language Driven Approach                                     Case Study      ...
Problem and Hypothesis       Modelling: A Language Driven Approach                                  Case Study            ...
Problem and Hypothesis       Modelling: A Language Driven Approach                                  Case Study            ...
Problem and Hypothesis           Modelling: A Language Driven Approach                                      Case Study    ...
Problem and Hypothesis       Modelling: A Language Driven Approach                                  Case Study            ...
Problem and Hypothesis          Modelling: A Language Driven Approach                                     Case Study      ...
Problem and Hypothesis          Modelling: A Language Driven Approach                                     Case Study      ...
Problem and Hypothesis          Modelling: A Language Driven Approach                                     Case Study      ...
Problem and Hypothesis          Modelling: A Language Driven Approach                                     Case Study      ...
Problem and Hypothesis        Modelling: A Language Driven Approach                                   Case Study          ...
Problem and Hypothesis       Modelling: A Language Driven Approach                                  Case Study            ...
Problem and Hypothesis          Modelling: A Language Driven Approach                                     Case Study      ...
Problem and Hypothesis        Modelling: A Language Driven Approach                                   Case Study          ...
Problem and Hypothesis       Modelling: A Language Driven Approach                                  Case Study            ...
Problem and Hypothesis          Modelling: A Language Driven Approach                                     Case Study      ...
Problem and Hypothesis        Modelling: A Language Driven Approach                                   Case Study          ...
Upcoming SlideShare
Loading in …5
×

A Common Basis for Modelling Service-Oriented and Event-Driven Architecture

4,465 views

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,465
On SlideShare
0
From Embeds
0
Number of Embeds
3,707
Actions
Shares
0
Downloads
19
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

A Common Basis for Modelling Service-Oriented and Event-Driven Architecture

  1. 1. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionA Common Basis for Modelling Service-Oriented and Event-Driven Architecture Tony Clark and Balbir S. BarnSchool of Engineering and Information Sciences, Middlesex University, London, UK February 23, 2012 Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  2. 2. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionContents 1 Problem and Hypothesis 2 Modelling: A Language Driven Approach Services Events Tooling 3 Case Study 4 Simulation 5 Conclusion Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  3. 3. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionEnterprise Architecture What does a business do? Why does the business do it? How does the business operate? Use Cases: as-is and to-be; IT alignment; governance; resource planning; compliance; IT management; etc. Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  4. 4. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionIt’s a Puzzlement [King of Siam] Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  5. 5. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionArchitectural Styles: Inversion of Control Service Oriented Event Driven Architecture Architecture Messages drive Events drive computation. computation. Interfaces of operations. Interfaces of events. Synchronous, Always asynchronous. Asynchronous, Business processes Broadcast, etc. attached to complex Business processes events. attached to services Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  6. 6. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionArchitectural Styles: Architectural Styles Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  7. 7. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionArchitectural Styles: Messages Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  8. 8. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionArchitectural Styles: Messages Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  9. 9. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionArchitectural Styles: Messages Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  10. 10. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionArchitectural Styles: Messages Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  11. 11. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionArchitectural Styles: Messages Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  12. 12. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionArchitectural Styles: Messages Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  13. 13. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionArchitectural Styles: Messages Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  14. 14. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionArchitectural Styles: Messages Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  15. 15. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionArchitectural Styles: Inversion of Control Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  16. 16. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionArchitectural Styles: Events Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  17. 17. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionArchitectural Styles: Events Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  18. 18. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionArchitectural Styles: Events Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  19. 19. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionArchitectural Styles: Events Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  20. 20. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionArchitectural Styles: Events Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  21. 21. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionTechnologies for EA ArchiMate MODAF TOGAF UML and SysML All fairly complex, imprecise, not domain specific, do not support reasoning, no simulation. Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  22. 22. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionA Language Driven Approach to EA A Domain Specific Language for Modelling EA: Component architecture. Information models. Invariants. Pre and post specification of Business Processes. Events. A Domain Specific Language for EA Simulation: As above... Commands for business process implementation. Message passing. Rules for complex event processing. Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  23. 23. Problem and Hypothesis Modelling: A Language Driven Approach Services Case Study Events Simulation Tooling ConclusionContents 1 Problem and Hypothesis 2 Modelling: A Language Driven Approach Services Events Tooling 3 Case Study 4 Simulation 5 Conclusion Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  24. 24. Problem and Hypothesis Modelling: A Language Driven Approach Services Case Study Events Simulation Tooling ConclusionEA Modelling Language Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  25. 25. Problem and Hypothesis Modelling: A Language Driven Approach Services Case Study Events Simulation Tooling ConclusionEA Simulation Language component d { port p[out]:interface { v():void } port q[out]:interface { z():void } operations { y() { p <- v(); q <- z() } } } Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  26. 26. Problem and Hypothesis Modelling: A Language Driven Approach Services Case Study Events Simulation Tooling ConclusionEA Simulation Language component d { component b { port p[out]:interface { port q[in]: interface { v():void z():void } } port q[out]:interface { operations { z():void z() { } print(’called z()’) operations { } y() { } p <- v(); } q <- z() } } } Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  27. 27. Problem and Hypothesis Modelling: A Language Driven Approach Services Case Study Events Simulation Tooling ConclusionEA Simulation Language component d { component b { port p[out]:interface { port q[in]: interface { v():void z():void } } port q[out]:interface { operations { z():void z() { } print(’called z()’) operations { } y() { } p <- v(); } q <- z() component a { } port p[in]: interface { } v():void; } } operations { v() { print(’called v()’) } } } Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  28. 28. Problem and Hypothesis Modelling: A Language Driven Approach Services Case Study Events Simulation Tooling ConclusionEA Simulation Language component c { component a { c = 10 port p[in]: interface { port events[out]: interface { x(data:int):void; x(data:int):void y(data:int):void } } operations { model { x() { class X { x:int } events <- x(c) class Y { y:int } } class Data { d:int } } } } rules { component d { x_and_y: X(x) Y(y) ?(p(x,y)) { d = 10 v(x,y) port events[out]: interface { } y(data:int):void } } operations { operations { x(data) { new X(data) } y() { y(data) { new Y(data) } events <- y(d) v(x,y) { new Data(x+y) } } } } } } Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  29. 29. Problem and Hypothesis Modelling: A Language Driven Approach Services Case Study Events Simulation Tooling ConclusionComponent Connections Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  30. 30. Problem and Hypothesis Modelling: A Language Driven Approach Services Case Study Events Simulation Tooling ConclusionCalling Sequence Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  31. 31. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionContents 1 Problem and Hypothesis 2 Modelling: A Language Driven Approach Services Events Tooling 3 Case Study 4 Simulation 5 Conclusion Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  32. 32. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionUK Borders Agency Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  33. 33. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionComponent Dependencies Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  34. 34. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionRegistry Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  35. 35. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionStudent Office Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  36. 36. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionMonitor Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  37. 37. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionContents 1 Problem and Hypothesis 2 Modelling: A Language Driven Approach Services Events Tooling 3 Case Study 4 Simulation 5 Conclusion Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  38. 38. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionCase Study: Example Component component registry { port in[in]: interface { register(name:str,course:str):void } port events[out]: interface { register(name:str,course:str):void } model { class Student { name:str; course:str } } operations { register(name,course) { new Student(name,course); events <- register(name,course) } } } Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  39. 39. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionDynamic, Parametric Components operations { make_department(name,courses,academic_names) { component { ... school_office = make_student_office(courses) academics = [ make_academic(name) | name <- academic_names ] } } make_academic(name) { component { ... } } make_student_office(courses) { component { ... } } } computer_science = make_department(’Business’,[ Course(’Business and IT’,[ Module(’Marketing’,[CW(’BIT_MCW1’,4),CW(’BIT_MCW2’,6)])]), Course(’Business Informatics’,[ Module(’Finance’,[CW(’BI_MCW1’,4),CW(’BI_MCW2’,6)])]), ],[’Dr Piercemuller’,’Prof. Plumb’]) Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  40. 40. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionSimulation Architecture Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  41. 41. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionScreen Model Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  42. 42. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionSimulation: GUI component gui { display = jcomponent(’frames.GUI’) operations { show() { let time = find Time(t) in state { t } else 0 in display.in <- display(Table([ [Text(’contacts:’)], [Table([[Text(r.name),Text(r.contacts)] | r <- monitor.in.contacts()])], [Text(’ ’)], [Button(’Tick’+time,fun(e) clock_port <- tick())] ])) } tick(time) { delete Time(time-1); new Time(time); show() } } port in[in]: interface { show():void; tick(time:int):void } port clock_port[out]:interface { tick():void } } Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  43. 43. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionBorders Agency Simulation Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  44. 44. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionOther Examples EA Alignment in order to comply with new UK HE regulation for Key Information Sets. Architecture for Sense Making using data from social network sites. Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  45. 45. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionContents 1 Problem and Hypothesis 2 Modelling: A Language Driven Approach Services Events Tooling 3 Case Study 4 Simulation 5 Conclusion Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive
  46. 46. Problem and Hypothesis Modelling: A Language Driven Approach Case Study Simulation ConclusionConclusion EA use-cases require precision to analyse designs. Domain analysis leads to: components; information models; messages; events. Current technologies are very large, complex and imprecise. A Language Driven Approach leads to a design and simulation languages. Design language as UML profile. Simulation language implemented in Java. Tested on several case studies. Future Steps: Support for Business Goals. Methods to support approach and integration with existing EA technologies. Develop techniques for various EA analysis use-cases. Integrate simulation language with real architectures. Tony Clark and Balbir S. Barn A Common Basis for Modelling Service-Oriented and Event-Drive

×