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 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…16h ago16h ago
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
Mohammed Taoufik LahmidiPattern Matching — One of FAQ in Java interviewsPattern matching, a concept allows developers to succinctly check an object against a pattern. In Java, pattern matching extends the…May 291May 291
Mohammed Taoufik LahmidiThe Utility of serialVersionUID in Serialization and Deserialization in JavaSerialization and deserialization are essential processes in Java programming for converting objects into a stream of bytes and…May 8May 8