In this tutorial, You will learn how to Build a RESTful Web Service using spring 4 MVC. RestController accepts HTTP GET request and returns the JSON representation. So let's start from scratch with step by step guide.
In this tutorial, You will learn how to Upload Files using Spring 4 MVC application. This example will help you how to configure MultipartResolver using java config. To upload files I am using Apache commons fileupload API.
In this tutorial, You will learn how to connect to MongoDB database and perform the different CRUD operations using Spring 4 and MongoTemplate. We have used Java base configurations to load the MongoTemplate. Refer below steps to accessing data with MongoDB using Spring 4.