Chapter 6: Using the OSGi Bundle Repository

1

b

OSGi does not apply any constraints on the naming or storage structure of bundles. The OBR specification provides a service interface definition for querying bundle repositories and an XML file structure for repositories.

2

b

The OBR service is configured with access to a set of repositories, which it will inspect to find unfulfilled dependencies, and installs them.

3

c

Although answer b is not wrong, the same effect can be achieved in one operation using the obr:deploy command with the -s flag.

4

c

The Felix Maven Bundle Plugin attaches to the deploy phase goals and updates the repository XML file.

Note: Answer b is not wrong, but it is not recommended because it is manual and thus error prone.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.3.167