Spring Configuration Annotation
Spring @Configuration Annotation Spring Configuration annotation is part of the spring core framework. Spring Configuration annotation indicates that the class has @Bean definition methods. So Spring container can process the…
Spring PostConstruct and PreDestroy
Spring PostConstruct and PreDestroy When we configure Spring Beans using dependency injection, sometimes we want to make sure everything is initialized properly before our bean starts serving the client requests.…
Spring PropertySource
Spring PropertySource Annotation Spring @PropertySource annotation is used to provide properties file to Spring Environment. This annotation is used with @Configuration classes. Spring PropertySource annotation is repeatable, means you can…
Spring @Repository Annotation
Spring @Repository Annotation Spring @Repository annotation is used to indicate that the class provides the mechanism for storage, retrieval, search, update and delete operation on objects. Spring Repository annotation is…
Spring Hibernate Integration Example
Spring Hibernate Integration Example Spring is one of the most used Java EE Framework and Hibernate is the most popular ORM framework. That’s why Spring Hibernate combination is used a…
Spring Interview Questions and Answers
Spring Interview Questions and Answers This post will help you get through Spring interview Questions explaining the core concepts in detail. Spring Framework is one of the most popular Java…
Spring IoC and Spring Bean Example
Spring IoC and Spring Bean Example Spring Framework is built on the Inversion of Control principle. Dependency injection is the technique to implement IoC in applications. Content1 Spring IoC2 Spring…
Spring MVC @RequestMapping Annotation Example
Spring MVC @RequestMapping Annotation Example @RequestMapping is one of the most widely used Spring MVC annotations. org.springframework.web.bind.annotation.RequestMapping annotation is used to map web requests onto specific handler classes and/or handler…
Spring Restful Web Services Example
Spring Restful Web Services Example Spring is one of the most widely used Java EE frameworks. We have earlier seen how to use Spring MVC to create Java-based web applications.…