Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was...

32
Linking Business Process Modeling to SOA and UML 2.0 with Together ® technologies Kari Alho Borland Finland Oy

Transcript of Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was...

Page 1: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Linking Business Process Modeling to SOA andUML 2.0 with Together® technologies

Kari AlhoBorland Finland Oy

Page 2: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

stripe.jpg

Agenda

The Need for a Visual MDA-capable Modeling Platform

Together Overview

Business Process Modeling

Together Demonstration

Page 3: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

The Need for a VisualMDA-capable Modeling Platform

Page 4: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Significant Challenge:Communication And Process

Visual Models can fill the Gaps Between Individual Roles

BusinessAnalyst

Architect

Developer

QA Tester

ReleaseManager Deliver

Test

Develop

Design

Define

Portfolio ManagementPlanner

Page 5: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Compounding Challenges

DefineDefine

DesignDesign

DevelopDevelop

TestTest

C++/Linux®Microsoft® .NET

DeliverDeliverDeliverRelease Manager

TestQA Tester

DevelopDeveloper

DesignArchitect

DefineBusiness Analyst

Portfolio Management

Portfolio Management

Portfolio ManagementPlanner

Complexity And Heterogeneity

J2EE™

MDA helps address the challenge of complex heterogeneous solutions

Page 6: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Importance of Modeling in Software Delivery

Modeling makes software development more successful, efficientA step beyond higher level programming languagesMinimizes the effort to create and understand IT systems/applicationsReduces the risk of project failure Enhances communication across the lifecycle and with distributed teamsReduces costs through reuseHelps connect development and business requirements

But the industry needs better and easier modelingUML™ has stigma of being overly complex, and difficultToo few organizations/teams fully leveraging modeling and UML™MDA® hype has exceeded market realities and vendor capabilities

The industry needs visual, MDA-capable modeling products!

Page 7: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Together Overview

Page 8: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

What is Together®?

Model-Driven Architecture™ (MDA) Support UML™ 2.0 Modeling with OMG’s QVT and OCL 2.0

QA -Audits & Metrics for Code and ModelImprove quality and maintainability

Business Process ModelingBusiness Process Modeling Notation (BPMN)

Modeling with LiveSource™

Visualization with accuracy

Documentation GenerationAutomated and always up-to-date

Design Pattern SupportPromote reuse and improve quality

Page 9: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Thought Leaders in Model-Driven Architecture™

Borland® is applying 20+ years of development experience to making practical use of modeling standards in the Together product family

Borland® contributes to open-source projects like Eclipse GMF (Graphical Modeling Framework)

Borland® leads the creation of key standards such as OCL, UML™, QVT, and MDA®.

Together is the first commercial tool to implement Query / View / Transformation (QVT) specificationA non-proprietary Model-to-Model transformation standard

Multi-platform SupportRuns on major platforms (Windows™, Mac OS, Linux, Unix)

Eclipse 3.2, JBuilder, Microsoft .NET 2.0LiveSource™ supports multiple languages (Java 5, C++, C#, VB.NET, CORBA/IDL)

Page 10: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Quality Assurance

Audits and metrics help automate the assessment of software design and implementation quality

Now for code and modelsDefined using OCL for models

AuditsEnforce coding and modeling standardsDetect deviation from established best-practicesStreamline code reviews

MetricsQuantitative OO design analysisImprove maintainabilityGuide refactoring

Page 11: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Business Process Modeling

Bridge the gap to BusinessUnderstand what you doCommunicate new directionsValidate the impact of IT projects

Together® now supports BPMNBusiness Process Modeling Notation captures processes graphically

Diagrams can be validatedBPMN can be used to generate BPEL4WSBPMN models can be transformed into UML

Page 12: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

UML™ Modeling with LiveSource™

Together® LiveSource™ technology:UML™ Class diagrams are a live rendition of the underlying source codeModel to Code. Code to Model. Always in sync.

IncrementalIncrementalCodeCode

GeneratorGenerator

LiveSource™

TogetherTogether®®

ParsingParsingEngineEngine

Page 13: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Together® Documentation Generation

Model and code always in sync +Documentation generated from model =

Documentation always accurate and up-to-date!Together® generates:

HTMLRTFTXTPDF

Custom template designerPost for team daily

Page 14: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Together® Design Pattern Support

Reuse existing, trusted solutionsGang of Four (GoF) patternsYour own custom patterns!

Page 15: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Together® Integrations

UML™ is a common language for:AnalystsArchitectsDevelopers

All can communicate with UML™

Together® integrates with:Requirements Management Tools

Borland® CaliberRM™

Rational® RequisitePro®

Telelogic® DOORS®

IDEsBorland® JBuilder® 2006Borland® C++BuilderX™

Microsoft® Visual Studio® 2005Eclipse 3.2

Analyst

Architect

Developer

Business Analyst

Page 16: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Business Process Modeling

Page 17: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Business is Driven by Process

Organizations have strategic objectives that they aim to achieve:Vision, Mission, Business plan

Stakeholders work subject to policies, regulations, and established practices to achieve these goals. The fundamental concept bringing these together is a business process.

Every business has a set of processes that define:how it develops products and services (Development, Change Management)how it generates revenue (Orders, Support)how business administration operates (HR, Finance, Legal)

Business Process Modeling captures these details Business processes are a strategic and critical assetTo be used as documented process for process improvementOr capturing the context and high-level requirements of a software system

Order Delivery InvoicingOrderprocessing

Start Event1

Page 18: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Business Process Modeling Notation

Created by Business Process Management Initiativethe Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations, or individuals.May 2004, the BPMN 1.0 specification2005, merged to OMGFeb 2006, OMG Final Adopted Specification

Main web site www.bpmn.orgBPMN defines Business Process Diagram (BPD)BPDs are an extension of common flowcharting

Page 19: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

BPMN Elements

BPMN defines four core categories of elements:1. Flow Objects

Events, Activities, Gateways2. Connecting Objects3. Swimlanes

Pools and Lanes which contain flow objects specific to participants and categories

4. ArtifactsData Objects, Text Annotations, Groups

Page 20: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

BPMN Flow Objects

Start Intermediate End

Event: an open circle, affect the flow of aprocess, usually have a cause (trigger) or an impact (result).An event can start, interrupt, or end the flow.

Activity: rounded rectangle; task

Gateway: diamond shape; controls fork or joinof flow

Page 21: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Event Types

Start and most Intermediate Events have “Triggers” that define the cause for the event. There are multiple ways that these events can be triggered.

End Events may define a “Result” that is a consequence of a Sequence Flow ending.

Page 22: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Activity Types (atomic)

Atomic task

Loop task

Multi-instance loop task

Compensation task

Page 23: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Activity Types (compound)

Collapsed Sub-Process (Independent or Referenced)

Embedded Sub-Process (same as referenced, but drawn inside)

Transaction

Embedded Sub-Process

Task1

Start

Task2

End

Transaction

Collapsed Sub-Process

Page 24: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Gateway Types

Exclusive Decision/Merge (XOR)

Inclusive Decision/Merge (OR)

Complex Decision/Merge

Parallel Fork/Join (AND)

Page 25: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Connecting Objects

Three types of Connecting Objects:

Sequence Flow: indicates order (sequence) of activities in a process

Message Flow: indicates flow between two process pools

Association: used to associate artifacts with flow objects; show inputs and outputs of activities

Page 26: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

BPMN Artifacts

Artifacts are used as an extension mechanism. Three standard types exist:

Data Object: shows how data is required or produced by activities

Annotation: provide textual comments

Group draws a visual boundary for documentation or analysis purposes but does not affect the model.

Page 27: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Sequence Flow Markers

ChickenEntree

Pie

Meat

DessertStart

Coffee

Default flow

Veggie

End

Sugar

Milk

Merge

Conditional flow

Restaurant Selections

Vegetarian = TrueVegetarian = True

MeatEater = TrueMeatEater = True

WithMilk = TrueWithMilk = True

WithSugar = TrueWithSugar = True

Page 28: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

BPMN Swimlanes

Swimlanes are used to visually organize work by role or responsibility. Two types:

1. Pool: represents a participant (organization) in a process; can also partition activities

2. Lane: a sub-partition within a Pool. Used to categorize and organize activities by organizational untis

Page 29: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

What is the Value of BPMN in Together?

Business Process Modeling projects are fully integrated into the Together product,• Integrated with requirements management and version control• Documentation Generation• Hyperlinks• MDA Model-to-Model and Model-to-Text Transformations (using

QVT)• Transform into software development models• Transform into deployment models (BPEL4WS)

• BPMN brings rigor into business process modeling.• Together fully integrates it within the development lifecycle.

Page 30: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Together 2006 R2: BPMN Demo

Page 31: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Summary

The industry needs visual, MDA-capable modeling products, that

Are standards-basedAre extensibleAre powerful with built-in examplesAre easy-to-useSupport the whole life-cycle from business models to codeHave rich integrations

Borland Together 2006 R2 is the solutionwww.borland.com/together

Page 32: Linking Business Process Modeling to SOA and UML 2.0 with ... · the Notation Working Group was formed in Aug 2001. It composed of members representing 35 companies, organizations,

Thank You!

Kari AlhoSenior Process Consultant

Tel: +358 9 7255 4560Fax: +358 9 6133 2462Mobile: +358 40 7700 [email protected]

Borland Finland OYTekniikantie 1202150 EspooFINLANDwww.borland.com