Deployment of SOFA 2 applications for embedded environment
Nasazení SOFA 2 aplikací v prostředí vestavěných systémů
diplomová práce (OBHÁJENO)
Zobrazit/ otevřít
Trvalý odkaz
http://hdl.handle.net/20.500.11956/33960Identifikátory
SIS: 76423
Kolekce
- Kvalifikační práce [11264]
Autor
Vedoucí práce
Oponent práce
Malohlava, Michal
Fakulta / součást
Matematicko-fyzikální fakulta
Obor
Softwarové systémy
Katedra / ústav / klinika
Katedra softwarového inženýrství
Datum obhajoby
7. 9. 2010
Nakladatel
Univerzita Karlova, Matematicko-fyzikální fakultaJazyk
Angličtina
Známka
Výborně
Vývoj aplikácií pre vstavané zariadenia je náročnou úlohou hlavne vďaka rôznorodosti použitého hardwaru. Technológie ako Java ME sa snažia poskytnúť jednotný programový model v duchu hesla "write once - run anywhere", avšak špecifiká jednotlivých platforiem naďalej pretrvávajú. Aplikácie by preto mohli profitovať z využitia komponentovo orientovaného vývoja kedy by platformovo špecifické časti boli oddelené do dobre definovaných a ľahko vymeniteľných komponent. Cieľom práce je analyzovať aktuálny proces nasadzovania komponentových aplikácií napísaných pomocou komponentového systému SOFA 2 a navrhnúť také zmeny, ktoré by umožnili nasadiť komponentové aplikácie v prostredí Java ME, konkrétne s konfiguráciou CLDC a profilom MIDP. Navrhnuté riešenie je založené na transformácii SOFA 2 komponentovej aplikácie na MIDlet. Táto transformácia zahŕňa predgenerovanie kódu na statickú inštanciáciu komponent, ktorá je normálne vykonávaná dynamicky podľa popisu jednotlivých komponent. Výsledkom transformácie je samostatný MIDlet package, ktorý obsahuje všetok potrebný kód - to znamená prispôsobený runtime pre komponenty a komponenty samotné. Proces vývoja SOFA aplikácií je modifikovaný tak, aby podporoval nový proces nasadzovania.
Development of applications for embedded devices is a daunting task particularly due to the diversity of used hardware. Technologies like Java ME attempt to provide unified programming model in the spirit of slogan "write once - run anywhere"; however the platform specifics still linger. Applications for embedded devices could therefore benefit from the use of component - based development where platform - specific parts can be separated into well - defined easily replaceable components. The goal of this thesis is to analyze the current deployment process for the component applications written using SOFA 2 component system and propose changes that would allow such applications to be deployed in Java ME environment, particularly CLDC configuration with MIDP profile. The proposed solution is based on transformation of SOFA 2 component application into MIDlet application. This transformation includes pregeneration of code for static instantiation of components which is normally done dynamically by interpreting component descriptions. The result of the transformation is standalone MIDlet package that contains all necessary code - this includes adjusted component runtime and components themselves. The development process of SOFA 2 applications is also adjusted to support new deployment process.