Home » rest web service

Tag Archives: rest web service

Publishing & Subscribing to AWS SNS Messages with Node.js

Hello. In this tutorial, we will see publishing and subscribing to AWS SNS Messages with Node.js. We will understand AWS SNS and create a simple application that will interact with SNS with the help of exposed endpoints. 1. Introduction AWS Simple Notification Service (SNS) is a cloud service for delivering notifications from applications to subscribed endpoints and clients. It is ...

Read More »

Spring Rest Hibernate Example

Welcome readers, in this tutorial, we will show how to implement the REST services to perform the SQL operations using the Spring MVC and Hibernate framework. 1. Introduction Developers can refer to this link to briefly understand the Spring, Spring MVC, and Hibernate framework. 1.1 Download and Install Hibernate Developers can read this tutorial in order to download and install ...

Read More »

JAX-RS Web Service Example

Hello readers. In this tutorial, we will show how to use the JAX-RS (RESTful) jar files to implement a simple Hello World Web Service in Java. 1. Introduction JAX-RS stands for RESTful Web Services. JAX-RS is a set of APIs to develop the REST services. It is part of the Java EE6 and makes developers to develop the REST web ...

Read More »

JUnit Example For Rest Web Services

In this example, we shall show users how they can test a REST service with the help of the JUnit. We will use the Jersey and REST assured for this example. Table Of Contents 1. Introduction 2. Technologies Used 3. What is Jersey? 4. What is REST assured? 5. Project SetUp 6. JUnit Example for REST Web Services 6.1 Java ...

Read More »

JAX-RS Annotations Explained

In this example we shall learn some important JAX-RS annotations. To understand this tutorial, following is the prerequisite knowledge required: Basic knowledge of how to use annotations Basic REST Architecture Table Of Contents 1. JAX-RS Annotations 1.1. @Path 1.2. @PathParam 1.3. @GET 1.4. @POST 1.5. @PUT 1.6. @DELETE 1.7. @Consumes 1.8. @Produces 1.9. @QueryParam 2. Download the source code 1. ...

Read More »

Java JSON RESTful Web Service Example

In this example we shall learn implementing Restful Web Service in Java where the data interchange format shall be JSON. 1. Introduction to RESTful Web Services RESTful Web Services follow REST architecture which stands for REpresentational State Transfer. RESTful web services are light weight and highly scalable is one of the most common way to create APIs on web. In ...

Read More »

Creating JAX-RS web service using Jersey Example

Introduction Jersey as it states in the website, is more than just a reference implementation. It also has it’s own API that extends the specification toolkit with additional wrapped features and utilities to simplify RESTful service and client development. It also exposes numerous extension SPIs so that developers may extend Jersey to best suit their needs. For this post, we’re ...

Read More »