08448380779 Call Girls In Friends Colony Women Seeking Men
Build an OSGi Web Console with Adobe Flex Technology and OSGi
1. Kerneos v2
Florent Benoit, BULL
[@florentbenoit ]
Build new modular web console
with Adobe Flex, GraniteDS and
OSGi
OSGi User Group France - 2011, November 25, Orange Labs, Meylan.
2. Why Kerneos ?
● At Bull, leading some OW2 projects including:
● JOnAS
● JASMINe
● EasyBeans
● Each project is requiring an admin console
● Each project with its own framework ?
→ bad idea !
● → Design a common framework to handle
the administration console of these projects
OSGi User Group France - 2011, November 25, Orange Labs, Meylan.
3. Technologies
● Needs a Gui with Rich Components
● Adobe Flex
– Many components for administration console
– Keep Java on the server side
– Allowing to load/unload modules
● GraniteDS
– Transport layer used between Client/Server
– More lightweight than BlazeDS
OSGi User Group France - 2011, November 25, Orange Labs, Meylan.
4. History : Kerneos v1
● One .war file generated for each project
STATIC
● jonasAdmin.war, jasmine-eos.war, easybeans-console.war,...
● This file is built offline and integrates all the
modules of each project.
●
●
!!!
No versions of a module
No way to add new module dynamically
● Needs to restart/redeploy the application
● Difficult to share modules across all the
consoles
OSGi User Group France - 2011, November 25, Orange Labs, Meylan.
6. Kerneos v2 : Wish List
● Load dynamically kerneos modules
● Share kerneos modules between the console
● Some modules are not part/linked to the
project console
● Dynamic content in a kerneos module
depending of the user context (role)
→ Disable features for unauthenticated users
→ Modify content based on the user
OSGi User Group France - 2011, November 25, Orange Labs, Meylan.
7. Kerneos v2 implementation
● OSGi based
● Services : ConfigAdmin, EventAdmin
● Kerneos Module are OSGi bundles
● → Allows to load/unload the module
dynamically
● Using Apache Felix iPOJO for components
– GraniteDS library has been enhanced to
be OSGi aware (and offering OSGi
services)
OSGi User Group France - 2011, November 25, Orange Labs, Meylan.
9. Kerneos v2 features
● Kerneos Store
● Browse available kerneos modules
● Download / Install kerneos modules
● Different assemblies :
● Bundles for OSGi platform
– OW2 JOnAS
– Apache Felix
● WAR for Web container (using embedded OSGi)
OSGi User Group France - 2011, November 25, Orange Labs, Meylan.
10. Demo of Kerneos v2
● Start OSGi gateway
● Drop kerneos module
– New UI content when module is dropped
● Remove module
– Content disappear
● Role based content
● Disable button
● Store example (Download a remote module)
OSGi User Group France - 2011, November 25, Orange Labs, Meylan.
11. Kerneos Services
T newInstance();
KerneosFactoryService
Scope : Application
Session KerneosAsynchronousService
Request JMS or EventAdmin
KerneosSimpleService
Kerneos service factory
OSGi User Group France - 2011, November 25, Orange Labs, Meylan.
12. Status
● Kerneos has been submitted as a new OW2
project
● Already used by JASMINe console
● Work in progress for JOnAS console
●Target 5.3 release of JonAS
● Work in progress for EasyBeans console
● EasyBeans 2 (EJB 3.1)
OSGi User Group France - 2011, November 25, Orange Labs, Meylan.
13. Roadmap
● Short term
● Web site with up-to-date documentation
● Online Kerneos store (store.kerneos.ow2.org)
● Mid term :
● Look for next Flex developments
– HTML5 / Flash converter
– HTML 5 generated by Flex compiler...
● Embed HTML5 components
OSGi User Group France - 2011, November 25, Orange Labs, Meylan.