RESTful Web APIs with Spring

Video description

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

Table of contents

  1. RESTful Web APIs with Spring LiveLessons: Introduction
    1. RESTful Web APIs with Spring LiveLessons: Introduction
  2. Lesson 1: Starting with Spring
    1. Topics
    2. 1.1 Spring IO
    3. 1.2 Spring.io Website and Resources
    4. 1.3 Spring 4
    5. 1.4 Spring Boot
  3. Lesson 2: Testing
    1. Topics
    2. 2.1 Testing with Spring Boot
  4. Lesson 3: Spring MVC
    1. Topics
    2. 3.1 Model View Controller
    3. 3.2 Installing Spring MVC
    4. 3.3 A Rich Servlet Toolkit
  5. Lesson 4: REST Essentials
    1. Topics
    2. 4.1 What is REST?
    3. 4.2 HTTP Verbs
    4. 4.3 Status Codes
    5. 4.4 Content Negotiation
    6. 4.5 REST Power Tools
  6. Lesson 5: Towards Hypermedia
    1. Topics
    2. 5.1 The Maturity Model—Basic REST
    3. 5.2 Building a Basic RESTful Service
    4. 5.3 HATEOAS
    5. 5.4 Spring Data REST
  7. Lesson 6: Testing REST
    1. Topics
    2. 6.1 Testing Web Services with Spring MVC Test Framework
  8. Lesson 7: Error Handling
    1. Topics
    2. 7.1 Handling Errors in a REST API
    3. 7.2 Status Codes
    4. 7.3 Descriptive Errors
    5. 7.4 Using @ControllerAdvice
  9. Lesson 8: API Versioning
    1. Topics
    2. 8.1 Versioning Your API
  10. Lesson 9: Security
    1. Topics
    2. 9.1 Spring Security
    3. 9.2 Securing REST Services
    4. 9.3 SSL and TLS
    5. 9.4 The Trouble with Passwords
    6. 9.5 X-Auth
    7. 9.6 OAuth
  11. Lesson 10: The Connected Web of APIs
    1. Topics
    2. 10.1 A Connected World in 60 Seconds
    3. 10.2 Spring Social
    4. 10.3 Spring Social Bindings - Demo 1
    5. 10.4 Spring Social Bindings - Demo 2
  12. Lesson 11: Deployment
    1. Topics
    2. 11.1 Micro Service Architecture
    3. 11.2 Embedded Web Servers
    4. 11.3 Traditional / Classic Servers
    5. 11.4 Cloud
    6. 11.5 Production Ready REST
  13. Summary
    1. Summary of RESTful Web APIs with Spring LiveLessons

Product information

  • Title: RESTful Web APIs with Spring
  • Author(s):
  • Release date: March 2014
  • Publisher(s): Pearson
  • ISBN: 9780133890204