تبلیغات

آموزش تسلط بر میکروسرویس ها با Spring Boot و Spring Cloud

دسته بندی ها: آموزش اسپرینگ (Spring MVC) ، آموزش های Packtpub ، آموزش جاوا (Java)

توسعه خدمات RESTful وب لذتبخش است. ترکیبی از Spring Boot، Spring Web MVC، Spring Web Services و JPA باعث می شود که حتی سرگرم کننده تر نیز باشد. دو بخش برای این دوره وجود دارد - خدمات وب RESTful و Microservices. معماری به سمت Microservices حرکت می کند. خدمات وب RESTful اولین گام برای توسعه میکروسرویس ها هستند. Spring Boot همراه با Spring Web MVC (همچنین به نام Spring REST) ساختن خدمات وب RESTful را آسان می کند. در قسمت اول دوره، شما اصول اولیه خدمات وب RESTful را برای ایجاد یک اپلیکیشن برای رسانه های اجتماعی خواهید آموخت. شما یاد خواهید گرفت چگونه این منابع را با ویژگی های متعدد از جمله نسخه برداری، پردازش استثنا، اسناد (Swagger)، احراز هویت (امنیت Spring)، فیلتر کردن، و HATEOAS پیاده سازی کنید. شما بهترین شیوه ها را در طراحی خدمات RESTful وب خواهید آموخت. در این قسمت از دوره، شما از Spring (مدیریت وابستگی)، Spring MVC یا Spring REST همراه با Spring Boot، Spring Security (تایید و احراز هویت)، Swagger (مستندسازی)، Maven (مدیریت وابستگی)، (Eclipse (IDE و  Postman و Tomcat embedded web server استفاده می کنید.  ما به شما کمک خواهیم کرد که هر یک از اینها را تنظیم کنید. در بخش دوم دوره، شما اصول اولیه Microservices را یاد خواهید گرفت. شما متوجه خواهید شد که Microservices را با استفاده از Spring Cloud اجرا کنید. در این بخش از درس، شما یاد خواهید گرفت چگونه ارتباط بین Microservices را برقرار کنید، load balancing و مقیاس بالا و پایین Microservices را فعال کنید. همچنین پیکربندی Microservices with Spring Cloud config server را فرا خواهید گرفت.

سرفصل:

  • معرفی دوره
  • Microservices و RESTful APIs با Spring Boot و Spring Cloud
  • نصب ابزارهای اولیه
  • معرفی Web Service
  • Web Service چیست؟
  • معرفی SOAP Web Services
  • معرفی RESTful Web Services
  • Restful Web Services با Spring Boot
  • Microservices با Spring Cloud
  • کامپوننت های میکروسرویس ها
  • ویژگی های میکروسرویس ها
  • معرفی Spring Boot در 10 مرحله
  • معرفی JPA در 10 مرحله
  • نصب گیت
  • نظارت و مانیتورینگ APIs با Spring Boot Actuator
  • و غیره
آیا این نوشته را دوست داشتید؟
Master Microservices with Spring Boot and Spring Cloud [Video] Publisher:Packtpub Author:Ranga Karanam Duration:11 hours and 3 minutes

An awesome journey from RESTful web services to microservices with Spring Boot and Spring Cloud
Developing RESTful web services is fun. The combination of Spring Boot, Spring Web MVC, Spring Web Services, and JPA makes it even more fun. And it's even more fun to create Microservices. There are two parts to this course - RESTful web services and Microservices. Architectures are moving towards Microservices. RESTful web services are the first step to developing great Microservices. Spring Boot, in combination with Spring Web MVC (also called Spring REST) makes it easy to develop RESTful web services. In the first part of the course, you will learn the basics of RESTful web services developing resources for a social media application. You will learn how to implement these resources with multiple features including versioning, exception handling, documentation (Swagger), basic authentication (Spring Security), filtering, and HATEOAS. You will learn the best practices in designing RESTful web services. In this part of the course, you will be using Spring (Dependency Management), Spring MVC (or Spring REST), Spring Boot, Spring Security (Authentication and Authorization), Spring Boot Actuator (Monitoring), Swagger (Documentation), Maven (dependencies management), Eclipse (IDE), Postman (REST Services Client), and the Tomcat embedded web server. We will help you set up each one of these. In the second part of the course, you will learn the basics of Microservices. You will understand how to implement Microservices using Spring Cloud. In this part of the course, you will learn how to establish communication between Microservices, enable load balancing, and the scaling up and down of Microservices. You will also learn to centralize the configuration of Microservices with Spring Cloud config server. You will implement the Eureka naming server and distributed tracing with Spring Cloud Sleuth, and Zipkin. You will create fault-tolerant Microservices with Zipkin.
Style and Approach
This course is very helpful for both beginners and experienced students who wish to gain knowledge on Restful web services and Spring Boot.
Released: Tuesday, March 20, 2018
Introduction
Microservices and RESTful APIs with Spring Boot and Spring Cloud - Preview
Microservices and RESTful APIs with Spring Boot & Spring Cloud - Course Overview
Microservices and RESTful APIs with Spring Boot & Spring Cloud - Git Repository
Installing Basic Tools
Introduction To Web Services
What is a Web Service?
Important How Questions related to Web Services
Web Services - Key Terminology
Introduction to SOAP Web Services
Introduction to RESTful Web Services
SOAP vs RESTful Web Services
Restful Web Services with Spring Boot
Section Introduction - RESTful Web Services with Spring Boot
Step 01 - Initializing a RESTful Services Project with Spring Boot
Step 02 - Understanding the RESTful Services we would create in this course
Step 03 - Creating a Hello World Service
Step 04 - Enhancing the Hello World Service to return a Bean
Step 05 - Quick Review of Spring Boot Auto Configuration and Dispatcher Servlet
Step 06 - Enhancing the Hello World Service with a Path Variable
Step 07 - Creating User Bean and User Service
Step 08 - Implementing GET Methods for User Resource
Step 09 - Implementing POST Method to create User Resource
Step 10 - Enhancing POST Method to return correct HTTP Status Code and Location
Step 11 - Implementing Exception Handling - 404 Resource Not Found
Step 12 - Implementing Generic Exception Handling for all Resources
Step 13 - Exercise: User Post Resource and Exception Handling
Step 14 - Implementing DELETE Method to delete a User Resource
Step 15 - Implementing Validations for RESTful Services
Step 16 - Implementing HATEOAS for RESTful Services
Step 17 - Overview of Advanced RESTful Service Features
Step 18 - Internationalization for RESTful Services
Step 19 - Content Negotiation - Implementing Support for XML
Step 20 - Configuring Auto Generation of Swagger Documentation
Step 21 - Introduction to Swagger Documentation Format
Step 22 - Enhancing Swagger Documentation with Custom Annotations
Step 23 - Monitoring APIs with Spring Boot Actuator
Step 24 - Implementing Static Filtering for RESTful Service
Step 25 - Implementing Dynamic Filtering for RESTful Service
Step 26 - Versioning RESTful Services - Basic Approach with URIs
Step 27 - Versioning RESTful Services - Header and Content Negotiation Approach
Step 28 - Implementing Basic Authentication with Spring Security
Step 29 - Overview of Connecting RESTful Service to JPA
Step 30 - Creating User Entity and some test data
Step 31 - Updating GET methods on User Resource to use JPA
Step 32 - Updating POST and DELETE methods on User Resource to use JPA
Step 33 - Creating Post Entity and Many to One Relationship with User Entity
Step 34 - Implementing a GET service to retrieve all Posts of a User
Step 35 - Implementing a POST service to create a Post for a User
Step 36 - Richardson Maturity Model
Step 37 - RESTful Web Services - Best Practices
Microservices with Spring Cloud
Section Introduction - Microservices with Spring Cloud
Step 00 - 01 - Introduction to Microservices
Step 00 - 02 - Challenges with Microservices
Step 00 - 03 - Introduction to Spring Cloud
Step 00 - 04 - Advantages of Microservices Architectures
Step 00 - 05 - Microservice Components - Standardizing Ports and URL
Step 01 - Part 1 - Intro to Limits Microservices and Spring Cloud Config Server
Step 01 - Part 2 - Setting up Limits Microservices
Step 02 - Creating a hard coded limits service
Step 03 -Enhance limits service to get configuration from application properties
Step 04 - Setting up Spring Cloud Config Server
Step 05 - Installing Git
Step 06 - Creating Local Git Repository
Step 07 - Connect Spring Cloud Config Server to Local Git Repository
Step 08 - Configuration for Multiple Environments in Git Repository
Step 09 - Connect Limits Service to Spring Cloud Config Server
Step 10 - Configuring Profiles for Limits Service
Step 11 - A review of Spring Cloud Config Server
Step 12 - Introduction to Currency Conversion and Currency Exchange Microservice
Step 13 - Setting up Currency Exchange Microservices
Step 14 - Create a simple hard coded currency exchange service
Step 15 - Setting up Dynamic Port in the the Response
Step 16 - Configure JPA and Initialized Data
Step 17 - Create a JPA Repository
Step 18 - Setting up Currency Conversion Microservices
Step 19 - Creating a service for currency conversion
Step 20 - Invoking Currency Exchange Microservices from Currency Conversion Micro
Step 21 - Using Feign REST Client for Service Invocation
Step 22 - Setting up client side load balancing with Ribbon
Step 23 - Running client side load balancing with Ribbon
Step 24 - Understand the need for a Naming Server
Step 25 - Setting up Eureka Naming Server
Step 26 - Connecting Currency Conversion Microservices to Eureka
Step 27 - Connecting Currency Exchange Microservices to Eureka
Step 28 - Distributing calls using Eureka and Ribbon
Step 29 - A review of implementing Eureka, Ribbon and Feign
Step 30 - Introduction to API Gateways
Step 31 - Setting up Zuul API Gateway
Step 32 - Implementing Zuul Logging Filter
Step 33 - Executing a request through Zuul API Gateway
Step 34 - Setting up Zuul API Gateway between Microservices invocations
Step 35 - Introduction to Distributed Tracing
Step 36 - Implementing Spring Cloud Sleuth
Step 37 - Introduction to Distributed Tracing with Zipkin
Step 38 - Installing Rabbit MQ
Step 39 - Setting up Distributed Tracing with Zipkin
Step 40 - Connecting Microservices to Zipkin
Step 41 - Using Zipkin UI Dashboard to trace requests
Step 42 - Understanding the need for Spring Cloud Bus
Step 43 - Implementing Spring Cloud Bus
Step 44 - Fault Tolerance with Hystrix
FAQ 01 - Microservices Characteristics
FAQ 02 - What do you do next?
Appendix - Introduction to Spring Boot in 10 Steps
0005 - Section Introduction 04 - Introduction to Spring Boot in 10 Steps
Step 1 : Introduction to Spring Boot - Goals and Important Features
Step 2 : Developing Spring Applications before Spring Boot
Step 3 : Using Spring Initializer to create a project
Step 4 : Creating a Simple REST Controller
Step 5: What is Spring Boot Auto Configuration?
Step 6 : Spring Boot vs Spring vs Spring MVC
Step 7 : Spring Boot Starter Projects - Starter Web and Starter JPA
Step 8 : Overview of different Spring Boot Starter Projects
Step 9 : Spring Boot Actuator
Step 10 : Spring Boot Developer Tools
Appendix - Introduction to JPA in 10 Steps
Section Introduction - Introduction to JPA in 10 Steps
Step 1 : Object Relational Impedence Mismatch
Step 2 : World before JPA - JDBC, Spring JDBC and myBatis
Step 3 : Introduction to JPA
Step 4 : Creating a JPA Project using Spring Initializr
Step 5 : Defining a JPA Entity - User
Step 6 : Defining a Service to manage the Entity - UserService and EntityManager
Step 7 : Using a Command Line Runner to save the User to database.
Step 8 : Magic of Spring Boot and In Memory Database H2
Step 9 : Introduction to Spring Data JPA
Step 10 : More JPA Repository : findById and findAll

پیشنهاد فرادرس