Wiki source code of Bundles

Last modified by Pierre Dubois on 2011/10/07 15:54

Hide last authors
Pierre Dubois 1.1 1 = OSGi Bundles =
2
3 The REQUEA Platform is based on OSGi. That means:
4
5 - applications are packages as OSGi bundles that can be deployed on the platform
6 - the platform itself is packaged as bundles
7 - bundles can be added to extend the applications or the platform.
8
9 = Structure of an OSGi bundle =
10
11 A bundle is a jar file with a manifest. It provides:
12
13 - a symbolic name, which is the identifier of the bundle
14 - a version number
15 - a classpath entry that describes java classes that can be loaded by the platform
16 - dependencies. This is useful to describe which services or classes or even bundles are required by the bundle.
17
18
19 The list of bundles that the platform has started is available on the dysoweb panel:
20
21 http://localhost:8080/dysoweb/dysoweb/panel/secure/bundles.jsp
22
23
24 = Create an application bundle =
25
26 To create an application bundle,
27
28 - Go to the Tab Design
29 - Bundles / Click on new
30 - Fill in name, creator
31 - The prefix should be a small (3 letter max) identifier
32 - Click on submit
33 - Check that your bundle is on the bundle list: http://localhost:8080/dysoweb/dysoweb/bundles
34 - Start / stop the bundle from there
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 9.11.5 - Documentation