1 | What is a 'bean' in Spring ? |
2 | I want to provide the MessageSource functionality to application, providing access to messages in i18n-style in my application. Which one should I use ? |
3 | What is dependency injection ? |
4 | What do you understand by Dependency Injection ? |
5 | Can dependency injection be lazy instantiated ? |
6 | <p>An application server is required for Spring's Transaction mechanism to run.</p>
<p>Is this statement</p> |
7 | Spring's Transaction management feature can fully replace all the features of EJB's Container managed transaction |
8 | Look at the code below .
<bean id = "helloWorldSample"ยด class="com.helloworld.samples.HelloWorld" depends-on = "setuphelloClassId">
<property name="myString">
Hello World Program
</property>
<property name="dependentClassId">
<ref bean = "firstDependentClass"/>
</property>
</bean>
<bean id = "dependentClass" class = "com.helloworld.dependent.DependentClass" destroy-method="cleanupMethod">
<property name="dependentString">
</property>
</bean>
<bean id = "setuphelloClassId" class = "com.helloworld.config.setupHelloClass">
</bean>
Which of the following answers is correct ? |
9 | Which of the following features are provided when using the spring templating classes such as JdbcTemplate or HibernateTemplate ? |
10 | Can you instantiate a static inner class in Spring ? |