Spring Boot + ReactJS CRUD Example

Introduction Here you will see tutorial on Spring Boot + ReactJS Example. The backend application is built using Spring Boot framework that exposes RESTful APIs for performing CRUD operations. You might have seen many examples of Spring MVC web application application using JSP as a front-end technology but here I will use React JS as a front-end technology to build…

Spring Data JPA Specification Criteria Query With IN Clause Example

Spring Data JPA Specification Here I will create an example on Spring Data JPA Specification Criteria Query with IN Clause. Spring Data JPA Specification Criteria Query generally used for search functionality on a page where users want to search by providing some inputs or by selecting several dropdown values. In this example I will show you how to use collection…

Junit Testing Of File Upload And Download

Junit Test Here in this tutorial you will see examples on Junit testing of file upload and download in Spring REST Controllers. You might have seen how to write Junit test cases on Spring REST Controllers in my other tutorials but I did not show how to write Junit testing of file upload and download in Spring REST Controllers but…

File Download Example Using Spring REST Controller

File Download File download example using Spring REST Controller will show you how to download a file from any client (browser or any client) and Spring REST service is used as a server side technology for downloading the file. The file may be any type, i.e., such as excel, text, word, pdf etc. Here I will create Spring Boot application…

File Upload Example Using Spring REST Controller

File Upload File upload example using Spring REST Controller will show you how to upload a file when selected for uploading from any client (browser or any client) and Spring REST service is used as a server side technology for uploading the file. The file may be any type, i.e., such as excel, text, word, pdf etc. HereIe will create…

Spring Boot MVC AutoComplete Using jQuery

Auto Complete Autocomplete allows you to easily create autocomplete and auto-suggest boxes for text input fields. When you start a search on Google, you can find the information you are looking for using search predictions. Search predictions are possible search terms you can use that are related to the terms you are typing and what other people are searching for….

Server Sent Events with Spring – Push Notifications

Push Notification I am going to show you an example on how to build an app to send push notifications using Spring’s server sent events (SSE) API. You might have seen a popular choice for sending real time data from server to client in web application is using WebSocket in my previous tutorials Messaging with STOMP over WebSockets using Spring,…

Spring Boot REST API Documentation with Swagger 2

Introduction This tutorial will show you how to use swagger 2 using Spring Boot application for creating RESTful documentation. You generally create and deploy REST services but you do not have an option to let others know in a single place, where REST services are exposed for consumption or what details are there for a REST API, what is the…

Junit Testing Spring REST Services

Introduction In this tutorial we will see how to write Junit test cases on Spring REST services. Before continue to reading this tutorial please read first Spring RESTful Webservice CRUD Example We have total four operations on this REST example. If you want you may add more operation such as find all products and apply Junit on it.

Spring RESTful Webservice CRUD Example

Introduction In this tutorial we will see how to build Spring RESTFul WebService CRUD example. Here we will use Spring version 4. We will create a controller that will manage CRUD operations such as Create, Read, Update and Delete using the correct HTTP request methods POST, GET, PUT and DELETE respectively. You may also be interested to read Junit Testing…