OSGi interview questions

OSGi interview questions

Take as many assements as you can to improve your validate your skill rating

Total Questions: 15

1. OSGi—which was formerly known as the:-

Correct Answer is : Open Services Gateway initiative

2. OSGi provides a layer on top of the JVM’s default class loader.

Correct Answer is : TRUE

3. On top of Spring Dynamic Modules, SpringSource built SpringSource dm Server, which is a server wired from top to bottom with OSGi and Spring.

Correct Answer is : TRUE

4. OSGi is a framework.

Correct Answer is : FALSE

5. User component models are:-

Correct Answer is : Spring

6. In OSGi, anything used by something else is a state.

Correct Answer is : FALSE

7. “Service” doesn’t imply any:-

Correct Answer is : all of the mentioned

8. OSGi bundles are simply standard .jar files with customized MANIFESTs that OSGi consumes at runtime.

Correct Answer is : TRUE

9. Tool which dynamically interrogates classes for their imports and generates OSGi–compliant entries.

Correct Answer is : bnd

10. The plug-in produces OSGi–compliant bundles that work in any container.

Correct Answer is : 0

11. The Bundle-Activator directive describes to the OSGi environment, which class implements :-

Correct Answer is : BundleActivator

12. When the bundle begins to load and start, it calls the start method of the:-

Correct Answer is : Activator

13. To start using Spring to smooth over some of the minutiae of resource acquisition and to help build more reliable systems in an OSGi environment.

Correct Answer is : Spring Dynamic Modules

14. Spring Dynamic Modules scans our deployed bundles and loads an ApplicationContext (actually, the specific type of the ApplicationContext is OsgiBundleXmlApplicationContext) into memory based on an event, or a trigger.

Correct Answer is : TRUE

15. You’ll split your OSGi–specific Spring configuration and your plain-vanilla Spring configuration into:-

Correct Answer is : modulename-context.xml

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon