@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 more
Defining Components @Component:It is a basic auto component scan annotation, it indicates annotated class is a auto scan component. It is[…]
Read more
Please click on the below topic links. Spring Framework: Let’s get started 🙂 Java EE vs Spring Advantages of Spring[…]
Read more
JDBC produces a lot of boiler plate code, such as opening/closing a connection to a database, handling sql exceptions etc.[…]
Read more
Spring provides support for both programmatic and declarative transactions similar to EJB. Programmatic Transactions – With programmatic transactions , transaction[…]
Read more
What is a transaction? A transaction is a unit of work in which either all operations must execute or none[…]
Read more
Metric Spring AOP AspectJ Simple/Complex Spring AOP aims to provide a simple AOP implementation across Spring IoC to solve the[…]
Read more
A pointcut is a predicate that matches the join points and a pointcut expression language is a way of describing[…]
Read more
In this Article, we will look into AOP in Spring. Aspect-oriented programming (AOP) is a programming paradigm that aims to[…]
Read more
We can use @Autowired or @Inject or @Resource annotations for injecting dependencies in the Spring Beans @Autowired and @Inject annotation behave identically.[…]
Read more