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

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

Which of the following statements is NOT true about Spring AOP? (Select one)

(Multiple Choice)
4.8/5
(26)

Which of the following statements is NOT true concerning Setter Injection or Constructor Injection? (Select one)

(Multiple Choice)
4.9/5
(37)

State which type of object the JdbcTemplate can be used to query (select one)

(Multiple Choice)
4.8/5
(40)

Consider the following Spring Security configuration <security:http>    <security:intercept-url pattern="/accounts/*"  access="ROLE_USER" />    <security:intercept-url pattern="/accounts/editAccount.htm" access="ROLE_ADMIN" /> </<security:http> In order to access to "/accounts/editAccount.htm", what role is required? (select one)

(Multiple Choice)
4.8/5
(32)

Which of the following statement(s) is/are true concerning Spring Transactions? (Select one or several answers)

(Multiple Choice)
4.9/5
(29)

Which of the following statements best describes the After Throwing advice type? (select one)

(Multiple Choice)
5.0/5
(34)

Select which of the following configuration tasks would be implemented using Spring's XML "context" namespace (select one or several answers)

(Multiple Choice)
4.9/5
(36)

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)

(Multiple Choice)
4.8/5
(38)

Which of the following statements defines an "aspect"? (select one)

(Multiple Choice)
4.7/5
(40)

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)

(Multiple Choice)
4.9/5
(28)

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

(Multiple Choice)
4.7/5
(28)

Which of the following statements is NOT true with respect to Spring's ApplicationContext? (select one)

(Multiple Choice)
4.8/5
(36)

Identify the correct statement(s) regarding the following pointcut: execution(@com.springsource.MyCustomAnnotation void *(..))

(Multiple Choice)
4.9/5
(33)

public class ClientServiceImpl implements ClientService { @Transactional(propagation=Propagation.REQUIRED) public void update1() { update2(); } @Transactional(propagation=Propagation.REQUIRES_NEW) public void update2() { // ... } You are using transactions with Spring AOP. What is happening when the update1 method is called? (Select one)

(Multiple Choice)
4.8/5
(36)

Which of the following statements about Spring @MVC is NOT true (select one)

(Multiple Choice)
4.8/5
(29)

Using Spring AOP, which of the following Spring annotations cause behavior to be added (select one)

(Multiple Choice)
4.9/5
(33)

What is the primary purpose of bean definition inheritance? (Select one or several answers)

(Multiple Choice)
4.9/5
(30)

@Transactional(timeout=60) public class ClientServiceImpl implements ClientService { @Transactional(timeout=30) public void update1() {} } What timeout setting is applied to the timeout inside the update1 method? (Select one)

(Multiple Choice)
4.9/5
(33)

Which statement is NOT a characteristic of Spring's PlatformTransactionManager base interface (select one)

(Multiple Choice)
4.8/5
(28)

Which of the following statements best describes the benefits of using the Spring Framework with respect to unit testing? (Select one)

(Multiple Choice)
4.8/5
(28)
Showing 21 - 40 of 57
close modal

Filters

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