eclipse modeling for wtp

33
Eclipse Modeling for WTP Etienne Juliot [email protected]

Upload: etienne-juliot

Post on 05-Jul-2015

2.358 views

Category:

Technology


0 download

DESCRIPTION

These slides have been presented at Eclipse Summit Europe 2010. This talk will show how Eclipse Modeling technologies could be used to design JavaEE applications. It will be illustrated by: * EMF to design a DSL for WebApp, * GMF to design screens, services, entities, enterprise architectures * Acceleo to generate to Spring, Struts, Hibernate and others * ATL to import UML/Togaf models The story of a travel agency is used as an exemple. It show how to create a simple DSL, how to create my own graphical workbench with Obeo Designer, and how to integrate this application inside a Togaf compatible architecture. It will show how WTP and EMP fit well together for developers, architects and designers. It will also prove with the same model how easy are the evolution management with the updating of a generator to target a new JavaEE framework.

TRANSCRIPT

Page 1: Eclipse Modeling for WTP

Eclipse Modeling for WTP

Etienne Juliot [email protected]

Page 2: Eclipse Modeling for WTP

OK, you go to ESE. And now?

Page 3: Eclipse Modeling for WTP

How to industrialiseJavaEE development?

Page 4: Eclipse Modeling for WTP

© C

opyr

ight

201

0 O

beo

My goals for today:

Use a DSL to find the intention

Generate JavaEE

Create my own designers

Integrate the result in an Enterprise Architecture

Page 5: Eclipse Modeling for WTP

Lets try this story:

We are a travel agency,

and we want to create an

enterprise blog

Page 6: Eclipse Modeling for WTP

© C

opyr

ight

201

0 O

beo

Lets do it by hand

Page 7: Eclipse Modeling for WTP

Simplify

Page 8: Eclipse Modeling for WTP

© C

opyr

ight

201

0 O

beo

Lets take a JavaEE file exemple and search the "Intention"?

Page 9: Eclipse Modeling for WTP

© C

opyr

ight

201

0 O

beo

Hum, I find something

Page 10: Eclipse Modeling for WTP

© C

opyr

ight

201

0 O

beo

How to describe it?

or

Page 11: Eclipse Modeling for WTP

© C

opyr

ight

201

0 O

beo

We can create our own "generator by convention"

Conventions exemples :

An Entity is identify by a technical ID associated to a Sequence

The name of the table is by default the name of the Entity

Page 12: Eclipse Modeling for WTP

© C

opyr

ight

201

0 O

beo

Page 13: Eclipse Modeling for WTP

13

© C

opyr

ight

201

0 O

beo

A little bit of syntax

Page 14: Eclipse Modeling for WTP

14

© C

opyr

ight

201

0 O

beo

A long history

From Acceleo.org in 2006...

...to Eclipse.org in 2009

Version 3.0 is part of the Eclipse Helios release train

Page 15: Eclipse Modeling for WTP

© C

opyr

ight

201

0 O

beo

And now, my travelAgency Blog is based on 3 parts

Page 16: Eclipse Modeling for WTP

© C

opyr

ight

201

0 O

beo

So, I need 3 DSLs

Page 17: Eclipse Modeling for WTP

17

© C

opyr

ight

201

0 O

beo

My DSL doesn't need JavaEE skills

Page 18: Eclipse Modeling for WTP

18

© C

opyr

ight

201

0 O

beo

Traceability: the solution

to look at the right place

Page 19: Eclipse Modeling for WTP

19

© C

opyr

ight

201

0 O

beo

Graphical modeling

"Domain-specific modeling (DSM) is a software engineering methodology for designing and developing systems, such as computer software. It involves systematic use of a graphical domain-specific language (DSL) to represent the various facets of a system."

Page 20: Eclipse Modeling for WTP

20

© C

opyr

ight

201

0 O

beo

Page 21: Eclipse Modeling for WTP

21

© C

opyr

ight

201

0 O

beo

Which one is the easiest to understand?

Page 22: Eclipse Modeling for WTP

© C

opyr

ight

201

0 O

beo

Yet another fu....ing meta-blabla?

Keep it simple

Yes: MD and Agile are friends

Page 23: Eclipse Modeling for WTP

Where do I find data ?

How do I managed data ?

Page 24: Eclipse Modeling for WTP

© C

opyr

ight

201

0 O

beo

Enterprise Architecture

Togaf

Page 25: Eclipse Modeling for WTP

© C

opyr

ight

201

0 O

beo

With EA, applications are like peoplethat speak the same language

AccountantsApplication

Island

ManagersApplication

Suburb

CEOApplication

Suburb

IS TeamApplication

Suburb

Models

Each application uses modelsthat are easily readable andtransformable by otherapplications

Page 26: Eclipse Modeling for WTP

How create bridges for my legacy?

Page 27: Eclipse Modeling for WTP

27

© C

opyr

ight

201

0 O

beo

And now: 3 DSLs for WTP

Page 28: Eclipse Modeling for WTP

© C

opyr

ight

201

0 O

beo

Import from an UML model

UML

DSL

Page 29: Eclipse Modeling for WTP

© C

opyr

ight

201

0 O

beo

Your system is now used throw differents Viewpoints

Page 30: Eclipse Modeling for WTP

30

© C

opyr

ight

201

0 O

beo

Page 31: Eclipse Modeling for WTP

31

© C

opyr

ight

201

0 O

beo

Conclusion: Modeling help to create

YOUR workbench adapted to

YOUR architecture designed with

YOUR vocabulary

Page 32: Eclipse Modeling for WTP

32

© C

opyr

ight

201

0 O

beo

Page 33: Eclipse Modeling for WTP

© C

opyr

ight

201

0 O

beo Questions?