3 April SOA: Services Oriented Architecture MDA: Model Driven Architecture.

11
3 April SOA: Services Oriented Architecture MDA: Model Driven Architecture

Transcript of 3 April SOA: Services Oriented Architecture MDA: Model Driven Architecture.

Page 1: 3 April SOA: Services Oriented Architecture MDA: Model Driven Architecture.

3 April

SOA: Services Oriented Architecture

MDA: Model Driven Architecture

Page 2: 3 April SOA: Services Oriented Architecture MDA: Model Driven Architecture.

SOA

Is it just good architecture? Potential value

Weaker designers Consistency across organizations Client-oriented

Page 3: 3 April SOA: Services Oriented Architecture MDA: Model Driven Architecture.

Relationship Between Model and Code

Page 4: 3 April SOA: Services Oriented Architecture MDA: Model Driven Architecture.

What is MDA? Modelling languages as declarative

programming languages Higher level of abstraction

Separation of design from implementation

Page 5: 3 April SOA: Services Oriented Architecture MDA: Model Driven Architecture.

OMG Model Oriented Architecture

Technologies

Platforms

Services

Domains

Page 6: 3 April SOA: Services Oriented Architecture MDA: Model Driven Architecture.

Program generation from models MDA is the latest Earlier

CASE-tools in 1980’s object-oriented IDEs in 1990’s UML tools …

Page 7: 3 April SOA: Services Oriented Architecture MDA: Model Driven Architecture.

• New orientation for OMG activities– New step beyond the Object

Management Architecture (OMA)• Models are centric!

– Target middleware is not important!• Focus on Platform Independent Models (PIM)

– Without middleware details• Abstract Platform Specific Models (PSM)

– Including all middleware details• Define PIM to PSM transformations• Preserving PIM when new middleware appears!

Model Driven Architecture

Page 8: 3 April SOA: Services Oriented Architecture MDA: Model Driven Architecture.

Building an MDA Application

Start with a Platform-Independent Model (PIM) representing business functionality and behavior, undistorted by technology details.

Platform-Independent

Model

A Detailed Model, stating Pre- and Post-Conditions in Object

Constraint Language, and Semantics in an action language

Page 9: 3 April SOA: Services Oriented Architecture MDA: Model Driven Architecture.

Generating Platform-Specific Model

Platform-Independent

Model

Map a PIM to Specific Middleware

Technologies via OMG Standard Mappings

MDA tool applies a standard mapping to generate Platform-Specific Model (PSM) from the PIM. Code is partially automatic, partially hand-written.

CORBA Model

Page 10: 3 April SOA: Services Oriented Architecture MDA: Model Driven Architecture.

Mapping to Multiple Deployment Technologies

Platform-Independent

Model

CORBA Model

MDA tool applies an standard mapping to generate Platform-Specific Model (PSM) from the PIM. Code is partially automatic, partially hand-written.

Java/EJBModel

XML/SOAPModel

OtherModel

Map a PIM to Many Middleware

Technologies via OMG Standard Mappings

Page 11: 3 April SOA: Services Oriented Architecture MDA: Model Driven Architecture.

Generating Implementations

Platform-Independent

Model

CORBA Model

MDA Tool generates all or most of the implementation code for deployment technology selected by the developer.

Java/EJBModel

CORBA

XML/SOAP

Model

Java/EJB XML/SOAP Other

OtherModel

Map PSM to application interfaces, code, GUI

descriptors, SQL queries, etc.