Tag Archives: REST

Bean Validation – How to validate data using Bean Validation?

By | June 19, 2025

The Bean Validation API is used for the validation of constraints on an object model using annotations. It can be very useful for validating the length, format, regular expressions, etc. of an object model. By default, bean validation is a Java specification; we need to explicitly provide its implementation. Basics of Bean Validation API In… Read More: Bean Validation – How to validate data using Bean Validation? »

How to map Entity to DTO using ModelMapper?

By | June 18, 2025

The ModelMapper is a library that is used for converting/mapping two similar object models to each other in a simple and easy way. It is used when the two models have similar data, but their structures and use cases are different. ModelMapper allows us to convert one model to another without affecting the original object… Read More: How to map Entity to DTO using ModelMapper? »

How to handle Global Exception using @ControllerAdvice annotation?

By | June 19, 2025

An Exception is a problem that arise during the execution of a program. For Example, If there is a text field and any user entered number/digits in it, the program must not be crashed rather it should shows any error message or throw an exception. In order to handle these exceptions, spring-based frameworks came along… Read More: How to handle Global Exception using @ControllerAdvice annotation? »

How to create REST API in Spring Boot? | RESTful User APIs

By | June 17, 2025

API stands for Application Programmable Interface. It is a mechanism that is used for two or more computer programs to communicate with each other using a set of standard protocols. For example, when we try to login to a website, a login api gets called and requests the website’s server for authentication, and the website’s… Read More: How to create REST API in Spring Boot? | RESTful… »

REST Architecture – What are REST APIs?

By | June 19, 2025

REST stands for REpresentational State Transfer. REST Architecture a software architectural design paradigm which provides a standard way of communication between different computer systems over the web. The computer system that compliant to REST are called Restful systems. These restful system communicate with each other using web-services called Restful Web Services or Restful APIs. These… Read More: REST Architecture – What are REST APIs? »