SlideShare ist ein Scribd-Unternehmen logo
1 von 20
System Integration course




                Creating an AppStore using Model
                  Driven Software Development
                                                          GS Team
                                  Dániel DARVAS, Gergő HORÁNYI,
                                     Balázs PÁL, Gábor SZÁRNYAS
                           Budapest University of Technology and Economics




Budapest University of Technology and Economics
Department of Measurement and Information Systems
Object of the work
 Creating a prototype of an application store’s web
  services where:
  o applications can be published, bought or verified;
  o users can be registered;
  o payments can be transferred
 Additional requirements:
  o We must use jBPM5 business workflows.
  o Multiple platforms should be used for implementing
    web services.
 Creating a GUI is out of scope.
Tasks
1. Designing a data model for AppStore
2. Implementing the web services
3. Creating business workflows
4. Uploading test data
5. Creating an intelligent, rule-based advisor (called
   Genius) to recommend applications for users
1. Design
 Technology: Eclipse Modeling Framework

 We made a general Service Oriented Architecture
  metamodel on the „Model Driven Software
  Development” course named GSoaArchitect.
  o http://code.google.com/p/gsoaarchitect/
GSoaArchitect metamodel
Service component         Service method




                                  Data type




                                Entity
1. Design
 Components of our architecture:
  o AppRepository: stores the applications, application
    metadata, etc.
  o UserManager: stores the users
  o CreditManager: stores the credit accounts of the users
  o CodeVerifier: dummy component for code and
    metadata verification
1. Design
 Main entities (objects to store and handle)
  o Application: hollow for an application
  o ApplicationAccount: container object for storing
    applications bought by a specific user
  o ApplicationMetadata: metadata for an application
    (name, price, etc.)
  o ApplicationVersion: represents a specific version of an
    application (stores its files)
  o CreditAccount: credit account of a user
  o CreditTransaction: represents a credit transaction
    (income or expense)
  o User: represent a user or a developer
1. Design
 Main connections between entities
                              User

                        ApplicationAccount

                          CreditAccount



      Application                            CreditTransaction
  ApplicationMetadata

   ApplicationVersion
2. WS implementation
 Technology: Java EE and .NET
  o We had to use multiple platforms.
 With our GSoaArchitect tool we are able to
  generate automatically (using Xpand) the
  following parts for both platforms:
  o Skeletons of web services
  o Entities and persistence (using Entity Framework or
    Java Persistence API)
  o Project files (e.g. .csproj descriptors)
 Note that the target platform of the components
  and entities are specified by the source model.
2. WS implementation
 Platforms of the components
  o .NET: AppRepository, CodeVerifier
  o Java EE: CreditManager, UserManager


 Persistence
  o Each component persists its own entities, e.g.
     • User is persisted by UserManager
     • Application, ApplicationMetadata, ApplicationVersion
       entities are persisted by AppRepository
3. Business workflows
 Technology: jBPM5, Guvnor

 Example workflows:
  o Application code or metadata verification
  o Application purchase
3. Business workflows
 Verification of an application or its metadata
  (high level workflow)
3. Business workflows
 Application purchase
  (high level workflow)
3. Business workflows
 Application purchase
  (low level workflow – it can be executed)




                                  Service calls to
                             implemented web services
4. Genius
 Technology: JBoss Drools, jBPM

 We implemented the Genius as a workflow




  o Output: some recommended applications
4. Genius
 Suggestions are given by Drools rules

 The recommended applications are …
  o … from category that is frequently chosen by the user
  o … made by developers liked by the user
  o … popular and rather expensive
  o … suitable for the user according to the applications’
    age limit
  o … not bought already by the user
5. Uploading test data
 Technology: Eclipse Modeling Framework

 We created an importer which can explore an
  EMF instance model and uploads the found data
  over our components’ REST web services.
Architecture
                                             Development    Platforms
                 REST interface                 tools

                             Workflow

Java EE / .NET
 Components
                                    Genius

            Business logic layer
                                             EMF-IncQuery

             Persistence layer
Used technologies
 Eclipse, Visual Studio: for development
 Eclipse Modeling Framework: for creating the
  model of the architecture
 jBPM5, Guvnor: for workflows
 .NET, JavaEE: for implementing web services
 Entity Framework, JPA: for persisting entities
 Drools: for giving rule-based suggestions
 Eclipse OCL, EMF-IncQuery: for validation models
Links and contacts
 Homepage of the courses:
  http://www.inf.mit.bme.hu/edu/courses/mdsd
  http://www.inf.mit.bme.hu/edu/courses/szolgint
 GSoaArchitect:
  http://code.google.com/p/gsoaarchitect/

 Team members
  o Dániel DARVAS    darvas.daniel
  o Gergő HORÁNYI    horanyi.gergo
  o Balázs PÁL       arnongoth
  o Gábor SZÁRNYAS   szarnyasg

Weitere ähnliche Inhalte

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

Empfohlen

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Empfohlen (20)

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

Creating an AppStore using Model Driven Software Development

  • 1. System Integration course Creating an AppStore using Model Driven Software Development GS Team Dániel DARVAS, Gergő HORÁNYI, Balázs PÁL, Gábor SZÁRNYAS Budapest University of Technology and Economics Budapest University of Technology and Economics Department of Measurement and Information Systems
  • 2. Object of the work  Creating a prototype of an application store’s web services where: o applications can be published, bought or verified; o users can be registered; o payments can be transferred  Additional requirements: o We must use jBPM5 business workflows. o Multiple platforms should be used for implementing web services.  Creating a GUI is out of scope.
  • 3. Tasks 1. Designing a data model for AppStore 2. Implementing the web services 3. Creating business workflows 4. Uploading test data 5. Creating an intelligent, rule-based advisor (called Genius) to recommend applications for users
  • 4. 1. Design  Technology: Eclipse Modeling Framework  We made a general Service Oriented Architecture metamodel on the „Model Driven Software Development” course named GSoaArchitect. o http://code.google.com/p/gsoaarchitect/
  • 5. GSoaArchitect metamodel Service component Service method Data type Entity
  • 6. 1. Design  Components of our architecture: o AppRepository: stores the applications, application metadata, etc. o UserManager: stores the users o CreditManager: stores the credit accounts of the users o CodeVerifier: dummy component for code and metadata verification
  • 7. 1. Design  Main entities (objects to store and handle) o Application: hollow for an application o ApplicationAccount: container object for storing applications bought by a specific user o ApplicationMetadata: metadata for an application (name, price, etc.) o ApplicationVersion: represents a specific version of an application (stores its files) o CreditAccount: credit account of a user o CreditTransaction: represents a credit transaction (income or expense) o User: represent a user or a developer
  • 8. 1. Design  Main connections between entities User ApplicationAccount CreditAccount Application CreditTransaction ApplicationMetadata ApplicationVersion
  • 9. 2. WS implementation  Technology: Java EE and .NET o We had to use multiple platforms.  With our GSoaArchitect tool we are able to generate automatically (using Xpand) the following parts for both platforms: o Skeletons of web services o Entities and persistence (using Entity Framework or Java Persistence API) o Project files (e.g. .csproj descriptors)  Note that the target platform of the components and entities are specified by the source model.
  • 10. 2. WS implementation  Platforms of the components o .NET: AppRepository, CodeVerifier o Java EE: CreditManager, UserManager  Persistence o Each component persists its own entities, e.g. • User is persisted by UserManager • Application, ApplicationMetadata, ApplicationVersion entities are persisted by AppRepository
  • 11. 3. Business workflows  Technology: jBPM5, Guvnor  Example workflows: o Application code or metadata verification o Application purchase
  • 12. 3. Business workflows  Verification of an application or its metadata (high level workflow)
  • 13. 3. Business workflows  Application purchase (high level workflow)
  • 14. 3. Business workflows  Application purchase (low level workflow – it can be executed) Service calls to implemented web services
  • 15. 4. Genius  Technology: JBoss Drools, jBPM  We implemented the Genius as a workflow o Output: some recommended applications
  • 16. 4. Genius  Suggestions are given by Drools rules  The recommended applications are … o … from category that is frequently chosen by the user o … made by developers liked by the user o … popular and rather expensive o … suitable for the user according to the applications’ age limit o … not bought already by the user
  • 17. 5. Uploading test data  Technology: Eclipse Modeling Framework  We created an importer which can explore an EMF instance model and uploads the found data over our components’ REST web services.
  • 18. Architecture Development Platforms REST interface tools Workflow Java EE / .NET Components Genius Business logic layer EMF-IncQuery Persistence layer
  • 19. Used technologies  Eclipse, Visual Studio: for development  Eclipse Modeling Framework: for creating the model of the architecture  jBPM5, Guvnor: for workflows  .NET, JavaEE: for implementing web services  Entity Framework, JPA: for persisting entities  Drools: for giving rule-based suggestions  Eclipse OCL, EMF-IncQuery: for validation models
  • 20. Links and contacts  Homepage of the courses: http://www.inf.mit.bme.hu/edu/courses/mdsd http://www.inf.mit.bme.hu/edu/courses/szolgint  GSoaArchitect: http://code.google.com/p/gsoaarchitect/  Team members o Dániel DARVAS darvas.daniel o Gergő HORÁNYI horanyi.gergo o Balázs PÁL arnongoth o Gábor SZÁRNYAS szarnyasg