a model-driven approach for deploying trading-based knowledge representation systems
DESCRIPTION
ISDE/OTM2011, LNCS 7046, pp. 180–189, Springer-Verlag Berlin Heidelberg. doi:10.1007/978-3-642-25126-9_28TRANSCRIPT
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
1
OTM – ISDE, Crete, GREECE17-21st October, 2011
A Model-Driven Approach forDeploying Trading-Based
Knowledge Representation Systems
José A. Asensio1, Luis Iribarne1, Nicolás Padilla1,Cristina Vicente-Chicote2
1Applied Computing Group, University of Almería, SPAIN{jacortes, luis.iribarne, npadilla}@ual.es
2 Dept. of Information and Communication Technologies, Technical University of Cartagena, [email protected]
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
2
Index• Context
• TKR System• Implementation Repository• System Configuration
• Case Study
• Conclusions• Future Work
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
3
• WMIS facilitate information retrieval and decision-making, allowing cooperative work.
• WMIS design and development require:– a common vocabulary, and– a certain capacity to mediate objects.
Context
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
4
• WMIS facilitate information retrieval and decision-making, allowing cooperative work.
• WMIS design and development require:– a common vocabulary ► Ontology– a certain capacity to mediate objects.
Context
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
5
• WMIS facilitate information retrieval and decision-making, allowing cooperative work.
• WMIS design and development require:– a common vocabulary ► Ontology– a certain capacity to mediate objects ►
► Trader
Context
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
6
Context
• Ontologies can be used for:
– describing the information domain knowledgein the system, and
– modeling the processes and communicationsbetween system components.
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
7
• The use of traders is proposed to improve the interoperability of the system components:– Trader acts as intermediary between objects.– Trader improves querying and information
retrieval (with the use of ontologies).
Context
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
8
• The use of traders is proposed to improve the interoperability of the system components:– Trader acts as intermediary between objects.– Trader improves querying and information
retrieval (with the use of ontologies).▼
Trading-based KnowledgeRepresentation Systems
Context
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
9
Context
ISMM
ISM
IRMM
IRM
CMM
CM
CODE
GMF EMF
M2M
M2T
M2M
DSL
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
10
Context
ISMM
ISM
IRMM
IRM
CMM
CM
CODE
GMF EMF
M2M
M2T
M2M
DSL
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
11
Context
ISMM
ISM
IRMM
IRM
CMM
CM
CODE
GMF EMF
M2M
M2T
M2M
DSL
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
12
Context
ISMM
ISM
IRMM
IRM
CMM
CM
CODE
GMF EMF
M2M
M2T
M2M
DSL
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
13
MDE Approach – TKR System
ISMM
ISM
IRMM
IRM
CMM
CM
CODE
GMF EMF
M2M
M2T
M2M
DSL
Information System Metamodel
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
14
MDE Approach – TKR System
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
15
MDE Approach – TKR System
…distributed ondifferent nodes…
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
16
MDE Approach – TKR System
…modules…
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
17
MDE Approach – TKR System
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
18
MDE Approach – TKR System
…shared services…
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
19
MDE Approach – TKR System
…user demands…
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
20
MDE Approach – TKR System
…information queries…
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
21
MDE Approach – TKR System
…search and locationof information…
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
22
MDE Approach – TKR System
…knowledge bases…
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
23
MDE Approach – TKR System
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
24
MDE Approach – TKR System
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
25
MDE Approach – TKR System
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
26
Package
name : EString
Platformname : EString
Modulename : EStringuri : EString
CompositeModule SimpleModule
hasPlatform
1..*
hasModule
1..*
hasPlatform0..1
hasSuperModule0..1
hasSubmodule1..*
MDE Approach – Implementation Repository
ISMM
ISM
IRMM
IRM
CMM
CM
CODE
GMF EMF
M2M
M2T
M2M
DSL
Implementation Repository Metamodel
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
27
Package
name : EString
Platformname : EString
Modulename : EStringuri : EString
CompositeModule SimpleModule
hasPlatform
1..*
hasModule
1..*
hasPlatform0..1
hasSuperModule0..1
hasSubmodule1..*
MDE Approach – Implementation Repository
…deploymentplatform…
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
28
Package
name : EString
Platformname : EString
Modulename : EStringuri : EString
CompositeModule SimpleModule
hasPlatform
1..*
hasModule
1..*
hasPlatform0..1
hasSuperModule0..1
hasSubmodule1..*
MDE Approach – Implementation Repository
…moduleimplementation…
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
29
Package
name : EString
Platformname : EString
Modulename : EStringuri : EString
CompositeModule SimpleModule
hasPlatform
1..*
hasModule
1..*
hasPlatform0..1
hasSuperModule0..1
hasSubmodule1..*
MDE Approach – Implementation Repository
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
30
Package
name : EString
Platformname : EString
Modulename : EStringuri : EString
CompositeModule SimpleModule
hasPlatform
1..*
hasModule
1..*
hasPlatform0..1
hasSuperModule0..1
hasSubmodule1..*
MDE Approach – Implementation Repository
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
31
Package
name : EString
Platformname : EString
Modulename : EStringuri : EString
CompositeModule SimpleModule
hasPlatform
1..*
hasModule
1..*
hasPlatform0..1
hasSuperModule0..1
hasSubmodule1..*
MDE Approach – Implementation Repository
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
32
Package
name : EString
Import
importedNamespace : EStringStatement
InformationSystemPackage
InformationSystem
Module
ImplementationRepositoryPackage
Platform
Module
hasImport
0..*hasStatement
0..*
hasInformationSystem
0..1
hasImplementationRepositor y
0..*
hasIRModule
1
hasISModule
1
MDE Approach – System Configuration
ISMM
ISM
IRMM
IRM
CMM
CM
CODE
GMF EMF
M2M
M2T
M2M
DSL
Configuration Metamodel
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
33
Package
name : EString
Import
importedNamespace : EStringStatement
InformationSystemPackage
InformationSystem
Module
ImplementationRepositoryPackage
Platform
Module
hasImport
0..*hasStatement
0..*
hasInformationSystem
0..1
hasImplementationRepositor y
0..*
hasIRModule
1
hasISModule
1
MDE Approach – System Configuration
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
34
Package
name : EString
Import
importedNamespace : EStringStatement
InformationSystemPackage
InformationSystem
Module
ImplementationRepositoryPackage
Platform
Module
hasImport
0..*hasStatement
0..*
hasInformationSystem
0..1
hasImplementationRepositor y
0..*
hasIRModule
1
hasISModule
1
MDE Approach – System Configuration
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
35
Package
name : EString
Import
importedNamespace : EStringStatement
InformationSystemPackage
InformationSystem
Module
ImplementationRepositoryPackage
Platform
Module
hasImport
0..*hasStatement
0..*
hasInformationSystem
0..1
hasImplementationRepositor y
0..*
hasIRModule
1
hasISModule
1
MDE Approach – System Configuration
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
36
SOLERESEnvironmental Management Information System
▼
SOLERES-KRSKnowledge Representation Subsystem
▼
Trading-based KnowledgeRepresentation System
Case Study – SOLERES-KRS
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
37
SOLERESEnvironmental Management Information System
▼
SOLERES-KRSKnowledge Representation Subsystem
▼
Trading-based KnowledgeRepresentation System
Case Study – SOLERES-KRS
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
38
SOLERESEnvironmental Management Information System
▼
SOLERES-KRSKnowledge Representation Subsystem
▼
Trading-based KnowledgeRepresentation System
Case Study – SOLERES-KRS
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
39
Case Study – SOLERES-KRS
ISMM
ISM
IRMM
IRM
CMM
CM
CODE
GMF EMF
M2M
M2T
M2M
DSL
GMF Tool – SOLERES-KRS Model
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
40
Case Study – SOLERES-KRSGMF Tool – SOLERES-KRS Model
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
41
Case Study – SOLERES-KRSGMF Tool – SOLERES-KRS Model
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
42
Case Study – SOLERES-KRSGMF Tool – SOLERES-KRS Model
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
43
Case Study – SOLERES-KRSGMF Tool – SOLERES-KRS Model
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
44
Case Study – SOLERES-KRSGMF Tool – SOLERES-KRS Model
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
45
Case Study – SOLERES-KRSGMF Tool – SOLERES-KRS Model
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
46
Case Study – SOLERES-KRSGMF Tool – SOLERES-KRS Model
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
47
Case Study – SOLERES-KRS
ISMM
ISM
IRMM
IRM
CMM
CM
CODE
GMF EMF
M2M
M2T
M2M
DSL
Implementation Repository Model
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
48
Case Study – SOLERES-KRS
Implementation Repository Model
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
49
1 grammar org.xtext.isconfig.config.Config with org.eclipse.xtext.common.Terminals23 import "platform:/resource/ISConfig/metamodel/Configuration.ecore" 4 import "platform:/resource/ISConfig/metamodel/InfSystem.ecore" as InfSystemPackage5 import "platform:/resource/ISConfig/metamodel/ImplRepository.ecore" as ImplRepPackage6 import "http://www.eclipse.org/emf/2002/Ecore" as ecore78 Package returns Package:9 ...1011 Node returns InfSystemPackage::Node:12 'Node' name=EString 13 '{'14 'ip' ip=EString15 'port' port=EString16 'dbport' dbport=EString17 hasServiceModule=ServiceModule18 hasManagementModule=ManagementModule19 ( hasTradingModule+=TradingModule (hasTradingModule+=TradingModule)* )?20 hasQueryModule+=QueryModule (hasQueryModule+=QueryModule)* 21 ( hasProcessingModule+=ProcessingModule (hasProcessingModule+=ProcessingModule)* )?22 'hasInfSystem' hasInfSystem=[InfSystemPackage::InformationSystem|EString]23 '}';24 ...
Domain-Specific Language
Case Study – SOLERES-KRS
ISMM
ISM
IRMM
IRM
CMM
CM
CODE
GMF EMF
M2M
M2T
M2M
DSL
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
50
Case Study – SOLERES-KRS
1 Package SOLERES_Configuration2 Configuration {3 Statement {4 hasISModule "SOLERES_System.KRS.Node_1.ServiceModule_1_1"5 hasIRModule "UAL_Repository.Java_JADE.ServiceModuleImpl" }6 Statement {7 hasISModule "SOLERES_System.KRS.Node_1.ManagementModule_1_1"8 hasIRModule "UAL_Repository.Java_JADE.ManagementModuleImpl" }9 Statement {10 hasISModule "SOLERES_System.KRS.Node_1.TradingModule_1_1"11 hasIRModule "UAL_Repository.Java_JADE.TradingModuleImpl" }12 ...
ISMM
ISM
IRMM
IRM
CMM
CM
CODE
GMF EMF
M2M
M2T
M2M
DSL
Configuration Model
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
51
1 «DEFINE Package FOR ConfigurationPackage::Package»2 «IF !this.hasStatement.isEmpty»3 «FILE "make.sh"»4 #!/bin/bash5 clear6 cd /7 «FOREACH this.hasStatement.first().hasISModule.hasNode.hasInfSystem.hasNode AS node»8 «FILE node.hasInformationSystem.name + "/" + node.name + "/InformationSystem.java"»9 package «node.hasInformationSystem.name».«node.name»;10 import «node.hasInformationSystem.name».«node.name».modules.*;11 public class InformationSystem {12 private String ip = null;13 private int port = -1;14 private int dbport = -1;15 ...
Case Study – SOLERES-KRS
ISMM
ISM
IRMM
IRM
CMM
CM
CODE
GMF EMF
M2M
M2T
M2M
DSL
M2T Transformation
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
52
Case Study – SOLERES-KRSScript and Java Files
1 #!/bin/bash2 clear3 cd /4 mkdir /KRS/Node_1/modules5 cd /KRS/Node_1/modules6 wget http://www.ual.es/acg/rep/InformationSystem/ServiceModule.class7 wget http://www.ual.es/acg/rep/InformationSystem/ManagementModule.class8 wget http://www.ual.es/acg/rep/InformationSystem/TradingModule.class9 wget http://www.ual.es/acg/rep/InformationSystem/QueryModule.class10 wget http://www.ual.es/acg/rep/InformationSystem/ProcessingModule.class11 ...
1 package KRS.Node_1;2 import KRS.Node_1.modules.*;3 public class InformationSystem {4 private String ip = null; 5 private int port = -1; 6 private int dbport = -1;7 private ServiceModule serviceModule = null;8 private ManagementModule managementModule = null;9 private TradingModule tradingModule = null;10 private QueryModule queryModule = null;11 private ProcessingModule processingModule = null;12 public InformationSystem() {13 this.ip = "192.168.1.11"; 14 this.port = 1099; 15 this.dbport = 3306;16 ...
ISMM
ISM
IRMM
IRM
CMM
CM
CODE
GMF EMF
M2M
M2T
M2M
DSL
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
53
Case Study – SOLERES-KRSScript and Java Files
1 #!/bin/bash2 clear3 cd /4 mkdir /KRS/Node_1/modules5 cd /KRS/Node_1/modules6 wget http://www.ual.es/acg/rep/InformationSystem/ServiceModule.class7 wget http://www.ual.es/acg/rep/InformationSystem/ManagementModule.class8 wget http://www.ual.es/acg/rep/InformationSystem/TradingModule.class9 wget http://www.ual.es/acg/rep/InformationSystem/QueryModule.class10 wget http://www.ual.es/acg/rep/InformationSystem/ProcessingModule.class11 ...
1 package KRS.Node_1;2 import KRS.Node_1.modules.*;3 public class InformationSystem {4 private String ip = null; 5 private int port = -1; 6 private int dbport = -1;7 private ServiceModule serviceModule = null;8 private ManagementModule managementModule = null;9 private TradingModule tradingModule = null;10 private QueryModule queryModule = null;11 private ProcessingModule processingModule = null;12 public InformationSystem() {13 this.ip = "192.168.1.11"; 14 this.port = 1099; 15 this.dbport = 3306;16 ...
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
54
1 package KRS.Node_1;2 import KRS.Node_1.modules.*;3 public class InformationSystem {4 private String ip = null; 5 private int port = -1; 6 private int dbport = -1;7 private ServiceModule serviceModule = null;8 private ManagementModule managementModule = null;9 private TradingModule tradingModule = null;10 private QueryModule queryModule = null;11 private ProcessingModule processingModule = null;12 public InformationSystem() {13 this.ip = "192.168.1.11"; 14 this.port = 1099; 15 this.dbport = 3306;16 ...
Case Study – SOLERES-KRS
1 #!/bin/bash2 clear3 cd /4 mkdir /KRS/Node_1/modules5 cd /KRS/Node_1/modules6 wget http://www.ual.es/acg/rep/InformationSystem/ServiceModule.class7 wget http://www.ual.es/acg/rep/InformationSystem/ManagementModule.class8 wget http://www.ual.es/acg/rep/InformationSystem/TradingModule.class9 wget http://www.ual.es/acg/rep/InformationSystem/QueryModule.class10 wget http://www.ual.es/acg/rep/InformationSystem/ProcessingModule.class11 ...
Script and Java Files
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
55
Conclusions
• A MDE approach to TKR System design and deployment in the context of WMIS has been presented.
• Three metamodels, a GMF tool, a DSL, and a M2T transformation have been developed to ease it design and deployment.
• The SOLERES-KRS subsystem has been presented as a case study.
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
56
Future Work
• The use of a trading system whichlinks the system architecture and the implementation repository models automatically.
Applied Computing GroupUniversity of Almería, SPAIN
OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011
A M
odel
-Driv
en A
ppro
ach
for D
eplo
ying
TK
R S
yste
ms
57 A Model-Driven Approach forDeploying Trading-Based
Knowledge Representation Systems
Thank you for your attention!!
Contact: [email protected]
Applied Computing GroupUniversity of Almería, SPAINhttp://www.ual.es/acg
A Methodology for the Recovery and Exploitation of Environmental Information (TIN2010-15588)
Development of an Intelligent Web Agent for Environmental Information (TIC-6114)