December 7, 2023

Spring Boot Microservices – Creating REST API using Spring Boot

In the post Exposing repositories as REST resources, we exposed a repository as a RESTful interface using Spring Data REST. However, that’s not the conventional way of creating REST API for Spring Boot Microservices. That particular approach works best if your data model is exactly similar to your domain model. Usually, that’s not the case. In this post, we will look at the right way of creating REST API using Spring Boot.

Spring Boot Microservices – Creating REST API using Spring Boot Read More

RESTful Web Services : Simple Tutorial For Beginners

If you are familiar with modern web development then you will have encounter the terms like REST and API. If you have worked with APIs or heard of these terms but do not have complete understanding of how to build your own API or how they communicate and work, this tutorial RESTful web services – simple tutorial for beginners is for you. In this tutorial, I will be sharing what are REST and RESTful APIs, overview of REST principles, understanding the terms Request and Response, REST API Endpoints and at last conclusion.

RESTful Web Services : Simple Tutorial For Beginners Read More

RESTful Java client with java.net.URL

In this tutorial, we show you how to create a RESTful Java client with Java build-in HTTP client library. It’s simple to use and good enough to perform basic operations for REST service. The RESTful services from last “Jackson + JAX-RS” article will be reused, and we will use “java.net.URL” and “java.net.HttpURLConnection” to create a simple Java client to send “GET” and “POST” request.

RESTful Java client with java.net.URL Read More

Crud operation with REST API using JAX-RS

Crud operation basically refers to create, read, update and delete as insert a data or record, get or search data, modify data or record and delete a record. Crud has standardized the use of HTTP action verbs: POST as an insert data, GET as a read/retrieve data, PUT as an update data, DELETE as a delete data . JAX-RS is a JAVA-based programming language API and specification that allows RESTful Web Services to be established.

Crud operation with REST API using JAX-RS Read More

Overview of the core JAX-RS concepts, important annotations

This tutorial presents an overview of the core JAX-RS concepts, important annotations. JAX-RS is Java API for RESTful Web Services (JAX-RS) is a Java programming language API spec that provides support in creating web services according to the Representational State Transfer (REST) architectural pattern. There are two main implementations of JAX-RS API: Jersey Framework and RESTEasy.

Overview of the core JAX-RS concepts, important annotations Read More