Spring Rest service Hello world with JSON

Create a new Maven Web project in eclipse (Refer Spring MVC Hello World project for the same) Project structure Step 1 Update pom.xml with below dependencies <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">     <modelVersion>4.0.0</modelVersion>     <groupId>SpringRestHelloWorldJSON</groupId>     <artifactId>SpringRestHelloWorldJSON</artifactId>     <packaging>war</packaging>     <version>0.0.1-SNAPSHOT</version>     <name>SpringRestHelloWorldJSON Maven Webapp</name>     […]

Share this article on

Spring Rest Service CRUD operations with JSON

CRUD stands for Create,Read,Update and Delete operation These are the most common operations that we perform in any application. Let’s do these operations using Spring Rest service. Requirement : Perform CRUD operations on USER object. We have User Domain object, we can insert User data, read the inserted data, Update some user information and finally […]

Share this article on
< Previous Next >