Skip to Content
RESTful Web APIs with Spring
on-demand course

RESTful Web APIs with Spring

with Josh Long
March 2014
Intermediate
3h 58m
English
Pearson
Closed Captioning available in English, Japanese, Korean, Chinese (Simplified), Chinese (Traditional)

Overview

4 Hours of Video Instruction

Overview

RESTful Web APIs with Spring LiveLessons demonstrates how to write REST services, and manage, secure and consume them using Spring Boot.

Description

REST has enabled people to build mobile applications that capture our imagination, entertain us, and help us. REST has ushered in a generation of incredibly sophisticated, HTML5-powered browser applications. REST has also made it easier for organizations to adopt a service-oriented architecture with less friction.

REST’s flexibility, however, can also be its greatest weakness: as often as not there is no clear guidance on where to go and how to get there. What does it mean to deploy a REST service? How do you handle errors in a REST service? What's the easiest way to write a REST service?

Spring Developer Advocate Josh Long discusses and demonstrates strategies for securing REST API access along with handling errors and versioning. These LiveLessons also cover how hypermedia and HATEOAS help you to deliver developer and consume friendly web services.

About the Instructor

Josh Long is an open-source developer and the Spring developer Advocate at Pivotal.

He is the author of four books and is the author of Spring Framework LiveLessons. Josh has spoken at many different industry conferences internationally including TheServerSide Java Symposium, SpringOne, OSCON, JavaZone, Devoxx, Java2Days and many others. When he’s not hacking on code for SpringSource, he can be found at the local Java User Group or at the local coffee shop. Josh likes solutions that push the boundaries of the technologies that enable them. His interests include scalability, BPM, grid.processing, mobile computing and so-called "smart" systems. He blogs at spring.io/blog or joshlong.com.

You can follow Josh on Twitter: @starbuxman

Josh Long’s Spring Framework LiveLessons provides a walking tour of all of the Spring projects, including: Spring, Spring MVC, Spring Data, Spring Batch, Spring Integration, Spring Security, Spring Social, and more.

Skill Level

  • Intermediate

What You Will Learn

  • Spring and Spring Boot
  • How to build a REST service using Spring
  • How to embrace hypermedia with Spring HATEOAS
  • How to secure a REST API
  • What's involved in deploying a micro service

Who Should Take This Course

  • Developers who want to jump on board the REST bandwagon.
  • REST is the key to enabling mobile and HTML5 applications.
  • REST is the technology that lets you play in a distributed, multi client world.

Course Requirements

  • Some familiarity with basic Java is assumed.

Table of Contents

INTRODUCTION

Lesson 1: Starting with Spring

Topics

1.1 Spring IO

1.2 Spring.io Website and Resources

1.3 Spring 4

1.4 Spring Boot

Lesson 2: Testing

Topics

2.1 Testing with Spring Boot

Lesson 3: Spring MVC

Topics

3.1 Model-View-Controller

3.2 Installing Spring MVC

3.3 A Rich Servlet Toolkit

Lesson 4: REST Essentials

Topics

4.1 What is REST?

4.2 HTTP Verbs

4.3 Status Codes

4.4 Content Negotiation

4.5 Some REST Power Tools

Lesson 5: Towards Hpyermedia

Topics

5.1 The Maturity Model—Basic REST

5.2 Building a Basic RESTful Service

5.3 HATEOAS

5.4 Spring Data REST

Lesson 6: Testing Web Services with Spring MVC Test Framework

Topics

6.1 Testing

Lesson 7: Error Handling

Topics

7.1 Handling Errors in a REST API

7.2 Status Codes

7.3 Descriptive Errors

7.4 Using @ControllerAdvice

Lesson 8: API Versioning

Topics

8.1 Versioning Your API

Lesson 9: Security

Topics

9.1 Spring Security

9.2 Securing REST Services

9.3 SSL and TLS

9.4 The Trouble with Passwords

9.5 X-Auth

9.6 OAuth

Lesson 10: The Connected Web of APIs

Topics

10.1 A Connected World in 60 Seconds

10.2 Spring Social

10.3 Spring Social Bindings — Demo 1

10.4 Spring Social Bindings — Demo 2

Lesson 11: Deployment

Topics

11.1 Micro Service Architecture

11.2 Embedded Web Servers

11.3 Traditional / Classic Servers

11.4 Cloud

11.5 Production Ready REST

About LiveLessons Video Training

The LiveLessons Video Training series publishes hundreds of hands-on, expert-led video tutorials covering a wide selection of technology topics designed to teach you the skills you need to succeed. This professional and personal technology video series features world-leading author instructors published by your trusted technology brands: Addison-Wesley, Cisco Press, IBM Press, Pearson IT Certification, Prentice Hall, Sams, and Que. Topics include: IT Certification, Programming, Web Development, Mobile Development, Home and Office Technologies, Business and Management, and more. View all LiveLessons on InformIT at: http://www.informit.com/livelessons

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Watch now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

REST Applications with Spring: Create Scalable REST APIs Using Spring

REST Applications with Spring: Create Scalable REST APIs Using Spring

Tomasz Lelek

Publisher Resources

ISBN: 9780133890204