PinnedMohammed Taoufik LahmidiDon’t use @RefreshScope in controllers - Spring Framework🌱 Spring is a popular framework for building Java applications, and one of its many features is the @RefreshScope annotation. 🔄 This…May 7, 2023May 7, 2023
PinnedMohammed Taoufik LahmidiIs Record enough to achieve a total immutability?Welcome everyone ! Today i will go through a very important concept which is Immutability in Java . I will talk especially about the…Jan 41Jan 41
Mohammed Taoufik LahmidiAll You Need to Know About Java Text BlocksJava developers have long dealt with the intricacies and frustrations of handling multi-line strings. Whether it’s writing SQL queries…Aug 13Aug 13
Mohammed Taoufik Lahmidi17 things to Know About Enums in JavaEnums, are a powerful feature in Java that provide a way to define a set of named constants. They offer many benefits, including type…Aug 6Aug 6
Mohammed Taoufik LahmidiSwitch case in Java — Then and NowSwitch cases have long been a staple of Java programming, providing a structured way to execute different blocks of code based on the…Jul 30Jul 30
Mohammed Taoufik LahmidiSending Headers in Feign ClientIn the modern world of microservices, communication between different services is crucial. Feign, a web service client that simplifies the…Jul 9Jul 9
Mohammed Taoufik LahmidiDiscover advantages & usecases of ENUM in JavaJava, a powerful and versatile programming language, offers a variety of tools and features to make development more efficient and code…Jun 30Jun 30
Mohammed Taoufik LahmidiAvoid Using Integers for Temporal Data (eg : Age) and Use Dates InsteadWhen designing software systems, particularly those involving temporal data, it’s crucial to consider the most effective ways to represent…Jun 25Jun 25
Mohammed Taoufik LahmidiHandling Exceptions in Feign Client with ErrorDecoderFeign is a Java HTTP client binder designed for clean and expressive API interactions. It simplifies HTTP API calls by abstracting away…Jun 12Jun 12
Mohammed Taoufik LahmidiCentralize exception handling with @ControllerAdviceIn the Spring Framework, managing exceptions and applying common functionalities across multiple controllers can become challenging…Jun 5Jun 5