Brief Introduction to UML 2.0 for SEG seminar) Tian Zhang Nanjing University,China October 2005 院
Brief Introduction to UML 2.0 (for SEG seminar) Tian Zhang Nanjing University,China October 2005
Outline Part Background Process of UML 2.0 adoption Part II; Overview of UML 2.0 Superstructure Tian Zhang Nanjing University 2
Tian Zhang @ Nanjing University 2 Outline Part I : Background Process of UML 2.0 adoption Part II: Overview of UML 2.0 Superstructure
Part I OMG's technology adoption process ■UL1.4,1.5,2.0 ■UML2.0 in mDa The current status of UML 2.0 Tian Zhang Nanjing University 3
Tian Zhang @ Nanjing University 3 Part I OMG's technology adoption process UML 1.4, 1.5, 2.0 UML 2.0 in MDA The current status of UML 2.0
OMG's Technology Adoption Process 1.( Optional RFI stage OMG在1999年提出UML的修订信息需求 来自不同领域的26个响应者大多数提议进行重大修订 2.TF issues RFP,evaluates submissions OMG于2000年初发布UML2.0的四部分提案需求 3. Voting to Adopt an OMG specification 4. Finalization getting ready for prime time 今年1O月通过了Superstructure的最终正式版 其余部分仍处于最终修改版阶段 5. The OMG specification maintenance Cycle 6. Retiring Obsolete Specifications Tian Zhang Nanjing University
Tian Zhang @ Nanjing University 4 OMG's Technology Adoption Process 1. Optional RFI stage OMG在1999年提出UML的修订信息需求 来自不同领域的26个响应者大多数提议进行重大修订 2. TF issues RFP, evaluates submissions OMG于2000年初发布UML2.0的四部分提案需求 3. Voting to Adopt an OMG specification 4. Finalization - getting ready for prime time 今年10月通过了Superstructure的最终正式版 其余部分仍处于最终修改版阶段 5. The OMG specification maintenance Cycle 6. Retiring Obsolete Specifications
UML 2.0 RFPs Superstructure Diagram Interchange Defines user-level constructs to specify structure and behavior of systems(e.g.,class diagrams,sequence diagrams) Infrastructure OCL Defines basic constructs to specify UML and to customize it for specific domains (e.g.,real-time) Tian Zhang Nanjing University 5
Tian Zhang @ Nanjing University 5 UML 2.0 RFPs Diagram Interchange Infrastructure OCL Defines basic constructs to specify UML and to customize it for specific domains (e.g., real-time) Superstructure Defines user-level constructs to specify structure and behavior of systems (e.g., class diagrams, sequence diagrams)
UML2.0 Infrastructure设计目标 ·定义一个元语言的核心-基础结构库(Infra- structureLibrary)通过对此核心的复用,除了 可以定义一个自展的UML元模型之外,还可以 定义其他元模型,包括MOF和CWM; ■通过共用核心包,UML和MOF、CWM在体系 结构上保持一致。 Tian Zhang Nanjing University
Tian Zhang @ Nanjing University 6 UML 2.0 Infrastructure设计目标 定义一个元语言的核心 – 基础结构库(InfrastructureLibrary)通过对此核心的复用,除了 可以定义一个自展的UML元模型之外,还可以 定义其他元模型,包括MOF和CWM; 通过共用核心包,UML和MOF、CWM在体系 结构上保持一致
Goals of UML 2.0 Superstructure Restructure and refine the language to make it easier to apply, implement and customize Improve support for component-based development specify both platform-independent components (e.g.,business components)and platform-specific components (e.g.,EJB,COM+) Refine architectural specification capabilities ▣ support hierarchical composition of parts with interfaces (compare SDL blocks and processes) Increase the scalability,precision and integration of behavioral diagrams augment sequence diagrams with advanced constructs from MSCs that can be combined and integrated with other behavior update state machines diagrams to make generalizable and able to support a transition-centric view revise activity diagrams to support more flexible parallelism and furnish more 1/O options 口 support executable models Review all UML 1.x constructs and diagrams Tian Zhang Nanjing University
Tian Zhang @ Nanjing University 7 Goals of UML 2.0 Superstructure Restructure and refine the language to make it easier to apply, implement and customize Improve support for component-based development specify both platform-independent components (e.g., business components) and platform-specific components (e.g., EJB, COM+) Refine architectural specification capabilities support hierarchical composition of parts with interfaces (compare SDL blocks and processes) Increase the scalability, precision and integration of behavioral diagrams augment sequence diagrams with advanced constructs from MSCs that can be combined and integrated with other behavior update state machines diagrams to make generalizable and able to support a transition-centric view revise activity diagrams to support more flexible parallelism and furnish more I/O options support executable models Review all UML 1.x constructs and diagrams
UML2.0 Superstructure设计日标 ■严格地复用Infrastructure中的模型构造物 既可以描述平台无关构件(如业务构件),也可以描 述平台相关构件(如EJB,COM+等),提高对基于 构件开发和MDA的支持; 支持接口、部件和连接子,及其层次化组合能力,从 而提高对架构的规约能力; ■增强行为图的可伸缩性、精确性和集成能力; 支持可执行模型: 审定所有UML1x的构造物和图,适当地精化、取缔 和逐步淘汰。 Tian Zhang Nanjing University 8
Tian Zhang @ Nanjing University 8 UML 2.0 Superstructure 设计目标 严格地复用Infrastructure中的模型构造物; 既可以描述平台无关构件(如业务构件),也可以描 述平台相关构件(如EJB,COM+等),提高对基于 构件开发和MDA的支持; 支持接口、部件和连接子,及其层次化组合能力,从 而提高对架构的规约能力; 增强行为图的可伸缩性、精确性和集成能力; 支持可执行模型; 审定所有UML1.x的构造物和图,适当地精化、取缔 和逐步淘汰
UML 2.0.The Current Official Version: UML 2.0 Superstructure formal/05-07-04 is complete -stable since it took its adopted form in October,2004. UML 2.0 Infrastructure ptc/04-10-14 UML 2.0 Diagram Interchange ptc/05-06-04 UML 2.0 OCL ptc/05-06-06 Pages Statistic Infrastructure 226 pages Superstructure 709 pages Diagram Interchange 82 pages OCL:185 pages Tian Zhang Nanjing University 9
Tian Zhang @ Nanjing University 9 UML 2.0, The Current Official Version: UML 2.0 Superstructure formal/05-07-04 is complete - stable since it took its adopted form in October, 2004. UML 2.0 Infrastructure ptc/04-10-14 UML 2.0 Diagram Interchange ptc/05-06-04 UML 2.0 OCL ptc/05-06-06 Pages Statistic Infrastructure : 226 pages Superstructure : 709 pages Diagram Interchange : 82 pages OCL : 185 pages
UML 2.0 in MDA Finance MDA的核心规范: Manufacturing E-Commerce ·Meta Object Facility >三台三 CORBA MOF current version 1.4 UML Space ERVICES Model Driven SECURITY Telecom Unified Modeling Language 83M Architecture UML current version 1.5 MOF CWM Common Warehouse Metamodel ANSACTIONS JAVA .NET EVENTS CWM current version 1.0 Transportation HealthCare XML Metadata Interchange XMI current version 2.1 More... Tian Zhang Nanjing University 10
Tian Zhang @ Nanjing University 10 UML 2.0 in MDA MDA的核心规范: • Meta Object Facility • MOF current version 1.4 • Unified Modeling Language • UML current version 1.5 • Common Warehouse Metamodel • CWM current version 1.0 • XML Metadata Interchange • XMI current version 2.1