OMG Orlando 2005 03 23


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • OMG is a consortium of tool vendors, consultants such as Cephas, and end users
  • About 6 or 7 of these are used in a typical business project. Much complexity has been added to the specification in order to satisfy special needs of the developer community. OMG has defined multiple levels of conformance with the spec.
  • See
  • See
  • OMG Orlando 2005 03 23

    1. 1. Presentation to SD Best Practices September 28, 2005 Bob Roth (Sparx Systems) [email_address] Frank Truyen (Cephas Consulting) [email_address] Integrating UML 2.0 into Visual Studio Team System
    2. 2. Overview <ul><li>Sparx’s Mission </li></ul><ul><li>Sparx’s Partnership with Microsoft </li></ul><ul><li>Introduction to UML 2.0 </li></ul><ul><li>Enterprise Architect 5.0 Features </li></ul><ul><li>Introducing Enterprise Architect 6.0 </li></ul><ul><li>Demonstration of EA & Visual Studio Integration </li></ul><ul><ul><li>Requirements Model </li></ul></ul><ul><ul><li>Use Case Model </li></ul></ul><ul><ul><li>Domain Model </li></ul></ul><ul><ul><li>Forward and Reverse Engineering into Visual Studio </li></ul></ul><ul><ul><li>Leveraging the UML Model inside Visual Studio </li></ul></ul><ul><li>Integration Roadmap with Visual Studio Team System </li></ul><ul><li>Q&A </li></ul>
    3. 3. Sparx’s Mission <ul><li>Create a new paradigm for modeling and development tools by setting a price point that enables all members of the project team to benefit from their use. </li></ul><ul><li>Benefits include dramatic improvements in </li></ul><ul><ul><li>Documentation </li></ul></ul><ul><ul><li>Traceability </li></ul></ul><ul><ul><li>Collaboration </li></ul></ul><ul><ul><li>Reusability </li></ul></ul><ul><ul><li>Productivity </li></ul></ul><ul><ul><li>Quality </li></ul></ul><ul><ul><li>ROI </li></ul></ul>
    4. 4. <ul><li>Enterprise Architect </li></ul><ul><li>Requirements </li></ul><ul><li>UML </li></ul>Sparx’s Partnership with Microsoft <ul><li>Visual Studio </li></ul><ul><li>Code </li></ul><ul><li>.NET </li></ul>
    5. 5. UML History in a Nutshell 1 1 Based on chart on pg. 17 of
    6. 6. UML 2.0 <ul><li>A specification of the Object Management Group (OMG) </li></ul><ul><ul><li>Sparx is a contributing member of the OMG </li></ul></ul><ul><li>Other important OMG standards include </li></ul><ul><ul><li>The Meta-Object Facility (MOF) </li></ul></ul><ul><ul><li>The XML Metadata Interchange (XMI) </li></ul></ul><ul><ul><li>The Common Warehouse Metamodel (CWM) </li></ul></ul><ul><ul><li>The Common Request Broker Architecture (CORBA) </li></ul></ul><ul><li>Major goals of UML 2.0 </li></ul><ul><ul><li>Better alignment with other constituents of the OMG’s Model Driven Architecture (MDA) initiative </li></ul></ul><ul><ul><li>Clean up the underlying architecture by making it modular, layered and extensible </li></ul></ul><ul><ul><li>Expand the notation to support a wider set of the modeling requirements </li></ul></ul>
    7. 7. UML 2.0 Diagram Types <ul><li>UML defines 13 types of diagrams, divided into two categories: six represent static application structure and seven represent different aspects of dynamic behavior. </li></ul><ul><ul><li>Structural </li></ul></ul><ul><ul><ul><li>Class diagram </li></ul></ul></ul><ul><ul><ul><li>Object diagram </li></ul></ul></ul><ul><ul><ul><li>Component diagram </li></ul></ul></ul><ul><ul><ul><li>Composite Structure diagram </li></ul></ul></ul><ul><ul><ul><li>Deployment diagram </li></ul></ul></ul><ul><ul><ul><li>Package diagram </li></ul></ul></ul><ul><ul><li>Behavioral </li></ul></ul><ul><ul><ul><li>Use Case diagram </li></ul></ul></ul><ul><ul><ul><li>State Machine diagram </li></ul></ul></ul><ul><ul><ul><li>Activity diagram </li></ul></ul></ul><ul><ul><ul><li>Interaction diagrams </li></ul></ul></ul><ul><ul><ul><ul><li>Sequence diagram </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Interaction Overview diagram </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Communication diagram </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Timing diagram </li></ul></ul></ul></ul>
    8. 8. Enterprise Architect 5.0 Features (1) <ul><li>UML 2.0 compliant, supporting all 13 diagrams </li></ul><ul><li>Full development lifecycle coverage – from requirements to analysis, design, testing, deployment and maintenance </li></ul><ul><li>Forward and reverse engineering of multiple programming languages including C#, C++ and Visual Basic </li></ul><ul><li>Template based code generation scripts that can be customized </li></ul><ul><li>Forward and reverse engineering of database schemas (DDL) for relational databases such as MS SQL Server, Oracle and others </li></ul><ul><li>XML Schema (XSD) forward generation </li></ul><ul><li>Inbuilt requirements management with full traceability to the realization elements (includes a powerful relationship matrix feature) </li></ul>
    9. 9. Enterprise Architect 5.0 Features (2) <ul><li>Export & import of packages as XMI files for purposes such as model backup, transfer between projects or version control </li></ul><ul><li>Creation of model baselines (at the package branch level) as compressed XMI files inside the EA repository </li></ul><ul><li>Comparison of the structural aspects of models (at the package level) against stored XMI representations </li></ul><ul><li>Powerful WYSIWYG template based report generator in RTF format </li></ul><ul><li>HTML report generator </li></ul><ul><li>Version control via links to external Configuration Management systems </li></ul><ul><li>XMI support for versions 1.0, 1.1 and 1.2 </li></ul><ul><li>Support for managing tests at all levels (unit, integration, system and acceptance) </li></ul>
    10. 10. Enterprise Architect 5.0 Features (3) <ul><li>Built-in model-to-model (MDA) transformations </li></ul><ul><ul><li>Customizable transformation templates for C#, Java, EJB Entity, EJB Session, DDL and XSD </li></ul></ul><ul><ul><li>Powerful scripting language for creating additional templates </li></ul></ul><ul><li>Import of binary modules </li></ul><ul><ul><li>Java archives (.jar files) </li></ul></ul><ul><ul><li>.NET assembly data PE files (.exe, .dll) </li></ul></ul><ul><ul><li>Intermediate Language (.il) files </li></ul></ul><ul><li>Tool extensibility using Model Driven Generator (MDG) Technologies </li></ul><ul><ul><li>Allows bundling of related resources such as UML profiles, patterns, code templates, transformation templates, etc. </li></ul></ul><ul><ul><li>Available MDG modelling extensions include CORBA, Python and EJB </li></ul></ul><ul><li>Plug-in extensions to both Visual Studio .Net and Eclipse (using MDG Technologies) </li></ul>
    11. 11. EA Highlights - Model Repository <ul><li>Every aspect of the UML model—including graphical data—is persisted in an industry-standard database in one of the following formats </li></ul><ul><ul><li>Native .EAP file (Microsoft Access/JET) </li></ul></ul><ul><ul><li>RDBMS repository </li></ul></ul><ul><ul><ul><li>SQL Server / MSDE </li></ul></ul></ul><ul><ul><ul><li>MySQL </li></ul></ul></ul><ul><ul><ul><li>Oracle </li></ul></ul></ul><ul><ul><ul><li>PostgreSQL </li></ul></ul></ul><ul><ul><ul><li>Adaptive Server Anywhere </li></ul></ul></ul><ul><li>Provides scalability from a single user all the way up to very large teams </li></ul><ul><li>Permits common SQL reporting tools such as Crystal Reports to be used to manipulate and query the UML model, both from within EA and externally </li></ul>
    12. 12. EA Highlights - Configuration Management <ul><li>Supports versioning of packages and their nested sub-packages into a Configuration Management repository </li></ul><ul><ul><li>The repository is maintained by third-party version control applications that control access and manage versions. </li></ul></ul><ul><ul><li>Support for any version control system which is either CVS or SCC compliant (e.g. Visual Source Safe, Clear Case, Accurev, Perforce and others). </li></ul></ul><ul><li>All versioned packages are stored in standard XMI format for portability </li></ul><ul><li>Entire models can be reconstructed from a single root package using a “get all” feature </li></ul><ul><li>Check-in/check-out functionality is available from within EA </li></ul><ul><li>Projects can be configured to load packages from multiple version control repositories (and providers) </li></ul>
    13. 13. EA Highlights - Project Management & Metrics <ul><li>EA provides “lightweight” project management support through </li></ul><ul><ul><li>Project estimates   A comprehensive project estimation tool that calculates effort from use case and actor objects, coupled with project configurations defining the technical and environmental complexity of the work environment. </li></ul></ul><ul><ul><li>Resource management   Allows the project manager to assign resources directly to model elements and track progress over time. </li></ul></ul><ul><ul><li>Risk management   The Metrics and Estimations tool may be used to assign Risk to an element within a project. The interface allows the project manager to name the risk, define the type of risk, and give it a weighting. </li></ul></ul><ul><ul><li>Maintenance   Allows the Project Manager to assign and track maintenance related work items to elements within EA. This enables the rapid capture and record keeping of issues, changes, defects and tasks. </li></ul></ul>
    14. 14. EA Highlights - Advanced Capabilities <ul><li>Programmatically manipulate models using an automation interface </li></ul><ul><ul><li>ActiveX and .NET technologies can be used to create add-ins that can be easily plugged into EA </li></ul></ul><ul><li>Create UML profiles, and share these profiles as XML files across teams and projects </li></ul><ul><ul><li>Commonly used profiles are available for download from the resources section of the Sparx website </li></ul></ul><ul><li>Model the information (data) viewpoint using a built-in UML profile featuring tables, columns, keys, foreign keys and complex relationships </li></ul><ul><li>Develop user interfaces (mockups) using another built-in UML profile featuring screens and standard UI widgets </li></ul><ul><li>Leverage predefined analysis and design patterns (Gang of Four) or build your own from class diagrams </li></ul>
    15. 15. EA Version 6.0 (Fall 2005) <ul><li>Live code generation </li></ul><ul><li>Source compilation and debugging </li></ul><ul><li>Integrated nUnit and jUnit support </li></ul><ul><li>Perspectives to manage current user focus </li></ul><ul><li>New MDG Technology extensions for </li></ul><ul><ul><li>Systems Modeling Language (SysML - ) </li></ul></ul><ul><ul><li>Business Process Modeling Notation (BPMN - ) </li></ul></ul><ul><li>Shape script language for deriving highly customisable shapes based on stereotypes and tagged values </li></ul><ul><li>Model discussions forum </li></ul><ul><li>Advanced search facility </li></ul><ul><li>MOF Meta-modelling support (import/export support for MOF 1.3, MOF 1.4) </li></ul><ul><li>XSD modelling (fwd & reverse engineering) </li></ul><ul><li>WSDL SOA modelling support (forward and reverse engineering) </li></ul><ul><li>Comprehensive model validation (including OCL-based constraints) </li></ul>
    16. 16. Integrating UML 2.0 into the Visual Studio 2005 and VSTS environment - Objectives - <ul><li>Provide the UML Analyst/Designer/Architect with the tools to build detailed and precise UML 2.0 models </li></ul><ul><li>Give the Visual Studio developer focused access to UML model content </li></ul><ul><li>Offer the development team strong traceability features, from requirements to model, to code, to tests and finally to deployed artifacts </li></ul><ul><li>Increase productivity by linking UML models to Domain Specific Language (DSL) tools and artifacts </li></ul><ul><li>Release a preliminary (beta) version of the integration into Visual Studio 2005 by product launch date </li></ul><ul><li>Release a stable and complete version in early 2006 </li></ul><ul><li>Make available a first version of the integration with Visual Studio Team System by end of first quarter 2006 </li></ul>
    17. 17. Teaming up the UML Architect with the .Net Developer <ul><li>Browse the EA model inside the Visual Studio environment </li></ul><ul><ul><li>The UML model is included as a Solution item within VS 2005. Two additional tool views are made available </li></ul></ul><ul><ul><ul><li>The UML Model window presents a Project V iew to navigate through the EA model in order to view its entire content </li></ul></ul></ul><ul><ul><ul><li>The UML Property window provides a real-time view of model diagrams and elements. Drill down into the model directly from the diagram elements </li></ul></ul></ul><ul><li>Invoke EA features from within Visual Studio </li></ul><ul><ul><li>Via the context menu of the class browser in VS the user can </li></ul></ul><ul><ul><ul><li>Select the “Open and Edit in EA” option to open EA with the class visible </li></ul></ul></ul><ul><ul><ul><li>Update the properties of UML elements directly! </li></ul></ul></ul><ul><ul><ul><li>Open a selected diagram inside EA </li></ul></ul></ul><ul><ul><ul><li>Generate documentation, import libraries, etc. </li></ul></ul></ul>
    18. 18. Teaming up the UML Architect with the .Net Developer <ul><li>Navigate from UML artifacts to related VS elements </li></ul><ul><ul><li>Navigate from a UML class in the UML Project View window to the source code item in the Solution Explorer or Class View </li></ul></ul><ul><li>Invoke the DSL Class Diagram from a UML class context </li></ul><ul><ul><li>The Class Diagram is created automatically if it does not already exist. The corresponding VS class is highlighted in the Diagram </li></ul></ul><ul><ul><li>Automatically add the VS class to the Diagram if not present </li></ul></ul><ul><li>Invoke the DSL Application Diagram from a UML element context </li></ul><ul><ul><li>The Application Diagram is created automatically if it does not already exist </li></ul></ul><ul><ul><li>The corresponding VS element is highlighted in the Diagram </li></ul></ul>
    19. 19. EA Integration with Visual Studio Team System - Roadmap <ul><li>VSTS user displays EA requirements </li></ul><ul><ul><li>Query and view in VSTS work items created in EA as requirements </li></ul></ul><ul><li>EA user visualizes VSTS Work Items </li></ul><ul><ul><li>Query and view in EA requirements, tasks, and other artifacts created as work items in VSTS, including any complex dependencies between work items </li></ul></ul><ul><li>EA user leverages VSTS CM system </li></ul><ul><ul><li>Check-in or check-out files within EA using the VSTS Configuration Management system </li></ul></ul>
    20. 20. EA Integration with Visual Studio Team System - Roadmap <ul><li>EA pre-populates a VS Application Diagram (AD) from a UML deployment diagram </li></ul><ul><li>EA renders VSTS test results on a UML diagram </li></ul><ul><ul><li>EA renders on a diagram test coverage data from the results of the test suites executed in VSTS </li></ul></ul><ul><li>EA shows VSTS test case dependencies </li></ul><ul><ul><li>EA visualizes the VSTS test cases and their dependencies on a UML diagram </li></ul></ul>
    21. 21. Summary <ul><li>EA – A full lifecycle, UML 2.0 tool with support for .NET and other platforms </li></ul><ul><li>Objective – to bring detailed, traceable UML Models to all members of the .NET development team via Visual Studio and VSTS </li></ul><ul><li>Beta integration into Visual Studio 2005 by VS product launch date. Release in early 2006 </li></ul><ul><li>Integration with Visual Studio Team System towards the end of first quarter 2006 </li></ul>
    22. 22. Q & A <ul><li>Questions </li></ul><ul><li>Suggestions </li></ul><ul><li>Feedback </li></ul>Please contact: Bob Roth (Sparx Systems) [email_address] or Frank Truyen (Cephas Consulting) [email_address]