SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Último

Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 

Último (20)

Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 

Destaque

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 HealthThinkNow
 
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.pdfmarketingartwork
 
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 2024Neil Kimberley
 
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)contently
 
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 2024Albert Qian
 
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 InsightsKurio // The Social Media Age(ncy)
 
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 2024Search Engine Journal
 
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 summarySpeakerHub
 
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 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 Tessa Mero
 
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 IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
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 managementMindGenius
 
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...RachelPearson36
 
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...Applitools
 
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 WorkGetSmarter
 

Destaque (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