
This is about Introduction to microservices, purpose of microservices and evolution of microservices.
also discussed about Monolithic architecture and Microservices architecture. With this introduction students will be able to understand about microservices and its architecture.
Compare monolithic architecture's single deployable unit and shared layers, where a module failure brings app down, with microservices where autonomous services run as a fat jar behind an API gateway.
Set up your environment by downloading and installing Java from Oracle's official Java downloads, verify installation with the command prompt, and check for proper classpath configuration.
Learn how to fix java is not recognized errors by configuring Windows environment variables, including path, classpath, and optional java_home, after verifying java -version in the command prompt.
Set up a microservices environment by downloading and installing the Spring Tools Suite for Windows, launching the IDE, and using it to develop microservices.
Learn to download and install Postman from Postman dot com, then create and test microservice requests using post and delete. See responses with status codes like 200 or 400.
Learn to set up and connect MongoDB for microservices, with optional MySQL, by downloading from mongodb.com, configuring a database, tables, and schemas, and enabling microservices to interact with the DB.
Set up your environment for MySQL by downloading the appropriate Windows installer (32 or 64 bit) and following default installation prompts, including password configuration, then verify installation via command prompt.
Learn how to build a Spring Boot microservice to add student details into MongoDB, covering project setup, dependencies, a Mongo repository, a controller, and REST endpoints.
Learn how to delete a MongoDB record via a Spring Boot microservice with Spring Cloud, using delete mapping with an id, public response entity, and repository integration, tested with Postman.
Update a student record in a microservice by using put mapping, comparing with post mapping, updating fields like city and name, and verifying the MongoDB entry reflects changes.
Learn how to build a Spring Boot microservice that connects to MongoDB to retrieve student details via a REST endpoint, including a controller, repository, and model setup.
This is about API Gateway and Eureka server and its architecture also discussed about integration with microservices.
Illustrates building three microservices: student details, account management, and product, registering them with a Eureka server, enabling service discovery and gateway routing for practical integration.
Learn how to invoke microservices via an api gateway, register the gateway with the service discovery, and route requests to microservices like student details and account management.
Explore OpenFeign, a declarative, annotation-based http client that reduces boilerplate vs RestTemplate, supports client interfaces for microservices, and highlights its extended features over Netflix Feign.
Learn how to configure open feign with eureka to enable client-server communication in a spring cloud microservices setup, including dependency setup, service registration, and testing.
Explore OpenFeign client communication with the server by defining a thin client interface, enabling Feign, running a microservice with a controller, and validating requests via browser tests.
Learn how OpenFeign communicates with a server to add a student record via a post mapping, triggering a MongoDB insert. Create the student object, implement the Feign client, and persist.
Explore how OpenFeign enables microservices to fetch a list of student details from MongoDB, by defining a Feign client interface and invoking get students.
Learn to delete a student record via OpenFeign by calling a server delete mapping with the student ID as a path variable, and verify deletion on Mango TV.
Demonstrates updating student details via OpenFeign in a Spring Boot microservices setup, building a Feign client, calling server-side controllers, and testing update and retrieval operations.
Explore swagger, an open-source tool built around the open API specification to describe and document REST microservices, integrate with Spring Boot via dependencies and annotations.
Learn to set up and enable swagger with spring fox swagger, generate a full swagger document, and test APIs with postman to bridge producers and consumers.
Explore how spring cloud load balancer supports client-side load balancing, distributing requests across server instances to improve performance, and contrast with server-side load balancing.
Configure spring cloud load balancing on the client side with feign clients and a load balancer, enabling even request distribution across multiple service instances through the gateway.
Explore fault tolerance in microservices, examining how downstream service failures, timeouts, or internal errors can cascade, and how circuit breakers and resilience concepts prevent cascading failures.
Explore how circuit breakers prevent cascading failures in microservices by stopping erroneous methods and routing requests to fallback methods, using a switchboard analogy to protect dependent services.
Explore how microservices use circuit breakers with Resilience4j to protect order and payment services. Understand circuit breaker states: closed, open, half-open; rate limiter, retry, bulkhead patterns manage traffic.
Learn how to configure circuit breaker properties for resilient microservices, including sliding window size, failure rate threshold, open and half-open states, and permitted calls in open state for programmatic configuration.
Implement a circuit breaker with resilience to handle student service failures, configure properties and dependencies, and add a fallback method to avoid 500 errors in a microservices setup.
Implement a Resilience4J circuit breaker in the user microservice, configure sliding window, failure threshold, and open/half-open states, and provide a fallback that returns default students with actuator health indicators.
Learn to validate and implement a circuit breaker in a spring boot application using resilience and spring cloud, including testing, actuator health, threshold settings, and fallback responses.
Discover how Sleuth generates trace IDs and span IDs across gateway and microservices, and how Zipkin's UI visualizes logs to locate failing services in a distributed environment.
Configure sleuth and zipkin server across user, student, and gateway, define dependencies and properties, and use the zipkin ui to trace span and trace IDs across microservices.
Explore how spring cloud config server centralizes external properties across environments, using git as the repository and Eureka for registration.
Create a Spring Cloud Config server backed by git and register it with Eureka by generating the project on start.spring.io and enabling config server and Eureka client, with bootstrap properties.
Test the config server by verifying the student microservice reads properties from Git via the config server, using cloud config client and bootstrap dependencies with Eureka discovery.
Integrate an Angular frontend with microservices and deploy as a single Tomcat application, handling cross-origin requests, building with ng build, and verifying the book list API.
Learn how to generate Java classes from a WSDL using Maven and the Apache CXF codegen plugin, including basic SOAP and WSDL concepts and a hands-on number conversion example.
Explore how json web tokens enable secure authentication and authorization in Spring Boot microservices, generating a jwt after login and validating it on request, with passwords never in the token.
Demonstrates implementing JWT with Spring Boot microservices, testing with Postman, and using Angular and MongoDB, including sign up, sign in, and bearer token authentication.
In this course, you will learn how to build REST APIs or Microservices using the latest version of Spring Boot), and Mongo database.
Spring Boot is basically an extension of the Spring framework which eliminated the boilerplate configurations required for setting up a Spring application.
Spring Boot is an opinionated framework that helps developers build Spring-based applications quickly and easily. The main goal of Spring Boot is to quickly create Spring-based applications without requiring developers to write the same boilerplate configuration again and again.
Microservices are an architectural style to building the system/application as
A set of smaller business components that are autonomous, self-contained and
Loosely coupled. Micro means small and service is webservice. After completing this student will become more comfortable to develop microservice based projects.
Using this course students can learn about API Gateway's, Eureka servers.
Using this course students able to perform CURD operations.
Using this course students will understand about various integrations.
Using this course students can manage to download open source software's and they will be able to setup environment setup for microservices.
Evolution of microservice:-
Many organizations such as Netflix, Amazon, and eBay successfully used the divide and conquer technique to functionality partition their monolithic applications into smaller atomic units, each performing a single function. These organization solved a number of issue
they were experiencing with their monolithic applications. Following the success of these organization, many other organizations started adopting
This as a common pattern to refactor their monolithic applications.
Purpose of microservice:
Applications to achieve a high degree of agility, speed of delivery, and scalability
Principles of Microservice:
1) Single Responsibility per Service
2) Autonomous
Micro services are self-containerd, independently deployable and autonomous service that takes full responsibility and its execution.
In the microservices approach , each microservice will be built as a fat jar, embedding all dependencies and run as a standalone java process
Course Contents ?
1. Introduction to Microservices
2. Microservices Architecture
3. Environment setup-Java installation
4. Environment setup-Java is not recognized error fix
5. Environment setup-Spring tool suit
6. Environment setup-POST Man
7. Environment setup- Mongo DB
8. Environment setup- MySQL
9. REST based CRUD operations.
10. How to add student details into Mongo DB using micro services.
11. How to delete student details from Mongo DB using micro services
12. How to update student details into Mongo Db using micro services
13. Retrieve student details from Mongo DB using using micro services.
14. Spring cloud API gateway with Eureka Server architecture and Integrations
15. Micro service integration with Eureka server
16. Micro services Integration with API gateway
17. Spring cloud openfeign integration.
18.OpenFeign communication with Eureka server
19. OpenFeign communication with server for Insert
20. OpenFeign communication with server for Retrieve
21. OpenFeign communication with server for Delete
22. OpenFeign communication with server for Update
23.About Swagger
24. Swagger document generation
25.Introduction to Spring cloud load balance
26 Spring cloud load balance at client side
What you’ll learn
Learn how to build Microservices or REST API using Spring Boot
Learn how to integrate with Eureka server
Learn how to use CRUD operations.
Learn how to connect Microservice to MongoDB database
Learn how to use Spring cloud API gateway
Learn how to use Swagger
Learn how to use Spring cloud load balancing
Are there any course requirements or prerequisites?
Java basics
Spring basics
Who this course is for:
This course is for Spring boot beginners who want to getting started with building Microservices and RestAPI’s using Spring Boot and Mongo database