Do you have a lot of data that you'd like to expose via RESTful web services? In this course, we'll look at how you can use Spring, Spring Data, and Spring Data REST to easily take your data from your data access layer to consumable JSON by a front-end framework.
Getting Started Hey. This is Dan Bunker with Pluralsight and welcome to my course on Spring Data REST. This framework is all about exposing your data access layer via a REST API with minimal to no coding efforts, and software focuses on services that provide data to mobile clients, and single page applications like AngularJS having the ability to quickly and easily setup REST resources around your data becomes very valuable within your overall application architecture. This course is going to discuss what REST really is, How Spring Data REST can be used with your data access layer, how to customize the payload content of your REST services, and how to effectively use Spring Data REST in the Enterprise environment. If you are a REST pro or you've never heard of REST before, there'll be plenty of good content to consume in this course as we learn exactly what Spring Data REST can do, so without any further ado, let's talk about what it does.
Making Repositories RESTful Hi. This is Dan Bunker with Pluralsight. By now you've seen how easy it is to plugin Spring Data REST into a Spring database project and you've seen it working in action. This module is going to uncover some of the magic behind Spring Data REST, so we can understand how it works to actually produce RESTful services. The key to understanding Spring Data REST lies with the concept of the Spring Data repository. When we're finished with this module you'll be able to explain how Spring Data REST produces REST endpoints and how you can customize those REST endpoints to read and write data by utilizing those Spring Data repositories. Let's get started by seeing what Spring Data REST is doing with the repository.
Customizing REST Payloads Hi. This is Dan Bunker with Pluralsight. By now you've seen the power of Spring Data REST and how Spring repositories can be used to handle collections, single item resources, and associations with proper REST API endpoints. This may be enough for some project needs, however, if you are working with a large set of entities and repositories in an enterprise setting or you're concerned about how much data is being transferred across the wire to your API consumers, you'll probably want to start customizing the payload responses of your REST API. If that's the case you're in luck because this module is all about customizing the JSON payloads. Throughout this module I'll show you how to provide data subsets, speed up data transfers by reducing your network footprint, and change JSON attribute names, which prevents tight API coupling to your data models, so let's get started by examining the default payloads that Spring Data REST produces.
Beyond the Basics Hi. This is Dan Bunker with Pluralsight and welcome to the last module of this course. We've spent all of our time up to this point covering most of the foundational basics of Spring Data REST, such as installing it, running it, and doing some basic customization with it. This should give you enough background to start using Spring Data REST in the real world on a real project. However, when you begin working with a technology on a day to day basis you run into application functionality that take you beyond the basics. Stuff like security, validation, and suring up your API, so consumers or clients can access and use your API, are generally needed on just about every real project. This module is going to cover these more advanced Enterprise features of the framework, so let's go ahead and get started with security.