Optional.map vs Optional.flatMap – Difference and Similarities
What is Optional? Java 8 has introduced a new class in utils package Optional. This class main purpose is for handling NullPointerExceptions. So what exactly is Optional? As per the…
Optional in Java 8 – Declaring Optional and usage of Filter
Optional with Examples in Java 8 Java 8 has introduced a new class in utils package Optional. This class main purpose is for handling NullPointerExceptions. So what exactly is Optional?…
Spring Retryable – Retry to consume Restful Services
Spring Retryable – Retry to consume Restful Services: Generally in our application, We might face an issue with the REST API’s, some times the services may be down or server…
Java 8 Streams – Streams in Java With Examples
Java 8 Streams – Streams in Java With Examples What are Streams? Sequence of objects supporting multiple methods. Features: Stream is not a data structure and does not store elements.…
Integrate Shell with SpringBoot – SpringBoot Shell
Integrate Shell with SpringBoot – SpringBoot Shell: What is a Shell? Shell is an environment where user provides the input and it program will execute and returns the result. We…