Spring puts each bean instance in a scope. The default scope is (select one)
A. singleton except when using Java Configuration
B. singleton (no matter which Dependency Injection style has been used)
C. prototype
D. request
State which type of object the JdbcTemplate can be used to query (select one)
A. Simple types (int, long, String, etc)
B. Generic Maps
C. Domain Objects
D. All of the above
State which operation is not performed by the JdbcTemplate (select one)
A. Acquisition of the connection
B. Definition of the DataSource
C. Execution of the statement
D. Release of the connection
Which of the following data access technologies does Spring support? (Select one)
A. JDBC
B. JPA
C. JBoss Hibernate
D. All of the above
Choose the statement that does NOT apply to Spring's JdbcTemplate (select one) A. All JdbcTemplate methods throw SQLExceptions which you are required to handle
B. The JdbcTemplate provides methods for query execution
C. The JdbcTemplate provides the ability to work with result sets
D. The JdbcTemplate does not write or generate SQL statements for you
Which of the following statements is NOT true about advice types (select one)
A. The Before advice method is able to obtain information about the target method's return type
B. The After advice method is able to obtain information about the target method's return type
C. The Before advice method is able to obtain the target method's return value
D. The After advice method is able to obtain the target method's return value
Which of these is NOT a characteristic of Spring JDBC? (Select one)
A. Can be configured exclusively using annotations
B. Provides a callback approach when greater developer control is needed
C. Connections are acquired and released from the DataSource automatically
D. Translation of root cause checked exceptions to Spring DataAccessExceptions
Which of the following statements is NOT true about advice types and exception handling? (select one)
A. If a Before advice method throws an exception, the target method will not be called
B. An Around advice type can swallow, or halt the propagation of, an exception thrown by the target method.
C. An AfterReturning advice type can swallow, or halt the propagation of, an exception thrown by the target method.
Which of the following statements about Pointcut expressions is true? (Select one)
A. A Pointcut can be defined either within annotations in Java code or within XML configuration
B. A pointcut expression can include operators such as the following: andand (and),|| (or), ! (not)
C. A Pointcut expression can be used to select join points which have been annotated with a specific annotation
D. All of the above is true
Which statement best describes the advantage of using AfterReturning advice, rather than simply using after advice? (Select one)
A. If an exception is thrown in the join point, it is allowed to propagate, which is not the case with After advice
B. AfterReturning advice is invoked if an exception is thrown, which is not the case with After advice
C. After advice can only be applied to methods which are declared as void
D. AfterReturning advice is only invoked if the method returns successfully, allowing you to limit advice to only those scenarios
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only SpringSource exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your CORESPRINGV3.2 exam preparations and SpringSource certification application, do not hesitate to visit our Vcedump.com to find your solutions here.