Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Certification
Study Set
SpringSource
Exam 1: Core-Spring (based on Spring 3.2)
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 1
Multiple Choice
Select which of the following configuration tasks would be implemented using Spring's XML "context" namespace (select one or several answers)
Question 2
Multiple Choice
Select which statement is true with respect to constructor injection with Spring (select one)
Question 3
Multiple Choice
Which of the following statements about the FactoryBean interface is NOT true? (select one)
Question 4
Multiple Choice
Which of the following statements about the @PostConstruct annotation is NOT true? (select one)
Question 5
Multiple Choice
ClientService service = applicationContext.getBean(ClientService.class) Which statement is true with regards to the above example? (select one)
Question 6
Multiple Choice
Which of the following statements about use of the @Transactional annotation in a JUnit integration test is NOT true? (Select one)
Question 7
Multiple Choice
Which of the following statements is NOT true with respect to Spring's ApplicationContext? (select one)
Question 8
Multiple Choice
Two beans of type MyBean are defined in the ApplicationContext with singleton scope, with ids "myBean1" and "myBean2". The getBean() method is called once for each bean. Which statement is true about the two references returned? (Select one)
Question 9
Multiple Choice
Given an ApplicationContext containing multiple bean definitions of a Java type "Foo", which of the following @Autowired scenarios will cause the ApplicationContext to FAIL to initialize? Assume that the ApplicationContext is configured to process the @Autowired annotations. (Select one)
Question 10
Multiple Choice
import com.springsource.service.*; ... @Configuration public class AppConfig { @Bean public ClientService clientService() { return new ClientServiceImpl() ; } } What is the id of the declared bean? (Select one)
Question 11
Multiple Choice
Which of the following statements is NOT true concerning Setter Injection or Constructor Injection? (Select one)
Question 12
Multiple Choice
Using Spring AOP, which of the following Spring annotations cause behavior to be added (select one)
Question 13
Multiple Choice
Which of the following statements about Spring's JUnit integration testing support is true? (select one)
Question 14
Multiple Choice
What is true regarding bean definition inheritance?
Question 15
Multiple Choice
Consider the following complete configuration sample: < bean class="rewards.internal.RewardNetworkImpl" > < property name="accountRepository" ref="accountRepository" /> < /bean> < bean class="rewards.internal.account.JdbcAccountRepository"/> Which of the following statements is true? (Select one)
Question 16
Multiple Choice
@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)
Question 17
Multiple Choice
Which of the following statements best describes the benefits of using the Spring Framework with respect to unit testing? (Select one)
Question 18
Multiple Choice
What is the primary purpose of bean definition inheritance? (Select one or several answers)
Question 19
Multiple Choice
Which of the following statements about the @Autowired annotation is NOT true? (select one)
Question 20
Multiple Choice
Which of the following statements is NOT true concerning the BeanPostProcessor Extension point? (Select one)
showing 1 - 20 of 57
Prev
Next
Prev
1
2
3
Next
Related Quizzes
Previous slide
Next slide
Access For Free