What is technically a 'bean' in Spring ?
I want to add the MessageSource functionality to application, providing access to messages in i18n-style in my application. Which one should I use ?
What do you understand by Dependency Injection ? Is it something unique to Spring ?
What are important ApplicationContext implementations in spring framework ?
Spring requires all your class to have default constructors. Failure to do so will result an exception at startup.
An application server is required for Spring's Transaction mechanism to run. This statement is
Spring's Transaction management feature can fully replace all the features of EJB's Container managed transaction
Look at the code below .
<bean id = "helloWorldSample"´ depends-on = "setuphelloClassId">
<property name="myString"> Hello World Program </property>
<property name="dependentClassId"> <ref bean = "firstDependentClass"/>
<bean id = "dependentClass" class = "com.helloworld.dependent.DependentClass" destroy-method="cleanupMethod">
<bean id = "setuphelloClassId" class = "com.helloworld.config.setupHelloClass"/>
Which of the following answers is correct ?
Which of the following features are available when using the spring templating class such as JdbcTemplate or HibernateTemplate ?
Can you instantiate a static inner class in Spring ?