EA getting started

Source: Internet
Author: User
Tags perforce xmi file

EA advantages:

Life Cycle software design solution-enterprise impact ect is a target-oriented software system. It covers the entire system development cycle. In addition to development models, it also includes Transaction Process Analysis, use case requirements, dynamic models, components and layout, system management, and non-functional requirements, user interface design, testing, and maintenance.

Provide the entire team with advanced UML 2.0 modeling tools

EA provides users with a high-performance and intuitive working interface, and works with the latest UML 2.0 specifications to create advanced software modeling solutions for desktop computer staff, Development and Application teams. This product is rich in features and highly cost-effective. It can be used to equip your entire team, including analysts, testers, project managers, quality control and deployers.

Rich features System Design

Enterprise impact ect is a complete UML analysis and design tool that completes the entire software development process from requirement collection through step analysis, model design to testing and maintenance. It is based on multi-user Windows platform graphics tools to help you design sound and maintainable software. In addition, it also contains high-quality document output with flexible features. The user guide can be obtained online.

Fast, stable, and high performance

The unified modeling language can build robust and traceable software system models in a consistent manner, and EA provides an easy-to-use, fast, and flexible working environment for the building process.

End-to-end tracking

Enterprise impact ect provides comprehensive traceability throughout the process from requirement analysis, software design to execution and deployment. Combined with built-in task and resource allocation, the project management personnel and the QA Team can obtain the information they need in a timely manner so that the project can proceed as planned.

Built on UML 2.0

With UML (Unified Modeling Language), you can build a rigorous and traceable software system model. EA provides a fast and convenient application environment for UML to build software models. It supports the new uml2.0 standard defined by OMG.

The foundation of Enterprise impact ect is built on the UML 2.0 specification. In addition, the use of UML profile can extend the scope of modeling, while Model Verification ensures its integrity. The product contains free extensions for BPMN and Eriksson-penker profile, which canProgram, Information and workflow are combined into a model.

With EA, designers can take full advantage of 13 UML 2.0 chart functions-ea supports all 13 types of UML 2.0 charts and related chart elements, including:

Structural charts: classes, objects, compositing elements, packages, components, and layout;

Behavior chart: Use Case, communication, sequence, InterAction overview, behavior, status, and sequence;

Expansion: Analysis (simple behavior), customization (demand, change, and uidesign ).

EA provides tools to track dependencies and support large models to help you manage large and complex projects. It also provides tools including CVs or SCC, with time snapshots as the baseline, you can track model changes through comparison to achieve version control. A project window similar to explorer provides an intuitive and high-performance working interface.

EA also contains a WYSIWYG template editor that provides powerful document generation and reporting tools to generate complex and detailed reports, the report can provide the required information in the format required by the company or the customer.

EA hasSource codeSupports multiple common languages, including C ++, C #, Java, Delphi, and VB. net, Visual Basic, and PHP. In addition, you can obtain the free added components of CORBA and python. EA provides a built-in SourceCodeEditor with syntax highlighting to ensure quick navigation and searching for your model source code in a consistent working environment. For eclipse or Visual Studio. net Staff, sparx systems also provides lightweight link tools for these IDE, you can model in EA, and then directly jump to your preferred editor for further development of source code. The code generation template also allows you to customize the generated source code to conform to the company's specifications.

EA also provides reverse engineering support for most software development languages and database architectures to visualize your applications from source code, Java. JAR file or even. net binary assembly language to obtain the complete framework. Import the framework and library code to maximize reuse of existing investments.

EA also provides transform templates, which are simple for editing and development, and supports advanced model-driven architecture (MDA ). With the built-in DDL, C #, Java, EJB, and XSD transformations, you can start with a simple "platform independent model" to build complex solutions, it is also positioned in the specialized platform model (PSM ). One Pim can be used to generate and synchronize multiple MSPs, significantly improving productivity.

Main features

UML design and construction;

Use Cases, logic, dynamic and physical models;

Customize Process Model extensions or others;

High-quality MS Word-compatible documents;

Intuitive and convenient applications;

Low license fee;

Data Modeling, forward DDL database engineering, and reverse ODBC database engineering;

Multiple users (professional and shortate edition );

Forward or reverse code Engineering (professional and reverse ate edition)-supports Java, C #, C ++, VB. NET, Delphi, Visual Basic, and PHP;

XML import/export is easy;

Spelling check;

New Features

RTF wysiwysiwyg template editor and report builder-ea has enhanced the feature of generating RTF documents in its Enterprise and Professional editions by using a template driver to generate RTF documents, users can customize the appearance and content of their documents at the Element Level of the model.

Version Control Improvement-the version control is significantly improved and supports control over nested software packages. In this way, the nested software packages will not be overwritten when the base version control software package is imported. The loading time of large files is significantly shortened, and the support for accurev and perforce is also improved.

Baseline support-the Enterprise Edition provides new baseline functions. In the current model, you can save a complete software package branch as a compressed XMI file. With this baseline function, you can compare the current package with the stored baseline package.

MDA style conversion-the MDA style conversion function is provided in EA Professional Edition and Enterprise Edition. The MDA conversion uses a template-driven method to convert the PIM (platform-independent model) element to the SMS (platform-related model) element.

Comparison tool (diff)-This feature is available in the Professional Edition and Enterprise Edition, allowing you to compare the model architecture and the stored XMI. The comparison includes the baseline created by the baseline function, the ea xmi file saved on the hard disk, and the version controlled by ea xmi.

Import binary modules-ea Professional Edition and Enterprise Edition allow reverse engineering on the binary modules of Java archive (. Jar),. net pe files * (.exe,. dll), and intermediate language (. Il.

Build and run-the EA professional and terraate versions support this feature, providing developers with integrated tools to integrate UML development and modeling with source code development and compilation. Nunit and JUnit test classes can be generated from the source class using the MDA transformation, and the test process is directly integrated into ea IDE, you can also integrate UML and modeling into building, testing, running, and deploying programs.

MOF -- the MOF 1.3 and 1.4 standards allow export packages to XMI. Assign a fixed type of metadata model to the package to create a MOF model. The MOF model can also be output as a MOF 1.3 or 1.4 XMI File Specification.

Project Discussion Forum-ensure that the entire team is always up-to-date. You can use the discussion forum to discuss the development and progress of your project. For the convenience of the discussion, you can also classify the project content and define the title. You can send a message thread or response message thread to a title. In the forum message board, you can link to different elements of the chart. You can also use other models in the current model discussion forum.

Web Service-supports forward and backward engineering of W3C Web Service Definition Language (WSDL. Allows you to create, generate, and input WSDL files.

XML architecture (XSD)-supports forward and reverse engineering of W3C XML architecture (WSDL. Supports modeling, generating, and inputting XML architectures.

The specified ate edition is located in a large-scale development group. It supports all features of desktop and professional versions, such as connecting to SQL Server, MySQL, Oracle9i, PostgreSQL, MSDE, Adaptive Server Anywhere and MS access backends for Knowledge Base sharing. It also supports user security, user registration, user groups, replication, and element-level user synchronization. This version also supports the MDG technology and allows you to obtain more resources.

The Professional Edition is intended for Working Groups and developers. It supports project sharing through replication and network files. The Professional edition also contains ActiveX interfaces to query EA projects and extract information in XMI format. It fully supports code import/export, synchronization of Model Elements and source code, and reverse engineering of SQL Server, MySQL, and Oracle9i, as well as support for MDG technology.

The desktop edition is designed for individual users to generate UML analysis and design models. In addition to code Engineering (source code and DLL import/export), active-X interface, and multi-user model sharing, it can implement all functions of the Professional Edition.

EA Quick Start

I.Introduction

Lifecycle software design plan-- Enterprise effecect is a target-oriented software system. It covers the entire system development cycle. In addition to development models, it also includes Transaction Process Analysis, use case requirements, dynamic models, components and layout, system management, and non-functional requirements, user interface design, testing, and maintenance.
Provides the entire team with an advanced UML 2.0 modeling tool.

EA provides users with a high-performance and intuitive working interface, and works with the latest UML 2.0 specifications to create advanced software modeling solutions for desktop computer staff, Development and Application teams. This product is rich in features and highly cost-effective. It can be used to equip your entire team, including analysts, testers, project managers, quality control and deployers.

Rich System Design

Enterprise impact ect is a complete UML analysis and design tool that completes the entire software development process from requirement collection through step analysis, model design to testing and maintenance. It is based on multi-user Windows platform graphics tools to help you design sound and maintainable software. In addition, it also contains high-quality document output with flexible features. The user guide can be obtained online.

Fast, stable, and high performance

The unified modeling language can build robust and traceable software system models in a consistent manner, and EA provides an easy-to-use, fast, and flexible working environment for the building process.
End-to-end tracking

Enterprise impact ect provides comprehensive traceability throughout the process from requirement analysis, software design to execution and deployment. Combined with built-in task and resource allocation, the project management personnel and the QA Team can obtain the information they need in a timely manner so that the project can proceed as planned.
Built on UML 2.0

With UML (Unified Modeling Language), you can build a rigorous and traceable software system model. EA provides a fast and convenient application environment for UML to build software models. It supports the new uml2.0 standard defined by OMG.
The foundation of Enterprise impact ect is built on the UML 2.0 specification. In addition, the use of UML profile can extend the scope of modeling, while Model Verification ensures its integrity. The product contains free extensions for BPMN and Eriksson-penker profile, which can combine business programs, information, and workflow into a model.
Using EA, designers can take full advantage of 13 UML 2.0 chart functions-ea supports all 13 types of UML 2.0 charts and related chart elements;

Including:

Structural charts: classes, objects, compositing elements, packages, components, and layout;
Behavior chart: Use Case, communication, sequence, InterAction overview, behavior, status, and sequence;
Expansion: Analysis (simple behavior), customization (demand, change, and uidesign ).

EA provides tools to track dependencies and support large models to help you manage large and complex projects. It also provides tools including CVs or SCC, with time snapshots as the baseline, you can track model changes through comparison to achieve version control. A project window similar to explorer provides an intuitive and high-performance working interface.
EA also contains a WYSIWYG template editor that provides powerful document generation and reporting tools to generate complex and detailed reports, the report can provide the required information in the format required by the company or the customer.

EA has both the forward and reverse engineering capabilities of source code and supports multiple common languages, including C ++, C #, Java, Delphi, and VB. net, Visual Basic, and PHP. In addition, you can obtain the free added components of CORBA and python. EA provides a built-in source code editor with syntax highlighting to ensure quick navigation and search for your model source code in a consistent working environment. For eclipse or Visual Studio. net Staff, sparx systems also provides lightweight link tools for these IDE, you can model in EA, and then directly jump to your preferred editor for further development of source code. The code generation template also allows you to customize the generated source code to conform to the company's specifications.

EA also provides reverse engineering support for most software development languages and database architectures to visualize your applications from source code, Java. JAR file or even. net binary assembly language to obtain the complete framework. Import the framework and library code to maximize reuse of existing investments.

EA also provides transform templates, which are simple for editing and development, and supports advanced model-driven architecture (MDA ). With the built-in DDL, C #, Java, EJB, and XSD transformations, you can start with a simple "platform independent model" to build complex solutions, it is also positioned in the specialized platform model (PSM ). One Pim can be used to generate and synchronize multiple MSPs, significantly improving productivity.

Main features

UML design and construction;
Use Cases, logic, dynamic and physical models;
Customize Process Model extensions or others;
High-quality MS Word-compatible documents;
Intuitive and convenient applications;
Low license fee;
Data Modeling, forward DDL database engineering, and reverse ODBC database engineering;
Multiple users (professional and shortate edition );
Forward or reverse code Engineering (professional and reverse ate edition)-supports Java, C #, C ++, VB. NET, Delphi, Visual Basic, and PHP;
XML import/export is easy;
Spelling check;
New Features

RTF wysiwysiwyg template editor and report builder-ea has enhanced the feature of generating RTF documents in its Enterprise and Professional editions by using a template driver to generate RTF documents, users can customize the appearance and content of their documents at the Element Level of the model.

L version control improvement-the version control is significantly improved and supports control over nested software packages. In this way, the nested software packages will not be overwritten when the base version control software package is imported. The loading time of large files is significantly shortened, and the support for accurev and perforce is also improved.

L baseline support-the Enterprise Edition provides new baseline functions. In the current model, users are allowed to save a complete software package branch as a compressed XMI file. With this baseline function, you can compare the current package with the stored baseline package.

L MDA style conversion-the MDA style conversion function is provided in EA Professional Edition and Enterprise Edition. The MDA conversion uses a template-driven method to convert the PIM (platform-independent model) element to the SMS (platform-related model) element.
Comparison tool (diff)-This feature is available in the Professional Edition and Enterprise Edition, allowing you to compare the model architecture and the stored XMI. The comparison includes the baseline created by the baseline function, the ea xmi file saved on the hard disk, and the version controlled by ea xmi.

L import binary module-ea Professional Edition and Enterprise Edition allow for Java archive (. jar ),. net pe files * (.exe ,. DLL) and intermediate language (. il) binary module for reverse engineering.

L build and run-the EA professional and initate versions support this function, providing developers with integrated tools to integrate UML development and modeling with source code development and compilation. Nunit and JUnit test classes can be generated from the source class using the MDA transformation, and the test process is directly integrated into ea IDE, you can also integrate UML and modeling into building, testing, running, and deploying programs.

L MOF-the MOF 1.3 and 1.4 standards allow export of packages to XMI. Assign a fixed type of metadata model to the package to create a MOF model. The MOF model can also be output as a MOF 1.3 or 1.4 XMI File Specification.

L Project Discussion Forum-ensure that the entire team is always up-to-date. You can use the discussion forum to discuss the development and progress of your project. For the convenience of the discussion, you can also classify the project content and define the title. You can send a message thread or response message thread to a title. In the forum message board, you can link to different elements of the chart. You can also use other models in the current model discussion forum.

L Web Service-supports forward and backward engineering of W3C Web Service Definition Language (WSDL. Allows you to create, generate, and input WSDL files.

L XML architecture (XSD)-supports forward and reverse engineering of W3C XML architecture (WSDL. Supports modeling, generating, and inputting XML architectures.

The specified ate EditionIt is located in a large-scale development group. It supports all features of desktop and professional versions, such as connecting to SQL Server, MySQL, Oracle9i, PostgreSQL, MSDE, Adaptive Server Anywhere and MS access backends for Knowledge Base sharing. It also supports user security, user registration, user groups, replication, and element-level user synchronization. This version also supports the MDG technology and allows you to obtain more resources.

The Professional EditionPositioned for Working Groups and developers. It supports project sharing through replication and network files. The Professional edition also contains ActiveX interfaces to query EA projects and extract information in XMI format. It fully supports code import/export, synchronization of Model Elements and source code, and reverse engineering of SQL Server, MySQL, and Oracle9i, as well as support for MDG technology.

The desktop EditionIt is prepared for individual users and can generate UML analysis and design models. In addition to code Engineering (source code and DLL import/export), active-X interface, and multi-user model sharing, it can implement all functions of the Professional Edition.

II.Create a project

Click "file-> new project-> name save-> select the type to be created in" select model "(-1)-> click" OK "to confirm, page 2 is displayed.

Figure-1

Business Process

Business Process

Requirements

Requirement Analysis

Use Case

Use Cases

Domain Model

Domain Model

Class

Class Design

Database

Database Design

Component

Components

Deployment

Deployment

Testing

Test

Maintenance

Maintenance

Project Management

Project Management

User Interface

User Interface

Table-1

Figure 2

III.Some basic general settings

3.1Set the default code Environment

Click "tool-> options-source code engineering-> default language for code generation-> C #" 3 in sequence:

Figure-3

Click Close to exit.

3.2Set default database

Choose tool> Options> code editors> default database> SQL Server 2005"

4:

Figure 4

4.ClassModel

4.1.Create a class"Model

Choose "file-> new project-> name save-> select" class "(-5) in" select model)

Figure 5

Click OK to go to the design page.

On the left side of the design page is the Toolbox (6)

Figure 6

Class Elements

Package

Package

Class

Class

Interface

Interface

Enumeration

Enumeration

Table

Table

Signal

Description of object Communication Signal

Association

Association

Class relationships

Associate

Implementation

Generalize

Generalization

Compose

Composition

Associate class

Association class

Assembly

Assembly

Realize

Implementation

Nesting

Nesting

Package merge

Package Merging

Package Import

Package Import

Common

Note

Note

Constraint

Constraints

Document

Document: Additional Document attachment

Artifact

Manual: indicates any information block of any system

Requirement

Requirement Description

Issue

Problem description

Change

Change description

Boundary

Demarcation Line

Dependency

Dependency

Realize

Implementation

Trace

Tracking

Information Flow

Data Stream

Note Link

Annotation Link

Table-2

. Use aliases for the "class" object created in the Model

Click in the toolbox, and then click OK at the right position. Then, the attribute window is displayed (7)

Figure-7

In the "name" column, enter the class name "test" and enter an alias "test" in "alias ". After setting other settings, confirm to exit the Properties window.

We found that the name "class" is "test" by default, but if we need to display the alias, we need to make the following settings;

Find the class dives in the package where the class test is located, right-click and select "propreties ..." Enter the window shown in figure 8;

Figure-8

Select "digoal" to enter the window shown in Figure 9;

Figure-9

Check "use alias if available". The alias is displayed.

5.Code Generation

5.1.Generate C for the design class of the entire package# Format code

Choose project> source code Engineering> Generate package source code... (10 )"

Figure-10

Go to the page shown in Figure 11:

Figure-11

Click Generate to convert all classes in the package into C # files in batches.

5.2.Automatically generate a single c# Code

Right-click the "class" of the file to be converted to C #, and select "generate code…" from the menu ..." Alternatively, use the shortcut key "F11" to bring up the menu shown in 12:

Figure-12

Click location 1 in the figure, select the storage path of the file to be generated, and select the language of the file to be generated at location 2 (click the drop-down menu to select C #), click "generate" at the third position to generate the code.

6.Design Model and generated Code Synchronization

After the C # code is generated, We will synchronize the design model with the generated code as follows:

Right-click the object for Code Synchronization and select "Synchronize model with Code ..." Alternatively, use the shortcut key "F7" to bring up the dialog box shown in 13:

Figure 13

Click "yes". The generated code is synchronized with the design model.

7.Database model, requirement model, component, deployment

7.1.Create a data table;

Click "file-> new project..." in sequence... -> Enter a name and save it.-> select database on the right (-14 )"

Figure 14

Click "OK" to enter the design page, as shown in "project window" 15:

Figure-15

Tools 6 and 2 in the toolbar and toolbar are shown in table 2.

7.2.Create a data table

Click in the toolbox and move the mouse to the work area. The mouse changes to shape. Click the mouse and the window shown in 16 appears.

Figure 16

After some basic table settings (such as the table name "name"), click "Table detail" to enter the table field design (figure 17 ),

Figure-17

Click "columns/attributes" marked by red circles in Figure 14 to enter the table field settings. 18.

Figure-18

Set the table field name "name", data type "Data Type", primary key "primary key", whether it is null "not null", and so on. Click Save to save, click "new" to create a new table, and set the fields one by one.

8.Document generation

8.1.textDocument generation

Choose project> documentation> Rich Text Format (RTF) report... (19) "or directly use the shortcut key" F8"

Figure-19

Click "output to file" and select the path to generate the text document.

8.2.html document generation

Choose project> documentation> HTML report... (16) or use the shortcut key shift + F8 to pop up the window shown in Figure 20;

Figure-20

Click Generate to generate the settings.

9.Import the packageXMLForm

Click "Project-> XML Schema-> Import XML schema" 21

Figure-21

After "FILENAME", click confirm the name and path of the generated XML document, and then click "import ".

10.The method of bending, automatic layout, and changing the connection point of a line

Right-click "solid line" in the "activity diagram" (it must be solid line, and the dotted line does not work), click "set line style ", drag the center point to adjust the bending of the line.

Auto Routing)

Direct (change the connection point of the line)

11.Draw a timely Sequence Chart of the activity chart

11.1.Draw activity diagrams

Right-click the created package and choose new... -> New digoal... -> Select "UML behavioral" on the left of the pop-up window (22)

Figure 22

In the "dipolictypes" window on the right of "New dives", select "activity" and click OK to save and exit.

In this case, we find that the "Project Browser" window adds the object "class medel" as shown in 23 ".

Figure-23

In the "toolbox" on the left, we can see related tools. (24 and table 3)

Figure-24

Activity

Activity

Activity Status

Structured Activity

Nested Activity

Action

Action

Partition

Partition

Object

Object

Central buffer Node

Central buffer Node

Datastore

Data Storage

Demo-

Judgment

Merge

Merge

Send

Send

Initial

Initial

Final

Final

Flow final

Stream end

Region

Region

Exception

Exception

Fork/join

Concurrency

Fork/join

Concurrency

Activity relation...

Control Flow

Control Flow

Object Flow

Object stream

Interrupt Flow

Interrupted

Common

Note

Note

Constraint

Constraints

Document

Document: Additional Document attachment

Artifact

Manual: indicates any information block of any system

Requirement

Requirement Description

Issue

Problem description

Change

Change description

Boundary

Demarcation Line

Dependency

Dependency

Realize

Implementation

Trace

Tracking

Information Flow

Data Stream

Note Link

Annotation Link

Table-3

11.2.Draw a Sequence Chart

Right-click the created package and choose new... -> New digoal... -> Select "UML behavioral" (25) on the left of the pop-up window)

Figure-25

In the "dipolictypes" window on the right of "New dipes", select "sequence" and click OK to save and exit. In this case, we find that the "Project Browser" window adds a class medel object shown in 26 ".

Figure-26

In the "toolbox" on the left, we can see related tools. (27 and table 4)

Figure-27

Interaction Elements

Actor

Role

Lifeline

Lifeline

Boundary

Control

Control

Entity

Entity

Fragment

Fragment

Endpoint

Endpoint

Dimo-gate

State/Continuation

Delay status

Interaction relationships

Message

Message

Self-message

Security Message

Call

Call

Recursion

Recursion

Common

Note

Note

Constraint

Constraints

Document

Document: Additional Document attachment

Artifact

Manual: indicates any information block of any system

Requirement

Requirement Description

Issue

Problem description

Change

Change description

Boundary

Demarcation Line

Dependency

Dependency

Realize

Implementation

Trace

Tracking

Information Flow

Data Stream

Note Link

Annotation Link

Table-4

11.3.How to add comments

Click the icon in toolbox, and then left-click the orientation of the comment you want to add in workspace. The window shown in-28 is displayed;

Figure-28

Enter the comments in the blank area, and then click "OK" to return to the effect shown in-29.

Figure-29

11.4.Set the font style in the graph

After creating an element in the graph, use the following method to change the style of the element. Figure-30 adds several elements to the 11.2 sequence diagram.

Figure-30

Next we will change the font style in the comment.

The mouse selects the comment object, which is the comparison before and after the comment object;

Figure-31

Figure-32

11.5.Copy the elements of a graph to another graph.

First, create a new graph, and then drag the elements to be copied from the left mouse click in the project browser to the New Graph without any guidance.

From: http://www.cnblogs.com/xianspace/archive/2009/02/28/1400577.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.