JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
Spring interview questions part 39
Spring interview questions part 39
Back
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.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
2. Spring BlazeDS works with Spring Integration to let you bind any arbitrary endpoint.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
3. To create services and have those automatically installed in the registry.
A. Spring Dynamic Modules
B. Spring DM Server
C. Spring Tooling
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Spring Dynamic Modules
4. Element to export the bean as an OSGi service, classified by the interface we specify.
A. osgix
B. osgi:service
C. all of the mentioned
D. none of the mentioned
Show Correct Answer
Correct Answer is :
osgi:service
5. These beans are proxies, some may load asynchronously or take a longer time to register.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
6. An anonymous bean specified inside of the osgi:service element allows you to avoid cluttering the namespace.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
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:-
A. org.osgi.framework.ServiceRegistration
B. org.osgi.framework.Service
C. org.osgi.framework.ServiceRegister
D. none of the mentioned
Show Correct Answer
Correct Answer is :
org.osgi.framework.ServiceRegistration
8. By default, beans created in a Spring application context are global to the entire OSGi runtime.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
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.
A. time
B. scope
C. attr
D. none of the mentioned
Show Correct Answer
Correct Answer is :
scope
10. Spring Dynamic Modules also supports injection and manipulation of bundles themselves. An injected bundle is of type:-
A. org.osgi.framework.savedBundle
B. org.osgi.framework.Bundle
C. org.osgi.framework.BundleInstance
D. none of the mentioned
Show Correct Answer
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.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
12. OSGi will let you maintain multiple versions of a service in your registry at the same time.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
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.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
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.
A. Ranking
B. Service
C. All of the mentioned
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Ranking
15. A more robust solution to service discrimination is service attributes.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
16. There are frequently situations where OSGi will return more than one instance of a service that satisfies the interface.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
17. Attribute, which, is the symbolic name of another bundle.
A. Fragment
B. Fragment-Host
C. All of the mentioned
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Fragment-Host
18. Design pattern implemented by Dispatcher Servlet.
A. jsp
B. tiles
C. front controller
D. none of the mentioned
Show Correct Answer
Correct Answer is :
front controller
19. Class used to give a class behavior of a Dispatcher Servlet.
A. AbstractController
B. Controller
C. Abstract Class
D. AbstractAction
Show Correct Answer
Correct Answer is :
AbstractController
20. Annotation for Controller Class.
A. @Before
B. @Controller
C. @After
D. @Exception
Show Correct Answer
Correct Answer is :
@Controller
Similar Interview Questions
Search for latest jobs
Find Jobs