Microservices with Spring Boot Tutorial | Services Creation Demonstration

preview_player
Показать описание
Microservices with Spring boot Java Tutorial is the second part of ongoing Microservices series of sessions. In this session 3 microservices are getting developed. Basic design of social media application is discussed. And then main services are discussed in detail and then developed. Java and spring boot is used to develop the Microservices. Furher service will communicate with each other in a beginner way and then in next session will be evolved further.

Kindly attend the full session to get the full benefit of the session.

Some Notes -
What will be implemented?
Create 3 Spring Boot Projects
Build User API Service
Build Post API Service
Build Notification API Service
User Service calls to Post and Notification Service - Using RestTemplate

Problems -
URL updates means code updates
Cloud Deployment - Dynamic URL won’t work
Load Balancing will have issues
Multiple environments will have URL identification issues

Some Annotations -
@SpringBootApplication , Bean , Autowired , RestController , RestTemplate , GetMapping , RequestMapping , PathVariable , etc.

Link of the Microservices playlist is given below -

Pls subscribe to the channel -

Follow me on -

Support the channel with your Amazon purchase -

Disclosure, I use affiliate Amazon links above. Purchasing through these links gives me a small commission -- the price to you is the same.

#microservices #microservice #microservicestutorial #thinkconstructive #eshapuri

Chapters
00:00 Introduction
00:10 Session Overview
00:57 Example - Fictious Social Media Application Design Recap
02:17 Microservices design Explanation
05:11 Microservices Example Implementation Steps
06:41 User Service - Bootstrap Spring Boot Service using Spring Initializr
07:33 Post Service - Bootstrap Spring Boot Service using Spring Initializr
07:54 Notification Service - Bootstrap Spring Boot Service using Spring Initializr
08:43 Loading User Service, Posts Service and Notification Service in IntelliJ Editor
09:07 Create User Service
14:14 Create Posts Service
17:46 Create Notification Service
24:23 Test Get URL in Browser : All 3 Services
25:57 Services Inter Communication Discussion
26:25 Changes in User Service : Communication between Services
26:54 Create RestTemplate
29:03 Create Posts and Notification Model class in User Service
30:17 Call Posts Service using Rest Template
32:06 Call Notification Service using Rest Template
33:46 Update User Model Class
34:25 Update User Service Response
35:23 Test Updated User Service Response
36:04 Issues with RestTemplate Approach
38:42 Solution of RestTemplate Problem - Service Discovery Pattern : Next Steps
40:08 Summary
40:30 Thank You

Queries
what is microservice
what are microservices
what are microservices application
what is microservices architecture
why to use microservices
why microservices
why microservices application
what is the example of microservices
social media application microservice
what are the features of microservices
what are the advantages of microservices application
how two spring boot microservices communicate with each other
problems with resttemplate
how to create microservices using spring boot
how Microservices communicate with each other
how Microservices communicate with each other using spring boot
how Microservices communicate with each other using java spring boot
how to test rest api
how to test Microservices
how one service calls another service
how one microservice calls another microservice
what are is challenges of resttemplate client
what are is challenges of resttemplate client of spring boot
what are is challenges of resttemplate client of spring
Рекомендации по теме
Комментарии
Автор

Microservices with Spring boot Java Tutorial is the second part of ongoing Microservices series of sessions. In this session 3 microservices are getting developed. Basic design of social media application is discussed. And then main services are discussed in detail and then developed. Java and spring boot is used to develop the Microservices. Further service will communicate with each other in a beginner way and then in next session will be evolved further.
Here is the link of the First Session -
Please watch the full session to and create the services along with the tutorial.
Happy Learning 😊
Cheers,
Esha

ThinkConstructive
Автор

I want to extend my immense gratitude to you for making these series on Spring boot end to end project and also on microservices with practice examples. Learning Spring framework on own is a marathon task but after watching your videos I felt confident of mastering this technology and also it developed my interest to explore more

goa_ayush
Автор

Thank you mam watched so many videos on youtubes but didn't got clear I got thank you

vks
Автор

Thanks for the precise explanation and demo. Really crisp and clear. well done.

ramachandren
Автор

great work mam the wait is over thank you for your valuable teaching mam💥

pradeepravi
Автор

A very clear explanation. Thank you for this awesome piece. I hope you will make more contents like this in the future.

amritadhikari
Автор

awesome content madam ji, you are my saviour all the time 🌹

RjDBIIPL
Автор

Great Explanation Ma'am ! Keep it up !

devcore_
Автор

I love your way of explanation madam. This content is helping to understand from ground level to high level. Thanks madam

balakrishnabalija
Автор

Good understandble ma'am, hope we will see many more from ur lectures

mahika
Автор

In a ideal microservice application if I have to consume a rest service, how do I get the Model object of that service? Is there a better solution to this? As in this example, code is available in our environment. And if we hvae to interact with multiple services, do I keep making copies of the Model object in my codebase? And what if the model object gets updated?

goa_ayush
Автор

I got exception to have empty constructors for post and notifications classes. But you didn’t get. What could be the reason? Thanks

WithVernika
Автор

Ma'am You did great job it really helps me to understand but actually I am doing these things now using restTemplate and facing connection issue while calling post service in user controller. Can you please help me in this issue.

RatneshRawat-sn
Автор

Hi mam, can you please provide a video on Junit tutorial from basics.

sangeethasaravanane