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 .
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?
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.❤️❤️
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, 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 ?