answer these questions: In Spring-based Web application, __________ acts as the front…
- User
answer these questions: In Spring-based Web application, __________ acts as the front controller for Spring-based Web applications. It provides a mechanism for request processing where actual work is performed by configurable, and delegated components. Group of answer choices
DispatcherServlet
Web Container
Web-Socket
Spring Bean
Flag question: Question 2 Question 225 pts What does REST stand for? Group of answer choices
Registered System Training
Representational State Transfer
Resistant Synchronization Test
Resourceful System Transfer
Flag question: Question 3 Question 325 pts Tight coupling is not good at code testability. Loose coupling improves code testability.
True or False?
Group of answer choices
True
False
Flag question: Question 4 Question 425 pts What is the prefix used in HTML for Thymeleaf? Group of answer choices
th:value
c:
th:
TH:
Flag question: Question 5 Question 525 pts ___________ annotation is used to map a HTTP request method (GET or POST) to a specific class or method in the controller which will handle the respective request? Group of answer choices
@RequestMapping
@RestController
@ResponseBody
@Mapping
Flag question: Question 6 Question 625 pts Which annotation maps Web requests onto specific controller classes and/or handler methods? Group of answer choices
@RequestMapping
@RequestParam
@RequestBody
@ResponseBody
Flag question: Question 7 Question 725 pts Which of the following is not a part of the Spring framework modules? Group of answer choices
Maven (Compile, Package, Deploy, etc.)
Data Access/ Integration (JDBC, ORM, etc.)
Web (Web, Servlets, etc.)
Core Container (Beans, Core, Context, etc.)
Flag question: Question 8 Question 825 pts @ModelAttribute is referred to as data binding, and it saves us from having to deal with parsing and converting individual query parameters and form fields.
True or False?
Group of answer choices
True
False
Flag question: Question 9 Question 925 pts Which of the following statements is valid based on the following code?
@Controller public class HelloWorldController {
@RequestMapping("/home") public String helloWorld() { String message = "Hello World, Spring boot!"; System.out.println(message); return "index"; }}
Group of answer choices
- Assistant