SlideShare uma empresa Scribd logo
1 de 15
EvilStore




Budapest University of Technology and Economics
Department of Measurement and Information Systems
Team




 Tamás Csurgó            Attila Rádi
csurnyak@gmail.com       radi.attila@gmail.com
 Oszkár Semeráth         János Tóth
graybonedancer@gmail.com totti001@gmail.com

                         2
Project
 A service oriented online application store
  developed in model driven paradigm
 Project homework
   o Model Driven Software Development
   o System Integration
 Lead by:
   Fault Tolerant Systems Research Group
   http://www.inf.mit.bme.hu/en
   Budapest University of Technology and Economics

                         3
Overview
                   Administrators



                                Validate

        Register
        Browse                        Register
        Buy                           Upload
        Download
                     EvilStore
         Cost      Profit           Share
Users                                        Developers


                            4
Model Driven Development
 Metamodel to describe the system model
  o Software components of the system
  o Services of the components
  o Entities
 Technology:
  Eclipse Modeling
  Framework
 Generated
  editor


                           5
Model validation
 Models are validated with EMF-IncQuery
  http://viatra.inf.mit.bme.hu/incquery
  o High-performance query engine for EMF models
  o Incremental queries
  o Developed by the
    Fault Tolerant Systems Research Group
 Validation constrains:
  o acyclic inheritance
  o unique attributes
  o Non-keyword names

                           6
Automatic Code Generation
 Generate the projects and source files
  by one click
  o Most of the code is automatically derived
  o Only the function bodies are to implement
 Java and C#
 Template based
  code generators
 Used technology:
  Xtext/Xtend

                            7
Webservice
 A style of software architecture for distributed
  systems
 Communication: RESTful Webservice
 Every business function available online by
  HTTP/REST interfaces




                           8
Serialisation
 Business entities in messages
 Serialisation format: JSON
 Done by generated code
  o Strongly typed method parameters
 Technology:
  o Jackson-JSON for Java
  o Newton-JSON for .Net




                            9
Webservice implementation
 Generated the components
 Implemented the services
  o method bodies: only the business logic needed
 Host servers:
  o Jersey server for OSGi
  o IIS server for .Net




                             10
Persistency
   The business entities are need to be persistent
   Entity classes are automatically linked to database
   Functions of the services are transactions.
   Generating database queries
   Database: Apache Derby
   Database binding: Java Persistency Api




                            11
Rule based business logic
   Show highlighted products
   Frequently changing rules define the highlighting
   Technology: Drools
   If-then rules
    o Popular Applications
       Popular applications  increase the score
    o Similar Users
       Similar users  increase the score
    o Age restriction
       Underaged user  remove from the highlight candidates

                                  12
Business Logic
 High maintainability
 Frequently changing business logic
 Technology: BPMN2.0
  o Graphic models
  o Easy to understand
  o Easy to modify




                          13
Business Logic
 Integrate services to workflows

 Automatic tasks (like a verifications)
  o Implemented as webservices
 Human interactions (like registration)

 Integrate business workflows to Java applications
 Workflows executed by JBoss jBPM5


                            14
Epilogue
 All the technologies are successfully integrated,
  the project works.

                    Project on GitHub
      https://github.com/csurgotamas/Evilstore/wiki/Evilstore
      Fault Tolerant Systems Research Group:
                 http://www.inf.mit.bme.hu/en
                      EMF-IncQuery:
              http://viatra.inf.mit.bme.hu/incquery
                       Assignment:
    http://www.inf.mit.bme.hu/edu/courses/mdsd/homework
                                15

Mais conteúdo relacionado

Destaque

Expendables E-AppStore
Expendables E-AppStoreExpendables E-AppStore
Expendables E-AppStore
lobalint
 
EmfStore - A Repository for EMF Models
EmfStore - A Repository for EMF ModelsEmfStore - A Repository for EMF Models
EmfStore - A Repository for EMF Models
Maximilian Kögel
 

Destaque (7)

Expendables E-AppStore
Expendables E-AppStoreExpendables E-AppStore
Expendables E-AppStore
 
Challenges for advanced domain-specific frameworks
Challenges for advanced domain-specific frameworksChallenges for advanced domain-specific frameworks
Challenges for advanced domain-specific frameworks
 
EmfStore - A Repository for EMF Models
EmfStore - A Repository for EMF ModelsEmfStore - A Repository for EMF Models
EmfStore - A Repository for EMF Models
 
OSGi Community Event 2010 - App Store for the Connected Home Services
OSGi Community Event 2010 - App Store for the Connected Home ServicesOSGi Community Event 2010 - App Store for the Connected Home Services
OSGi Community Event 2010 - App Store for the Connected Home Services
 
Aptoide partners 2016
Aptoide partners 2016Aptoide partners 2016
Aptoide partners 2016
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI Explainer
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
 

Semelhante a Mdsd slides

COMPRO- WEB ALBUM & MOTION ANALYZER
COMPRO- WEB ALBUM  & MOTION ANALYZERCOMPRO- WEB ALBUM  & MOTION ANALYZER
COMPRO- WEB ALBUM & MOTION ANALYZER
Ashish Tanwer
 

Semelhante a Mdsd slides (20)

Microsoft Cloud-Native Workshop Slides
Microsoft Cloud-Native Workshop SlidesMicrosoft Cloud-Native Workshop Slides
Microsoft Cloud-Native Workshop Slides
 
Polysource-IT Profile
Polysource-IT ProfilePolysource-IT Profile
Polysource-IT Profile
 
Polysource-IT Profile
Polysource-IT ProfilePolysource-IT Profile
Polysource-IT Profile
 
soa1.ppt
soa1.pptsoa1.ppt
soa1.ppt
 
Poly Source It Profile
Poly Source It ProfilePoly Source It Profile
Poly Source It Profile
 
Polysource It Profile
Polysource It ProfilePolysource It Profile
Polysource It Profile
 
webOS App by Example: Sorting Thoughts
webOS App by Example: Sorting ThoughtswebOS App by Example: Sorting Thoughts
webOS App by Example: Sorting Thoughts
 
icv
icvicv
icv
 
#SPSToronto How to do #DevOps with #SPFx and why it matters
#SPSToronto How to do #DevOps with #SPFx and why it matters#SPSToronto How to do #DevOps with #SPFx and why it matters
#SPSToronto How to do #DevOps with #SPFx and why it matters
 
SharePoint Mobile App Development with Xmarin
SharePoint Mobile App Development with XmarinSharePoint Mobile App Development with Xmarin
SharePoint Mobile App Development with Xmarin
 
CODE IGNITER
CODE IGNITERCODE IGNITER
CODE IGNITER
 
COMPRO- WEB ALBUM & MOTION ANALYZER
COMPRO- WEB ALBUM  & MOTION ANALYZERCOMPRO- WEB ALBUM  & MOTION ANALYZER
COMPRO- WEB ALBUM & MOTION ANALYZER
 
Java Programming
Java ProgrammingJava Programming
Java Programming
 
RavenDB overview
RavenDB overviewRavenDB overview
RavenDB overview
 
Living the DevOps Dream: Self-Managed Application Environments-as-a-Service
Living the DevOps Dream: Self-Managed Application Environments-as-a-ServiceLiving the DevOps Dream: Self-Managed Application Environments-as-a-Service
Living the DevOps Dream: Self-Managed Application Environments-as-a-Service
 
MMS2011_BC34_Plas_Final
MMS2011_BC34_Plas_FinalMMS2011_BC34_Plas_Final
MMS2011_BC34_Plas_Final
 
#ESPC19 How to do #DevOps with #SPFx
#ESPC19 How to do #DevOps with #SPFx#ESPC19 How to do #DevOps with #SPFx
#ESPC19 How to do #DevOps with #SPFx
 
Path to continuous delivery
Path to continuous deliveryPath to continuous delivery
Path to continuous delivery
 
Enterprise Integration Patterns Revisited (again) for the Era of Big Data, In...
Enterprise Integration Patterns Revisited (again) for the Era of Big Data, In...Enterprise Integration Patterns Revisited (again) for the Era of Big Data, In...
Enterprise Integration Patterns Revisited (again) for the Era of Big Data, In...
 
Online Real Estate Management System
Online Real Estate Management SystemOnline Real Estate Management System
Online Real Estate Management System
 

Último

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
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
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, ...
 
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
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
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
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
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
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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
 
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...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 

Mdsd slides

  • 1. EvilStore Budapest University of Technology and Economics Department of Measurement and Information Systems
  • 2. Team  Tamás Csurgó  Attila Rádi csurnyak@gmail.com radi.attila@gmail.com  Oszkár Semeráth  János Tóth graybonedancer@gmail.com totti001@gmail.com 2
  • 3. Project  A service oriented online application store developed in model driven paradigm  Project homework o Model Driven Software Development o System Integration  Lead by: Fault Tolerant Systems Research Group http://www.inf.mit.bme.hu/en Budapest University of Technology and Economics 3
  • 4. Overview Administrators Validate Register Browse Register Buy Upload Download EvilStore Cost Profit Share Users Developers 4
  • 5. Model Driven Development  Metamodel to describe the system model o Software components of the system o Services of the components o Entities  Technology: Eclipse Modeling Framework  Generated editor 5
  • 6. Model validation  Models are validated with EMF-IncQuery http://viatra.inf.mit.bme.hu/incquery o High-performance query engine for EMF models o Incremental queries o Developed by the Fault Tolerant Systems Research Group  Validation constrains: o acyclic inheritance o unique attributes o Non-keyword names 6
  • 7. Automatic Code Generation  Generate the projects and source files by one click o Most of the code is automatically derived o Only the function bodies are to implement  Java and C#  Template based code generators  Used technology: Xtext/Xtend 7
  • 8. Webservice  A style of software architecture for distributed systems  Communication: RESTful Webservice  Every business function available online by HTTP/REST interfaces 8
  • 9. Serialisation  Business entities in messages  Serialisation format: JSON  Done by generated code o Strongly typed method parameters  Technology: o Jackson-JSON for Java o Newton-JSON for .Net 9
  • 10. Webservice implementation  Generated the components  Implemented the services o method bodies: only the business logic needed  Host servers: o Jersey server for OSGi o IIS server for .Net 10
  • 11. Persistency  The business entities are need to be persistent  Entity classes are automatically linked to database  Functions of the services are transactions.  Generating database queries  Database: Apache Derby  Database binding: Java Persistency Api 11
  • 12. Rule based business logic  Show highlighted products  Frequently changing rules define the highlighting  Technology: Drools  If-then rules o Popular Applications Popular applications  increase the score o Similar Users Similar users  increase the score o Age restriction Underaged user  remove from the highlight candidates 12
  • 13. Business Logic  High maintainability  Frequently changing business logic  Technology: BPMN2.0 o Graphic models o Easy to understand o Easy to modify 13
  • 14. Business Logic  Integrate services to workflows  Automatic tasks (like a verifications) o Implemented as webservices  Human interactions (like registration)  Integrate business workflows to Java applications  Workflows executed by JBoss jBPM5 14
  • 15. Epilogue  All the technologies are successfully integrated, the project works. Project on GitHub https://github.com/csurgotamas/Evilstore/wiki/Evilstore Fault Tolerant Systems Research Group: http://www.inf.mit.bme.hu/en EMF-IncQuery: http://viatra.inf.mit.bme.hu/incquery Assignment: http://www.inf.mit.bme.hu/edu/courses/mdsd/homework 15