Home > Internet Programming > Quizzes > Spring Framework Fundamentals Test
Spring Framework Fundamentals Test
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 21% Most missed: “True or False?”
Spring Framework Fundamentals Test
Time left 00:00
25 Questions

1. Which of the following are Autowire types?
2. Which of the following is BAD practice - in general?
3. Which of the following utility classes provides functionality to set a non-public field or invoke a non-public setter method when testing application code?
4. Which of the following is not a VALID mode of autowiring
5. How do you declare a destroy method in a Spring bean?
6. Which one of the following statements is NOT true about @Transactional attributes
7. spring-test uses what common convention to allow testing using HTTP session and HTTP request objects?
8. Which of the following is an advantage of using Spring's transaction management?
9. Which view technologies does Spring Web MVC NOT support out of the box?
10. Which one of the following statements is NOT true about the following code: @Service('jpaStudentService') @Repository @Transactional public class StudentServiceImpl implements StudentService { private Log log = LogFactory.getLog(StudentServiceImpl.class); @PersistenceContext private EntityManager em; // Other code omitted }
11. Which of the following is NOT an advantage of SimpleJdbcTemplate?
12. Which one of the following is NOT true about the followng code: @Controller @RequestMapping('/reservationForm') @SessionAttributes('reservation') public class ReservationFormController { ... @RequestMapping(method = RequestMethod.POST) public String submitForm(@ModelAttribute('reservation') Reservation reservation - BindingResult result) { ... return 'redirect:reservationSuccess'; } ... }
13. Exceptions thrown by the Spring DAO classes are subclasses of which?
14. Which of the following is NOT true about Spring Web Services?
15. Which of the following is a disadvantage of using interfaces for proxies?
16. Which of the following methods are needed for loading a database driver in JDBC?
17. Which one of the following statements is NOT true about MVC pattern?
18. To enable MVC Java config - @EnableWebMvc should be used with which of following annotation?
19. Which of the following are valid approaches for integration Struts with Spring?
20. How can you instantiate BeanFactory?
21. Is the following valid ? -
22. Which of the following best describes Spring Batch?
23. Which of the of the following is not a wiring mode supported by Spring?
24. Which one of the following statements is NOT true about the Application Context.
25. Which of the following is NOT a HTTP operation?