@Controller vs @RestController
@Controller: This annotation designates the bean class as the controller in the presentation layer (Spring MVC Controller). @RestController was introduced[…]
Read moreAmplify your java knowledge with javagyansite
@Controller: This annotation designates the bean class as the controller in the presentation layer (Spring MVC Controller). @RestController was introduced[…]
Read moreDefining Components @Component:It is a basic auto component scan annotation, it indicates annotated class is a auto scan component. It is[…]
Read morePlease click on the below topic links. Spring Framework: Let’s get started 🙂 Java EE vs Spring Advantages of Spring[…]
Read moreJDBC produces a lot of boiler plate code, such as opening/closing a connection to a database, handling sql exceptions etc.[…]
Read moreSpring provides support for both programmatic and declarative transactions similar to EJB. Programmatic Transactions – With programmatic transactions , transaction[…]
Read moreWhat is a transaction? A transaction is a unit of work in which either all operations must execute or none[…]
Read moreMetric Spring AOP AspectJ Simple/Complex Spring AOP aims to provide a simple AOP implementation across Spring IoC to solve the[…]
Read moreA pointcut is a predicate that matches the join points and a pointcut expression language is a way of describing[…]
Read moreIn this Article, we will look into AOP in Spring. Aspect-oriented programming (AOP) is a programming paradigm that aims to[…]
Read moreWe can use @Autowired or @Inject or @Resource annotations for injecting dependencies in the Spring Beans @Autowired and @Inject annotation behave identically.[…]
Read more