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.)
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.)
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.
Answer will be A and E
Answer should be A and E.
Answer - A & E
Answer should be A & E