• Nenhum resultado encontrado

Agenda Agenda

N/A
N/A
Protected

Academic year: 2022

Share "Agenda Agenda"

Copied!
24
0
0

Texto

(1)

From Business Services to Web Services: an MDA

A h

Approach

Hugo Estrada, Itzel Morales-Ramírez, Alicia Martínez Oscar Pastor

Alicia Martínez, Oscar Pastor

Universidad Veracruzana

(2)

Agenda Agenda

 Introduction

 Problem description & proposed solution Introduction

 Problem description & proposed solution

 Objective

 The Web service generation method

 Conclusions

 Conclusions

(3)

Introduction Introduction

Internet has become an useful tool to support e- business.

Web services are the key technology to implement e- business systems.

REPORTS SEARCH ROSTER BANK BUY SELL

MANAGERIAL ACTIVITIES

FINANCIAL ACTIVITIES

BUSINESS ACTIVITIES

WS WS WS WS WS WS

INTERNET E-BUSINESS

(4)

Introduction Introduction

The main issues in defining Web services:

Current technology in Web service modeling is not considering main needs of the organizational context.

The lack of sources to allow the designers to reflect the business tasks and user’s requirements.

The lack of approaches to establish the correspondence between the business functionalities and those between the business functionalities and those implemented in Web services.

(5)

Agenda Agenda

 Introduction

 Problem description & Solution Problem description & proposed Solution

 Problem description & Solution

 Objective

Problem description & proposed Solution

 The Web service generation method

 Conclusions

 Conclusions

(6)

Problem description Problem description

Business models are not properly adapted.

The lack of methodological approaches to automatically generate services from the business’s automatically generate services from the business s features.

Establishment of a good specification of the processes that are involved in the enterprise context processes that are involved in the enterprise context.

(7)

The proposed solution The proposed solution

Our proposal is to use a service-oriented business model (that has been developed over i* ) to get WSDL descriptions accurately

Enterprise

Enterprise

Enterprise

service

Goal

serviceEnterprise

Customer

Goal Goal

Goal service Customer

Enterprise

Organizational Process Organizational Process 1

2

Organizational Process 3

Enterprise

(8)

Agenda Agenda

 Introduction

 Problem description & proposed solution

 Problem description & proposed solution

 Objective Objective

 The Web service generation method

 Conclusions

 Conclusions

(9)

Objective Objective

Obtain the WSDL specifications of Web services from service-oriented organizational models.

WSDL

BPEL

By using service-oriented organizational models, it can guarantee to obtain Web services within a

business environment.

(10)

Agenda Agenda

 Introduction

 Problem description & proposed solution

 Problem description & proposed solution

 Objective

 Web service generation method

 Conclusions

The Web service generation method

 Conclusions

(11)

The Web service generation method The Web service generation method

 MDA approach

Applying on Standards

Transformation language

Business service

d l

from to

metamodel M2T

MOFScript

source target

PIM PSM

(12)

The Web service generation method The Web service generation method

The proposed methodological approach consists of three phases:

(a) Define a business metamodel based on MOF (PIM) (b) Establish the transformation rules

(c) Use MOS tool to generate the WSDL and BPEL (PSM)

(13)

The Web service generation method The Web service generation method

(a) Define a business metamodel based on MOF

Service-oriented business models consider an enterprise as a service provider:

Well-defined functionalities

Self contained functionalities

Self-contained functionalities

Loosely functionalities

Coarse-grained functionalityg y

Global model Process model Protocol model

(14)

The Web service generation method The Web service generation method

(a) Define a business metamodel based on MOF

Service-oriented metamodel

Created with the primitives of the service-oriented business model.

To match the Web service with the business elements we foundTo match the Web service with the business elements, we found that a Web service corresponds to the process element.

The service element will represent the orchestration.

(15)

The Web service generation method The Web service generation method

(a) Define a business metamodel based on MOF

Business Service models

e-business primitives

Attributes Attribute description

Global model, composite service model

Aggregated service

Execution order Participation order in

business model

Description Details of the Service’s

offered

Basic Execution order Participation order in

Basic service

Execution order Participation order in

orchestration

Description Service’s details offered

Process model Process Transaction Indicates if it will be

deployed as a Web service Execution order Participationp order in

orchestration

Description Process’s details about what is done

Protocol model Task Transaction Indicates if it will be

deployed as an operation

Execution order Participation order in

orchestration

Type Resource’s type generated

Description Task’s details about the atom activity

Resource Type Resource’s type to be used

by a task

Description Resource’s details about

how is used by a task

(16)

The Web service generation method The Web service generation method

(b) Establishment of the transformation rules

Transformation rules in MOFScript .

Mapping the WSDL description of a Web Service from a MOS model.

Rules take the *.mos files as input models to generate WSDL specifications as output.

mmos.Process::portTypesOperations():String { varoperation:String =''

self.tasks->forEach(t:mmos.Task){

if(t.transacction == "T"){

operation= operation + '<!--' + t.description + '-->

Process

operation operation + <! + t.description + >

\n'

operation= operation + '<operation name="' + t.name.replace(" ", "").toLower() + '"> \n'+

'<input name="input1" message="tns:' + t.name.replace(" ", "").toLower() + 'Request"/> \n' +

Task WSDL

'<output name="output1" message="tns:' + t.name.replace(" ", "").toLower() + 'Response" /> \n' +

'</operation> \n'}}

result= operation }

(17)

The Web service generation method The Web service generation method

(b) Establishment of the transformation rules

mmos.BasicService::orchestrationBPEL() :String { process = '<!– Logic Orchestration\n' --> \n' +

' " i " \ '

Basic service '<sequence name="main"> \n' +

'<!-- Receive --> \n' +

'<receive name="receiveInput" partnerLink="client" \n' + ' portType="client:' + self.name.replace(" ", "").toLower() + '"

operation="process" \n' +

' variable="inputVariable" createInstance="yes"/> \n'

Basic service

variable= inputVariable createInstance= yes /> \n

self.processes->forEach(p:mmos.Process){

if(p.transaction=="T"){

order=1

p.tasks->forEach(t:mmos.Task){

Process

if(t.transaction=="T"){

if(t.type != "void"){ process = process + '<assign name="Assign_' + ordenAssign + '"> \n‘

Task

BPEL

(18)

The Web service generation method The Web service generation method

(c) Use MOS tool to generate the WSDL and BPEL

 Our system serializes the MOS model to XML

 It stores the models as files with extension *.mos

 It executes Eclipse V3 3 2 to apply the

 It executes Eclipse V3.3.2 to apply the transformation rules using the MOFScript plug-in.

WSDL BPEL

(19)

The Web service generation method The Web service generation method

(c) Use MOS tool to generate the WSDL and BPEL

Once the WSDL document is created, it just needs to be checked in well-formed XML syntax. The only property that needs to be changed is the address where the implementation is located

implementation is located.

(20)

The Web service generation method The Web service generation method

(c) Use MOS tool to generate the WSDL and BPEL

The BPEL document uses the Web services created from the WSDL descriptions generated with the tool.

We consider the BPEL documents as orchestration guides.

(21)

Agenda Agenda

 Introduction

 Problem description & proposed solution

 Problem description & proposed solution

 Objective

 The Web service generation method

 Conclusions Conclusions

 Conclusions Conclusions

(22)

Conclusions Conclusions

 A methodological approach is proposed to generate Web services from a business service g

model.

 By using a service oriented model at an

 By using a service-oriented model at an organizational level, it is possible to facilitate

h k f f b

the work of defining Web services under a

methodological approach such as MDA.

(23)

Conclusions Conclusions

 Future work

 The generation of complete functionality of theg p y Web service.

 Methods to use business service models toMethods to use business service models to precisely generate the choreography and orchestration of services

orchestration of services.

 Extension of the MOS Ecore metamodel to integrate all the modeling stages

integrate all the modeling stages.

(24)

Thank you for

your attention

=)

Referências

Documentos relacionados

Antes de prosseguirmos para a conclusão, reunimos no Mapa 13 (v. página seguinte) os diversos fenómenos observados nesta investigação: as 3 áreas linguísticas onde /ow/, /oj/

O parágrafo 12º destina-se a medidas relaciona- das à programas de preservação do meio-ambiente. Essas medidas devem fazer parte de programas ambientais de governo os quais

Externamente, são feitos encaminhamentos para entidades de apoio social e técnico- profissional. É feita a ponte entre a Comunidade Escolar e os serviços da

The effects of three different photophase (L) scotophase ([) combinillions on fecundity (number of host eggs that turned black after parasitization).. egg-adult

Due to the large number of patient dependent parameters present in the PK/PD models, in this paper a simplified compartmental MISO Wiener model will be used to de- scribe the

Vinte e nove pacientes asiáticos, saudáveis, com idade igual ou superior a 20 anos, foram submetidos ao tratamento com preenchimento de ácido hialurônico Juvederm® VOLUMA para

De acordo com o site Selosocial (2018), a certificação de empresas no Programa Municipal Selo Social, consiste em um documento, que reconhece as organizações como

Fungal genera Minimal inhibitory concentration (␮g essential oil/ml nanoemulsion).. Oregano oil Nanoemulsion A