Spring Interview Questions - 39 | Snaprecruit.com

Spring Interview Questions - 39 | Snaprecruit.com

Spring interview questions part 39

Spring interview questions part 39

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

Total Questions: 20

1. ActionScript treats a class just like you could in the standard JavaScript.

Correct Answer is : TRUE

2. Spring BlazeDS works with Spring Integration to let you bind any arbitrary endpoint.

Correct Answer is : TRUE

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

Correct Answer is : Spring Dynamic Modules

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

Correct Answer is : osgi:service

5. These beans are proxies, some may load asynchronously or take a longer time to register.

Correct Answer is : TRUE

6. An anonymous bean specified inside of the osgi:service element allows you to avoid cluttering the namespace.

Correct Answer is : TRUE

7. 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

8. By default, beans created in a Spring application context are global to the entire OSGi runtime.

Correct Answer is : TRUE

9. 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

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

Correct Answer is : org.osgi.framework.Bundle

11. Once acquired, the Bundle can be interrogated to introspect information about the bundle itself, including any entries, its current state.

Correct Answer is : TRUE

12. OSGi will let you maintain multiple versions of a service in your registry at the same time.

Correct Answer is : TRUE

13. Multiple services of the same interface may be registered inside of an OSGi environment, which necessitates a conflict-resolution process.

Correct Answer is : TRUE

14. When specified on a service element, allows the ascription of a rank relative to other beans with the same interface.

Correct Answer is : Ranking

15. A more robust solution to service discrimination is service attributes.

Correct Answer is : TRUE

16. There are frequently situations where OSGi will return more than one instance of a service that satisfies the interface.

Correct Answer is : TRUE

17. Attribute, which, is the symbolic name of another bundle.

Correct Answer is : Fragment-Host

18. Design pattern implemented by Dispatcher Servlet.

Correct Answer is : front controller

19. Class used to give a class behavior of a Dispatcher Servlet.

Correct Answer is : AbstractController

20. Annotation for Controller Class.

Correct Answer is : @Controller

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon