UvodDoKomponent: KomponentTutorial

from Wiki KIVu

Úvodní informace

TBD přeslohovat - ne "jsem se seznámil" apod ale "tady najdete"...

Na této wiki bych chtěl na jednoduchých příkladech představit jednotlivé Javové Frameworky, s kterými jsem se seznámil. K práci jsem používal prostředí Eclipse (později pro spring a osgi i SpringSource Tool Suite který je založen na Eclipsu a dá se najít i jako Eclipsový plugin) a v každém frameworku jsem si vyzkoušel dva jednoduché příklady. Tyto příklady jsou převzaty z projektu CoSi, který je prezentován v angličtině, proto přikládám i zadání v angličtině.

Tato wiki je pro vás obzvlášť vhodná, pokud si chcete vyzkoušet různé Javové komponentové frameworky.

Vyzkoušené frameworky

Spring - čistý Spring

Osgi - čisté Osgi

SpringDM - (Spring Dynamic Modules, nebo taky Spring - Osgi), jde o přidání možností Springu do Osgi frameworku

Declarative Services

Používané příklady

Message printer

First a really simple application:

Parking lot

Next a more complex thingy. The scenario is as follows: above motorway there is a board announcing how many places are free at our parking lot. Cars, buses and trucks enter and leave the lot via gate, being allowed entry only if there is space for the given type of vehicle on the parking lot - car takes 1 space, bus 2 spaces, truck 4 spaces. Parking lot announces the remaining capacity for the board to display.

The component model has these components, shown also on diagram below:

Retrieved from http://wiki.kiv.zcu.cz/UvodDoKomponent/KomponentTutorial
Content last modified on 17 December 2009, 15:05