Spring Data REST Events with @RepositoryEventHandler 1. Introduction While working with an entity, the REST exporter handles operations for creating, saving, and deleting events. We can use an ApplicationListener to listen to these events and execute a function when the particular action is performed. Alternatively, we can use annotated handler which filters… Continue Reading spring-data-rest-events

AngularJS CRUD Application with Spring Data REST 1. Overview In this tutorial, we’re going to create an example of a simple CRUD application using AngularJS for the front-end and Spring Data REST for the back-end. 2. Creating the REST Data Service In order to create the support for persistence, we’ll… Continue Reading angularjs-crud-with-spring-data-rest

Projections and Excerpts in Spring Data REST 1. Overview  In this article – we’ll explore Spring Data REST’s concepts of projections and excerpts. We’ll learn how to use projections to create custom views of our models and how to use excerpts as default views to resource collections. 2. Our Domain… Continue Reading spring-data-rest-projections-excerpts

Working with Relationships in Spring Data REST 1. Overview In this article, we’re going to take a look at how to work with relationships between entities in Spring Data REST. We will focus on the association resources that Spring Data REST exposes for a repository, considering each type of relationship… Continue Reading spring-data-rest-relationships