Video description
In Angular for Java Developers Part Four: Connecting to a REST back end you’ll learn how to connect an Angular front end up with a Java (Spring Boot) based back end system using REST. You’ll also learn how to deal with slow and unavailable connections and deal with issues such as CORS for multiple-domain applications, how to set up a back end with Spring Boot, pre-processing data, and pre-fetching data.
about the subject
The Angular framework is used by millions of developers, powering frontends from simple prototypes to Google’s own web apps. Prized for its scalability, Angular also offers lightning fast speed and response times and the chance to reuse code for both web and mobile. Best of all, it can be integrated with backends built in Java.
about the video
Angular for Java Developers is a five course series that teaches Java programmers how to use Angular and JavaScript to build applications that are maintainable, testable, and secure. In Part Four, you’ll connect your front end to a back end system using REST. You’ll learn about environments, creating, configuring and testing a Spring Boot based REST API, and how to implement REST from Angular.
Inside:
- The fourth course in the Angular for Java Developers series
- Creating environment variables
- Initiating the call to a REST endpoint
- Configuring a Spring Boot REST endpoint to work well with Angular
- Setting up your back end correctly with Spring Boot
- Dealing with slow REST responses and catching errors
- Customizing data with JavaScript objects
- Pre-fetching data with navigation and a service
prerequisites
For viewers with basic Java experience.
about the instructor
Matt Greencroft has over twenty years of experience as a programmer, primarily working in the banking sector. Matt now teaches for Virtual Pair Programmers. His specialties are Microservices, Spring Boot, Apache Spark and Kotlin.
Table of contents
-
1. SETTING UP ENVIRONMENTS
- Creating environment variables 00:07:09
- How environments work 00:02:19
- Creating our own environments 00:10:50
- Selecting an environment to serve 00:04:29
-
2. CREATING THE REST API
- Creating a REST method 00:07:01
- Testing REST methods 00:02:55
- Exercise 1 - creating REST methods 00:01:31
- Exercise 1 - solution walkthrough 00:08:00
- Adjusting the User object 00:08:27
-
3. CONNECTING TO A REST ENDPOINT
- Initiating the call to a REST endpoint 00:08:47
- Cross Original Resource Sharing (CORS) 00:04:48
- Configuring CORS in Spring 00:06:15
- Manipulating the REST return data type 00:07:18
- Pre-processing the REST return data 00:04:58
- Optional calling a REST endpoint exercise 00:01:07
- Pre-processing complex data 00:08:09
-
4. DEALING WITH SLOW AND UNAVAILABLE CONNECTIONS
- Dealing with slow REST responses 00:04:42
- Catching REST errors 00:03:22
- Investigating REST errors 00:05:20
- Retrying when an error occurs 00:05:36
- Surviving a page refresh 00:03:44
- Exercise 2 - Dealing with slow and unavailable connections 00:00:54
- Exercise 2 - Solution walkthrough 00:02:48
-
5. POSTING AND PUTTING DATA
- Sending data via REST 00:10:06
- Customising data with JavaScript objects 00:04:54
- Exercise 3 - Post and putting data 00:01:42
- Exercise 3 - Solution walkthrough 00:12:24
- Bug fixing 00:03:19
-
6. TEMPLATE EXPRESSIONS
- Implementing DELETE 00:05:22
- Completing the users component 00:07:03
- Exercise 4 - Implementing REST from Angular 00:01:38
- Exercise 4 - Solution walkthrough 00:12:28
- Getting a confirmation before deleting 00:02:01
-
7. PRE-FETCHING DATA
- Setting up the edit booking functionality 00:06:28
- The concept of pre-fetching data 00:03:40
- Pre-fetching data with navigation and a service 00:14:55
- Using a resolver 00:11:22
- Module summary 00:00:58
Product information
- Title: Connecting Angular to a REST Back End (Angular for Java Developers - Part 4)
- Author(s):
- Release date: April 2020
- Publisher(s): Manning Publications
- ISBN: 10000MNHV201929
You might also like
book
The Complete Coding Interview Guide in Java
Explore a wide variety of popular interview questions and learn various techniques for breaking down tricky …
video
Full Stack Web Development Mastery Course - Novice to Expert
Full stack development refers to the development of both frontend (client-side) and backend (server-side) portions of …
book
Java Coding Problems
Develop your coding skills by exploring Java concepts and techniques such as Strings, Objects and Types, …
video
The Complete Practical Docker Guide
Docker is a software framework for building, running, and managing containers on servers and the cloud. …