Implementing Generic Exception Handling for all Resources As we discussed earlier that we should define a standard exception structure which is followed…
types of web service
-
-
Introduction to Swagger Documentation Format In this section, we look at the generated documentation in detail. Swagger is a specification for documenting…
-
Updating GET Methods on User Resource to Use JPA In this topic, we will create a service that retrieves all the users.…
-
Configuring Auto Generation of Swagger Documentation Swagger A Swagger is an open-source tool. It builds around the OpenAPI Specification that helps developers…
-
Implementing HATEOAS for RESTful Services HATEOAS HATEOAS acronyms for Hypermedia as the Engine of Application State. The term hypermedia refers to content…
-
Internationalization of RESTful Services In this section, we will discuss the Internationalization of the RESTful Web Services. Internationalization Internationalization is the process…
-
Implementing Exception Handling- 404 Resource Not Found In the previous section, we had returned the proper response status of CREATED when we…
-
Connecting RESTful Services to JPA Creating a User Entity and some test Data Let’s create a User entity and a UserRepository so…
-
Implementing Validations for RESTful Services The validation is a common requirement in all the services. We will discuss Java Validation API to…
-
Implementing Basic Authentication with Spring Security In the previous steps, we have created some resources, but none of them is secure yet.…