JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
Spring interview questions part 30
Spring interview questions part 30
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Method provided by ExectuorService which returns a Future < T >
A. submit
B. publish
C. addService
D. registerService
Show Correct Answer
Correct Answer is :
submit
2. Which method provided by ExecutorService is used to check whether job is finished or cancelled
A. Future.isDone()
B. Future.isCancelled()
C. None of the mentioned
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
3. The Quartz integration and message driven POJO container doesn’t needs TaskExecutor Services
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
4. Which of the following class’s instance is used by TimerTaskExecutor for managing jobs
A. java.util.Timer
B. java.util.Date
C. java.util.HashMap
D. none of the mentioned
Show Correct Answer
Correct Answer is :
java.util.Timer
5. Attribute used by Spring to refresh beans
A. refresh-check-interval
B. refresh-check-delay
C. refresh-delay
D. none of the mentioned
Show Correct Answer
Correct Answer is :
refresh-check-delay
6. Spring IoC container refreshes the script periodically according to the interval period specified
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
7. Default value of refresh-check-delay attribute
A. Zero
B. Negative
C. Positive
D. None of the mentioned above
Show Correct Answer
Correct Answer is :
Negative
8. XML Element to define an inline script
A. lang:inlinescript
B. lang:inline_script
C. lang:[email protected]
D. lang:inline-script
Show Correct Answer
Correct Answer is :
lang:inline-script
9. Refresh checking feature is not applicable for an inline script
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
10. To prevent the characters in your script from conflicting with the reserved XML characters
A. Use ![CDATA[…]] tag
B. Use ![DATA[…]] tag
C. Use ![CDATA(…)] tag
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Use ![CDATA[…]] tag
11. Dynamic-language-backed bean with some configurations
A. Refreshable bean
B. Beanshell
C. Scripting Beans
D. Inline Script
Show Correct Answer
Correct Answer is :
Refreshable bean
12. To quickly add a Spring Validator implementation to a Spring MVC Controller
A. Use inline-script
B. lang:inline-script
C. All of the mentioned
D. None of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
13. Script’s location is specified by attribute
A. script-source
B. xml-source
C. script-annotation
D. none of the mentioned
Show Correct Answer
Correct Answer is :
script-source
14. To publish a REST service with Spring.
A. publishing an application’s data as a REST service
B. accessing data from third-party REST services
C. none of the mentioned
D. all of the mentioned
Show Correct Answer
Correct Answer is :
all of the mentioned
15. Publishing an application’s data as a REST service requires.
A. @RequestMapping
B. @PathVariable
C. All of the mentioned
D. None of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
16. Spring supports a series of mechanisms to generate a REST service payload.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
17. Annotation added as an input parameter to the handler method.
A. @PathVariable
B. @Path
C. @PathLocale
D. None of the mentioned
Show Correct Answer
Correct Answer is :
@PathVariable
18. Notation for defining REST endpoints.
A. { }
B. *
C. All of the mentioned
D. None of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
19. General-purpose class that allows a response to be rendered using a marshaller.
A. MarshallingView
B. Marshalling
C. View
D. All of the mentioned
Show Correct Answer
Correct Answer is :
MarshallingView
20. Marshalling is the process of transforming an in-memory representation of an object into a data format.a
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
Similar Interview Questions
Search for latest jobs
Find Jobs