Download presentation
Presentation is loading. Please wait.
Published byHubert Ball Modified over 8 years ago
1
Code Generation Scenario
2
Gent, 21 maart 2005 Code Generation Scenario Applied to Instant Messenger scenario Illustrates use of different devices/platforms Scenario can serve as a 'basis' for other scenarios: Integrated Traffic Information (as IM service) The Museum Visit (via localised IM service) Goal: To configure a software package on demand for a given client platform Only platform part is relevant: other context may change after deployment
3
Gent, 21 maart 2005 Code Generation: Server Setup Software organisation: Platform Independent Model (PIM) of client software Feature Model containing available software features and their dependencies Example: video message feature depends on MyCamera library Model Transformation for each Feature Example: enable video message feature Context/platform ontology describing relationship between devices and software dependencies Example: MyBrand PDA's have a built-in MyCamera and include the MyCamera library
4
Gent, 21 maart 2005 Code Generation: Server Setup Server setup contains: Service delivery engine Feature selection engine Ontology reasoner (*) Model transformation engine (*) Code generator (*) Compiler(s) (*) (*) Existing software
5
Gent, 21 maart 2005 Code Generation: Client Setup Client setup contains: Service client applet Can find and request a service Can download and install client-side software for requested service Device configuration scanning applet Scans device configuration and sends it to the server
6
Gent, 21 maart 2005 Code Generation Overview Request IM service Request device context Send device context Translates device context into feature dependencies Selects relevant features Applies corresp. transf. Generates software Packages software Returns IM client-side software MyBrand PDA has MyCamera, which implies MyCamera library Video message feature is relevant Apply 'select video message' transformation Generate Java code and compile Put software in JAR package
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.