Java

  1. Custom Bean Instantiation Using @ConditionalOnProperty Annotation in Spring Boot

    Spring boot is a widely used framework to bootstrap standalone web applications. Its flexibility and capabilities in beans management make the life of...

  2. Optimizing Java Application Performance with Asynchronous Logging in Logback

    Logging is an essential component of successful debugging, accurate monitoring, and comprehensive auditing in the evolving world of Java application...

  3. A Closer Look at Annotations in Java

    Annotations are a form of meta-data that provides additional information about code elements, such as classes, methods, fields, and more. They were...

  4. Switch Statement in Java: From Basic to Pattern Matching

    The switch statement is a fundamental control structure in Java, allowing developers to execute different code blocks based on the value of an...

  5. The Most Used Stream Operations in Java With Examples

    Stream operations were introduced in Java 8 and they allow you to manipulate collections of data in a concise and functional way. A stream can be seen...

  6. A Deep Dive into the flatMap Operation of the Stream API in Java with Examples

    The flatMap operation is an intermediate operation provided by the Stream API, which allows you to transform each element of a stream into zero or more...

  7. Sealed Classes in Java

    Sealed classes, a new addition to the Java programming language starting from Java 15, provide developers with a powerful tool for defining restricted...

  8. Spring Boot Profiles Best Practices

    Spring Boot profiles provide a powerful way to manage application configurations for different environments or scenarios. By using profiles, developers...

  9. Records in Java

    After being a preview feature in Java 14 and Java 15, Java records are now part of the Java language starting from Java 16.

  10. Comparison between the different ways of dependency injection in Spring

    Dependency injection is a core feature of the Spring framework. It is used by Spring to set the bean’s dependencies while initializing the application...

  11. Difference between Map and FlatMap in Java

    The Stream API of Java 8 provides two intermediate stream operations used to perform actions on stream elements and return a stream as an output: map...