Skip to main content
CourseFlix

gRPC [Java] Master Class: Build Modern API & Micro services

5h 9m 9s
English
Paid

gRPC is a new and modern framework for building scalable, modern and fast API. It is leveraged by many top tech companies such as Google, Square & Netflix and enables programmers to write micro-services in any language they want while keeping the ability to easily create communications between these services. It relies on Protocol Buffers for the transport mechanism and Service Definition language.

In this course, we are going to explore in depth, with hands-on lectures, all the aspects to get started with gRPC.  

This course is hands-on and you will implement two services: Greet and a Calculator Service.

In just a few hours, you will know everything you need to know to write your .proto files, generate code in your Favourite Programming, and implement your services, servers and client in Java. There will be plenty of hands-on lectures and exercises for you to practice your newly acquired skills. 

It's time to say goodbye to slow and clunky REST API, and opt-in for a better API framework. 

gRPC Java Master Class is the best way to get a great overview of all the possibilities offered by gRPC with your favourite language

> Learn the gRPC theory to understand how gRPC works
> Compare gRPC and REST API paradigm
> Write your gRPC service definition in .proto files
> Generate Server & Client Code in Java using the Gradle gRPC plugin
> Implement Unary, Server Streaming, Client Streaming & Bi-Directional Streaming API
> Practice your learning with Exercises & Solutions
> Implement advanced concepts such as Error Handling, Deadlines & SSL Security
> Implement a full CRUD API on top of MongoDB
> Get pointers to expand your learning journey and get inspired by real world gRPC services

Note:This course expects you have some preliminary knowledge about Protocol Buffers. 

Section outline:

  • gRPC Course Overview: Get an understand of the course objectives, how the course is structured, download the course code and get ready!

  • [Theory] gRPC Internals Deep Dive: Learn how gRPC works behind the scenes. Learn about HTTP/2, Protocol Buffers efficiencies, and the differences of gRPC and REST.

  • [Hands-On] gRPC Project Overview & Setup: Setup your project using Gradle and learn how to trigger code generation

  • [Hands-On] gRPC Unary: API description & implementation

  • [Hands-On] gRPC Server Streaming: API description & implementation

  • [Hands-On] gRPC Client Streaming: API description & implementation

  • [Hands-On] gRPC Bi-Directional Streaming: API description & implementation

  • [Hands-On] gRPC Advanced Features Deep Dive: Advanced features such as Error Handling, Deadlines, SSL Security. 

  • Next Steps: Some useful real-world links & where to take your learning from here

This is the course that could change your API skills.  

Learning and getting hands-on on gRPC helps you to enhance your career opportunities and helps to boost your income. An investment in your career is an investment in yourself.  Don’t procrastinate. There is no time like the present to take charge of your career. Take your career to the next level by learning GRPC today!

Requirements:

  • Good Understanding of Java 8 Programming Language

  • Good Understanding of Protocol Buffers

Who this course is for:

  • Developers who want to understand how to write gRPC Services and Clients in Java
  • Architects who want to understand how gRPC works and the concepts behind the different types of API

What you'll learn:

  • Learn the gRPC theory to understand how gRPC works
  • Compare gRPC and REST API paradigm
  • Write your gRPC service definition in .proto files
  • Generate Server & Client Code in Java using the Gradle gRPC plugin
  • Implement Unary, Server Streaming, Client Streaming & Bi-Directional Streaming API
  • Practice your learning with Exercises & Solutions
  • Implement advanced concepts such as Error Handling, Deadlines & SSL Security
  • Implement a full CRUD API on top of MongoDB
  • Get pointers to expand your learning journey and get inspired by real world gRPC services

About the Author: udemy

udemy thumbnail

Udemy is a global online marketplace for teaching and learning. It connects students with instructors who share skills in many fields.

Who Uses Udemy

Millions of learners use Udemy to gain skills for work and personal growth. Companies, governments, and nonprofits also use Udemy to train their teams.

What Udemy Offers

Udemy provides a curated set of business and technical courses. These courses help teams build practical skills and support ongoing learning at work.

Watch Online 61 lessons

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 61 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: gRPC Introduction
All Course Lessons (61)
#Lesson TitleDurationAccess
1
gRPC Introduction Demo
08:18
2
Course Objective
02:48
3
About your instructor
02:21
4
Important Message
00:34
5
Protocol Buffers & Language Interoperability
08:41
6
HTTP/2
08:47
7
4 Types of gRPC APIs
04:37
8
Scalability in gRPC
01:39
9
Security in gRPC (SSL)
01:13
10
gRPC vs REST
05:11
11
Section Summary – why use gRPC
00:45
12
Java Gradle Project Setup
06:21
13
Dummy Service Code Generation
04:35
14
Server Setup Boilerplate Code
06:01
15
Client Setup Boilerplate Code
05:15
16
What’s an Unary API?
01:33
17
Greet API Definition
04:43
18
Unary API Server Implementation
07:31
19
Unary API Client Implementation
06:04
20
[Solution] Sum API
08:14
21
What's a Server Streaming API?
02:27
22
GreetManyTimes API Definition
02:21
23
Server Streaming API Server Implementation
05:50
24
Server Streaming API Client Implementation
04:04
25
[Solution] PrimeNumberDecomposition API
07:13
26
What's a Client Streaming API?
01:54
27
LongGreet API Definition
01:56
28
Client Streaming API Server Implementation
07:24
29
Client Streaming API Client Implementation - Part 1 - Refactoring
04:25
30
Client Streaming API Client Implementation - Part 2 - Implementation
10:10
31
[Solution] ComputeAverage API
11:05
32
What's a Bi-Directional Streaming API?
01:40
33
GreetEveryone API Definition
01:41
34
Bi-Directional Streaming API Server Implementation
03:53
35
Bi-Directional Streaming API Client Implementation
07:46
36
[Solution] FindMaximum API
07:49
37
[Theory] Errors in gRPC
03:37
38
[Hands-On] Errors implementation
08:39
39
[Theory] Deadlines
02:19
40
[Hands-On] Deadlines
10:21
41
[Theory] SSL Security
05:39
42
[Hands-On] SSL Security
13:40
43
[Demo] Language Interoperability
04:01
44
gRPC Reflection & Evans CLI
09:06
45
Install MongoDB
03:17
46
Install MongoDB UI - Robo 3T
01:11
47
Blog Service Java Setup
05:50
48
CreateBlog Server
09:45
49
CreateBlog Client
05:10
50
ReadBlog Server
07:12
51
ReadBlog Client
05:13
52
UpdateBlog Server
07:40
53
UpdateBlog Client
06:14
54
DeleteBlog Server
05:31
55
DeleteBlog Client
02:03
56
ListBlog Server
03:34
57
ListBlog Client
01:42
58
Evans CLI test with CRUD
03:52
59
gRPC Services in the Real Word
04:01
60
Congrats & Next Steps
01:10
61
THANK YOU!
01:33
Unlock unlimited learning

Get instant access to all 60 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Related courses

  • Learn Blockchain Technology & Cryptocurrency in Java thumbnail

    Learn Blockchain Technology & Cryptocurrency in Java

    Sources: udemy
    Blockchain is a revolutionary technology that allows for decentralized and distributed storage of information. Maybe the hottest topic at the moment in the fiel
    5 hours 44 minutes 32 seconds
  • Building Your First App with Spring Boot and Angular thumbnail

    Building Your First App with Spring Boot and Angular

    Sources: pluralsight
    Spring Boot and Angular have forever changed how web applications are built. Understanding how they work is essential for any full-stack developer. In this cour
    2 hours 22 minutes 15 seconds 5 / 5
  • Java Messaging Service - Spring MVC, Spring Boot, ActiveMQ thumbnail

    Java Messaging Service - Spring MVC, Spring Boot, ActiveMQ

    Sources: udemy
    Apache ActiveMQ is open source message broker developed in Java. Have you ever thought how WhatsApp works ? One to one messaging and one to many messaging tech
    1 hour 47 minutes 44 seconds
  • Cats thumbnail

    Cats

    Sources: rockthejvm.com
    We Scala programmers love abstractions and Cats is one of the most popular libraries. At the same time, Cats is notorious for having a steep learning curve. Fun
    10 hours 39 minutes 36 seconds
  • Recursion, Backtracking and Dynamic Programming in Java thumbnail

    Recursion, Backtracking and Dynamic Programming in Java

    Sources: udemy
    This course is about the fundamental concepts of algorithmic problems focusing on recursion, backtracking, dynamic programming and divide and conquer approaches
    9 hours 46 minutes 17 seconds
  • Java Master Class thumbnail

    Java Master Class

    Sources: Amigoscode (Nelson Djalo)
    Welcome to Amigoscode's most comprehensive Java course! It includes everything you need to gain a complete understanding of Java, code well and build your own applications…
    24 hours 40 minutes 37 seconds 5 / 5