Exam AD0-E103 All QuestionsBrowse all questions from this exam
Question 3

A developer is working on a complex project with multiple bundles. One bundle provides an OSGi service for other bundles.

Which two options are necessary to ensure that the other bundles can reference that OSGi service? (Choose two.)

    Correct Answer: A, E

    To ensure that other bundles can reference an OSGi service, the bundles consuming the service need to import the fully qualified name of the service interface. Additionally, the bundle providing the service needs to export the Java package of the service interface. This allows the consuming bundles to see and use the service interface provided by the exporting bundle.

Discussion
kdattaOptions: AE

Answer will be A and E

cs1979Options: AE

Answer should be A and E.

gkay2Options: AE

Answer - A & E

heenamadanOptions: AE

Answer should be A & E