57:03, I understood and am Feeling great too 😊 However, I still have a question. You mentioned that the employee service is calling the address service using the URL address/{empId}. But I noticed that you haven’t defined any relationship between the two entities in the entity classes. While I see that the tables are linked in the database, why isn't there a relationship established at the entity level? Additionally, when these services are in separate databases, how do you handle the configuration for this setup?"
Thank you abilash, your videos are verry easy to understand, also this MS serious goint to be verry helpfull for me. I am waiting next videos as well. Keep it up. Your ammazing teacher.❤️❤️
Hi Abilash, Thank you for the clear explanation about the microservices. I had one doubt, when i changed the spring versions in pom.xml, i have some error in entity class, it is not adopted to that version, could you please provide suggestions to resolve it. Thanks in advance.
Thank you for this wonderful course. I wonder how you would justified your paid students(incase they have queried you) of this batch that within a month or two you have uploaded this course for FREE for all of us :D .
Does entity framework return the same object reference if I query the "logically" (in database) same object from different places. For example, I queried customer with name Joe Black, (and assume for now I know that there's only one Joe Black in the database.) Customer c = select ... blabla where ... Name == Joe Black...; and in somewhere else in the code, I queried Customer c2 = select... where.. ID==5 where 5 is the ID of Joe Black. I know that in the database they map to the same object, but DO they also map to the same object in code level? So does c1 equal to c2? I have lists to merge and check for logical equality of the objects (I cannot access the database for now) and I was wondering whether Entity Framework objects will play nicely with it or should I write my custom comparer classes.
Hi Abhilash. can you help me. I have error. It says : Consider defining a bean of type 'com.employee.employeeservice.service.AddressClient' in your configuration. It means even I make AddressClient a bean, using by @FeignClient annotation, but Spring can't find bean in IoC container. What to do?
Hi Abhilash, a well explained video about load balancing.❤️❤️ I have one doubt so far , the feign client is great removing lots of boilerplate code but what about the exception handling or error handling in case of a 4xx or 5xx , do we need to handle all those in the service class from where we are calling the proxy or is there any way to define the exception handlings as well ??
Hi Manamohan ! Glad that it helped ! There are different ways to handle feign exception which will be covered in the follow up lessons. For now you can find an attribute called fallBackFactory inside @FeignClient. Do a little research about that, it help you to override your feign client abstract methods and you can give a default fallback response / handle exception as per your need. Alternatively you can use a global exception handler of spring and create an exception handler to handle feign client exceptions. @ExceptionHandler(FeignException.class) public String handleFeignException(FeignException e, HttpServletResponse response) { //grab needed stuffs from the response } You can also learn about ErrorDecoder from feign. It will help you to decode the error response and handle exception as per your need.It's something like RestTemplate's ResponseErrorHandler if you are aware about .
Yes it makes sense now I was looking for something to replace the ResponseErrorHandler of rest template or to add fall back strategy with circuit breaker is in place . Thank you for the explanation ❤️❤️
according to Browser security policy -> browser follows SOP(Same organ policy) if you want to access data from another ports/host browser doesn't allow us to do that, that's why we use crossOrigin but here in this video how it is happening. sir can you please explain this.
if we are using REST protocols to communicate with other services that means this is just a distributed monoliths isn't it? please do a video on messaging queue based service communication.
What is the benefit of using client side load balancing over server side load balancing ? (I know its too early to ask) and why we are calling it client side although everything is on server ?
Abhilash, your effort in explaining this is unmatched. Engaging and easy to understand. The Best Spring Course out there!
If anyone can teach like you, that is only you,
Lots of informative, very deep explanation👏
Feeling great, such wonderful explained
The way you are teaching is fun , informative and a lot inspiring!
Bro. Your presentation is top notch.
Thank you!
thanks a lot for great explanation, your way of adding clarifications in video makes it crystal clear, appreciate your effort !
Best explanation on youtube regarding the use of feign clients👏👏👏👌👌👌
Your are teaching with good attitude, Inspiring..♥
Excellent course. Congratulations!
Enjoy learning, happy to wait for next week lesson.
Thank you! See you next week.
you are such a great teacher man, keep it up pls
Thanks sir for the video. Will be waiting for the next video
You are welcome! Sure, see you next Saturday 😊
your all videos are very very helpful
Waited whole day as you told Saturday you will be posting ❤️
Happy Learning, Himanshu ! ❤️
Thanks Abhilash sir ❤️
thank you so much! I learnt about Feign Client and Ribbon, (load balancing)
Hi Abhilash, Thank you for Great explanation in easy way
Feeling great
Thanks for such a great explanation
So nice of you !
57:03, I understood and am Feeling great too 😊
However, I still have a question. You mentioned that the employee service is calling the address service using the URL address/{empId}. But I noticed that you haven’t defined any relationship between the two entities in the entity classes. While I see that the tables are linked in the database, why isn't there a relationship established at the entity level?
Additionally, when these services are in separate databases, how do you handle the configuration for this setup?"
Thank you abilash, your videos are verry easy to understand, also this MS serious goint to be verry helpfull for me. I am waiting next videos as well. Keep it up. Your ammazing teacher.❤️❤️
Thanks for the kind words, Nuwan. Glad that my contents are helping.
Feeling Great!!🙇♂
amazing learning
Hi Abilash, Thank you for the clear explanation about the microservices. I had one doubt, when i changed the spring versions in pom.xml, i have some error in entity class, it is not adopted to that version, could you please provide suggestions to resolve it. Thanks in advance.
Feeling great bro 👊👊👊
very informative
Thanks sir
understood - thank you very much 🙏
Great video 👏🏽👏🏽
Thanks, Paridhi !
Feeling great 👍
❤️
feeling great sir
Feeling great
38:05 example
43:14 . Run Multiple instance in sts
UNDERSTOOD
Thank you
One question that if Feign client also non blocking then why spring is just deprecating the rest template, it should also deprecate the feign client?
Feeling Great
Lots of love bro God bless you
❤️
Understood ❤
Great Man😍
Hi Avilashi, where to take the paid course for microservices @selenium express ? please lemme know..
Do we have any configuration for feign client in config class
I will definitely buy this course if available on udemy because i cant wait 1 more week for next part.
I am not Udemy, you can checkout the full version of this course on seleniumexpress.com
@@SeleniumExpress yes sir i already checked. inr to pkr conversation for me course will be 26k pkr and I can't afford as i am a student.
@@JohnDoe-ej6vm do you have a university ICard? Give it to them, they will give you a student coupon if available. Happy Learning ❤️
can we get recording of this whole course ,SIR??
Thanks abhi ❤️
most welcome !
Hi sir, i want to buy the full course but i didn't receive the confirmation mail in my mail id.can you please help me in this login process.
How to feignClient fetch the url from application. Properties file..?
Thank you for this wonderful course. I wonder how you would justified your paid students(incase they have queried you) of this batch that within a month or two you have uploaded this course for FREE for all of us :D .
Love you sir it is from my heart
Thank you Manis ! It means a lot ❤️
In rest template - u told like it takes 10 sec to response back approximately
Is that won't happen in feign client?
love you brother ❤️🙏🏻
❤️❤️😊
Does entity framework return the same object reference if I query the "logically" (in database) same object from different places.
For example, I queried customer with name Joe Black, (and assume for now I know that there's only one Joe Black in the database.) Customer c = select ... blabla where ... Name == Joe Black...; and in somewhere else in the code, I queried Customer c2 = select... where.. ID==5 where 5 is the ID of Joe Black. I know that in the database they map to the same object, but DO they also map to the same object in code level? So does c1 equal to c2? I have lists to merge and check for logical equality of the objects (I cannot access the database for now) and I was wondering whether Entity Framework objects will play nicely with it or should I write my custom comparer classes.
Hi Abhilash. can you help me. I have error. It says : Consider defining a bean of type 'com.employee.employeeservice.service.AddressClient' in your configuration. It means even I make AddressClient a bean, using by @FeignClient annotation, but Spring can't find bean in IoC container. What to do?
O my God. Thanks> I resolved. Just I had to annotate main class with annotation @EnableFeignClients
Thanks for the video
You are welcome, Santosh!
Feeling good
Hi Abhilash, a well explained video about load balancing.❤️❤️ I have one doubt so far , the feign client is great removing lots of boilerplate code but what about the exception handling or error handling in case of a 4xx or 5xx , do we need to handle all those in the service class from where we are calling the proxy or is there any way to define the exception handlings as well ??
Hi Manamohan !
Glad that it helped !
There are different ways to handle feign exception which will be covered in the follow up lessons. For now you can find an attribute called fallBackFactory inside @FeignClient.
Do a little research about that, it help you to override your feign client abstract methods and you can give a default fallback response / handle exception as per your need.
Alternatively you can use a global exception handler of spring and create an exception handler to handle feign client exceptions.
@ExceptionHandler(FeignException.class)
public String handleFeignException(FeignException e, HttpServletResponse response) {
//grab needed stuffs from the response
}
You can also learn about ErrorDecoder from feign. It will help you to decode the error response and handle exception as per your need.It's something like RestTemplate's ResponseErrorHandler if you are aware about .
Yes it makes sense now I was looking for something to replace the ResponseErrorHandler of rest template or to add fall back strategy with circuit breaker is in place . Thank you for the explanation ❤️❤️
feeling great
I too. Glad to know that you have reached halfway
according to Browser security policy -> browser follows SOP(Same organ policy) if you want to access data from another ports/host browser doesn't allow us to do that, that's why we use crossOrigin but here in this video how it is happening. sir can you please explain this.
feeling grate
Hi Abhilash,This was a great explanation and i have a doubt what if the restService is Protected with BasicAuth ??
if we are using REST protocols to communicate with other services that means this is just a distributed monoliths isn't it? please do a video on messaging queue based service communication.
bgm superrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Does feign client supports spring oauth2 security features just like web client?
Yes, Kamal ! It's just a rest client.
Can you cover unit testing cases???
Hi Deepak. I try to cover it in my 2nd batch of recordings. thank you for the suggestion.
understood
What is the benefit of using client side load balancing over server side load balancing ? (I know its too early to ask) and why we are calling it client side although everything is on server ?
I have been looking into these topics from 10 days . I also have the same question . If anyone clear about this please answer
Thanks sir :) you are really great person
Thanks for the kind words ❤️
waiting next video in the video series
TQ
Hello Sir can u please start the Kafka and Apache camel series i really want to buy this series at any cost
Reminds me Retrofit in android development..
Could you please upload microservices paly list Abhilash
Hi Hari, please follow this playlist.
@@SeleniumExpress Thanks Abhilash i found play list.
feign client is not working for me
Can any buddy tell me which IDE is the teacher using?
STS
hi bro please upload microservices coding part in github and tell us about github account of yours.
Hi Abhilash is this course available in Udemy???
Hi Rahul. No, I am not on Udemy !
please use diffrent database
It is like Modi ji's "Man ki Baat" rather than a good tutorial . He did not look forward even once during the entire period.
thank you so much! I learnt about Feign Client and Ribbon, (load balancing)
Feeling great
Thanks for the video
Welcome, Ravi!
feeling great
😊
understood
feeling great
Feeling great
feeling great
feeling great
feeling great
feeling great