In this article, we will discuss on 'Spring Boot MVC REST Annotations With Examples'. Needless to say, these annotations are very important for creating a web application in Spring Boot. If you want to learn all annotations which are generally used in a Spring Boot Project, kindly visit our article 'Spring Boot Annotations with Examples'. Let's discuss about 'Spring Boot MVC REST Annotations With Examples' here only. Spring Boot MVC REST Annotations With Examples Spring MVC and Spring REST are two different aspects of the Spring Framework. These both deal with building web applications, but they fulfil different purposes and use slightly different sets of annotations. Spring MVC (Model-View-Controller) is a framework for building web applications that follow the traditional Model-View-Controller pattern. We
Tag: @ResponseBody
How to handle Exceptions/Errors in Spring Boot?
Everyone of us spend ample amount of time in learning big topics of Spring & Spring Boot. For example, Spring Boot REST, Spring Boot MVC, Spring Boot Security and many more, but generally we don't think about 'How to handle Exceptions/Errors in Spring Boot?'. This topic might become the most important for running the application without any interference. Also, it is very helpful in making other developers understand our code flow easily. Even finding out the origin of errors & exceptions becomes very irritating, if we have not handled them properly in our code. Sometimes, we need to debug the whole flow of code to find it out & resolve accordingly. In this way, Exception handling plays an important role in
How to develop REST CRUD API using Spring Boot ?
It will not be an overstatement if I say that we can't develop an enterprise application without using webservices as an integration layer. Generally, we develop webservices in the form of either a producer or a consumer or both. However Producer is very important for us because we develop it in Java only. Also, we have full control of database interaction logic implementation with us. Now you might have interpreted the significance of our article 'How to develop REST CRUD API using Spring Boot?'. On the other hand, Consumer can be Angular Application, ReactJS Application, Android Device, iOS Device and many others or even our favorite java based RestTemplate(Spring Boot REST Client). Our focus in this article is on developing producer