Prev Next

Spring / Spring Interview questions II

Explain @Configurable annotation in Spring.

@Configurable annotation injects beans into objects of a class whose objects are instantiated using the new operator instead of getting them from the Spring framework.

❤Cash Back At Stores you Love !!!❤

Earn your $10 reward when you make your first purchase through Ebates by signing up with clicking below button.

Ebates Coupons and Cash Back

More Related questions...

Differentiate commandName and modelAttribute. Can I make a path variable optional? Difference between @Inject and @Autowired in Spring Framework. How can JDBC be used more efficiently in the Spring framework? How do I prevent XSS attack at JSP HTML form? What are the advantage of form:label tag in Spring? Where do I place the robots.txt or sitemap.xml or any other file in my web application? Recommended method for escaping HTML using Java. Difference between @Controller and @RestController annotation in Spring MVC. How to retrieve Session Object In Spring MVC? What are the RequestMapping Variants in Spring MVC framework? How do I implement caching in Spring framework? Can a bean class with private constructor be instantiated in Spring framework? Difference between spring singleton bean and the Gang of Four singleton pattern in Java. How do we inject a null or empty Value in Spring framework? What are the different types of events in spring framework? Difference between FileSystemResource and ClassPathResource in Spring framework. Name some of the design patterns used in Spring Framework. Difference between @Bean and @Component annotations in Spring. How do you integrate spring into your Java application? How do I get ServletContext and ServletConfig object in a Spring Bean? What are the different types of Listener events in Spring? How do I resolve codes to error messages in Spring validation? Advantages of PropertyEditor in spring. Explain the role of ConverterFactory in spring validation. Explain Validator interface in Spring. What happens when a prototype bean is injected into a singleton bean? How do you read property files using Spring? Difference between ref bean and ref local attribute in Spring. Why is ApplicationContext.getBean considered bad in Spring? How do I remove a spring bean from ApplicationContext? Difference between JDK dynamic proxy and CGLib proxy in Spring. What are the limitations for auto-wiring by the constructor in Spring? Explain @Configurable annotation in Spring. What is the main strategy interface in Spring security? How to logout the session in spring security? How does Prototype scope work in spring? Can you use @Autowired annotation with static field members?
Show more question and Answers...

Spring batch Interview questions

Comments & Discussions