Random developerBuilder design pattern — JavaImagine you have a User class with the following fields:Jul 28Jul 28
Random developerQuick Introduction to MapStructMapStruct is helpful for writing transformation classes/methods from data to DTO and vice versa, which would otherwise be written manually…Jul 22Jul 22
Random developerType erasure in Java — GenericsWith the introduction of Generics in Java, to make things backward compatible (meaning the old versions that do not have generics work…Jul 14Jul 14
Random developerObjectMapper in JavaIn enterprise Java applications, you often need to handle JSON data in various ways, such as:Jun 16Jun 16
Random developerVisitor pattern in Java with sum typesAs per the popular definition, the Visitor patternJun 10Jun 10
Random developerJsonTypeInfo and JsonSubTypes in JacksonTo serialize and deserialize polymorphic objects (objects with subclasses), we need to recognise which particular subclass an object…Jun 2Jun 2
Random developerExecutor Service In JavaLet’s say you have multiple CPU-intensive operations to perform in parallel. You don’t want to wait for each operation’s response; instead…May 19May 19
Random developerIndexing with MariaDBIn a world without indexes, imagine you have the following table named "student" in your database:May 12May 12
Random developerClassifiers in mavenThe classifier, by definition, “distinguishes artifacts that were built from the same POM but differ in content. It is an optional and…Apr 28Apr 28