Spring Quiz - 1 - Quiz | Page 6


Question 26:

Spring 3.0 provides the PropertyEditor for performing thread-safe type conversion.
This allows any Type to be converted to any other Type.

Login to view solution
Question 27:

For a given web.xml configuration:

 <web-app version="2.5"> 
               <servlet> 
                      <servlet-name>dispatcher</servlet-name> 
                      <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> 
                      <load-on-startup>1</load-on-startup> 
              </servlet> 
              <servlet-mapping> 
                      <servlet-name>dispatcher</servlet-name> 
                      <url-pattern>/*</url-pattern> 
              </servlet-mapping> 
 </web-app>

Which path should has file that contains XML configuration metadata for ApplicationContext of given DispatcherServlet?

Login to view solution
Question 28:

Suppose I have an aspect:
@Before("execution(* method*()")

and the following class:

public class MyClass() { 
    public void method1() { 
        method2(); 
    } 
    public void method2() { 
    } 
}

If I call, myClass.method1(), from another class, which methods does the advice run against?

Login to view solution
Question 29:

The following methods :-

  • queryForInt(args)
  • queryForList(args)
  • getJdbcOperations()
  • getNamedParameterJdbsOperations()

are all present in which of the following class?

Login to view solution
Question 30:

The dynamic languages currently supported by Spring are:-

Login to view solution

Share Quiz

Comments

Comments
comments powered by Disqus

Navigation

Social Media