Exam 1: Core-Spring (based on Spring 3.2)

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Consider that all Spring beans have been declared within a package called "com.springsource.service". To enable component scanning one must do the following:

(Multiple Choice)
4.7/5
(32)

To register for a bean destruction callback, one can (Select one)

(Multiple Choice)
4.8/5
(32)

Which statement is NOT true concerning Spring's RMI Proxy Generator (select one)

(Multiple Choice)
4.8/5
(27)

Which of the following statements is NOT true concerning Spring Remoting? (Select one)

(Multiple Choice)
4.9/5
(32)

In what order will these events occur during the initialization of the application? (Select one) Select the best response 1 Setter Dependency Injection 2 Bean constructor 3 call BeanFactoryPostProcessors 4 call BeanPostProcessors

(Multiple Choice)
4.9/5
(34)

Which of the following statements about the FactoryBean interface is NOT true? (select one)

(Multiple Choice)
4.8/5
(32)

Which of the following statements is NOT true concerning the BeanPostProcessor Extension point? (Select one)

(Multiple Choice)
4.9/5
(29)

Which of the following statements about use of the @Transactional annotation in a JUnit integration test is NOT true? (Select one)

(Multiple Choice)
4.8/5
(27)

Which of the following statements is NOT a characteristic of Spring Transaction Management? (Select one)

(Multiple Choice)
4.8/5
(35)

Which of the following statements is NOT true about advice types and exception handling?  (select one)

(Multiple Choice)
4.8/5
(35)

@Configuration public class AppConfig {     @Bean     public ClientService clientService() {         ClientServiceImpl clientService = new ClientServiceImpl();          ClientService.addClientDao(new ClientDao());          Return clientService;     } In the example above, which statement is NOT true with regards to Spring Java configuration? (select one)

(Multiple Choice)
4.8/5
(37)

What is true regarding bean definition inheritance?

(Multiple Choice)
4.8/5
(37)

Identify the correct statement about the following pointcut expression: execution(@javax.annotation.security.RolesAllowed * rewards.restaurant.*.*(..)) (Select one)

(Multiple Choice)
4.8/5
(38)

Which of the following statements is NOT true about advice types (select one)

(Multiple Choice)
4.7/5
(44)

Consider the following bean definition <bean id="clientService" class="com.springsource.service.ClientServiceImpl" /> Using Spring AOP, you have declared a Pointcut targeting all methods inside the clientService bean. ClientServiceImpl implements 3 different interfaces. Which interfaces will the proxy class implement? (Select one)

(Multiple Choice)
4.9/5
(35)

Which of the following statements about Pointcut expressions is true? (Select one)

(Multiple Choice)
4.7/5
(40)

Which of the following statements about the @Autowired annotation is NOT true? (select one)

(Multiple Choice)
4.7/5
(38)
Showing 41 - 57 of 57
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)