| Snaprecruit.com

| Snaprecruit.com

Interview question based on skill :

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

Total Questions: 5

1. To create services and have those automatically installed in the registry.

Correct Answer is : Spring Dynamic Modules

2. Element to export the bean as an OSGi service, classified by the interface we specify.

Correct Answer is : osgi:service

3. The first, most direct connection to OSGi is the bean that’s created on your behalf when you export a service. This bean, an instance of:-

Correct Answer is : org.osgi.framework.ServiceRegistration

4. Sometimes, you may want to limit the visibility of a service so that multiple clients each get their own instance of the bean.

Correct Answer is : scope

5. Spring Dynamic Modules also supports injection and manipulation of bundles themselves. An injected bundle is of type:-

Correct Answer is : org.osgi.framework.Bundle