Java8

Referential Transparency in Java Programming

Reading Time: 4 minutes what is functional programming ? It is a declarative style of programming rather than imperative. The basic objective of this programming is to make code more concise, less complex, more predictable, and easy to test. Functional programming deals with certain key concepts such as pure function immutable, state, assignment-less programming etc. Imperative Vs Declarative Programming In the imperative style of coding, we define what to Continue Reading

Understanding Java enums

Java 8 Features With Examples

Reading Time: 3 minutes In this blog, we will learn about the java 8 features and why java 8 is so much popular. After java 8 Java has started supporting the functional style of programming with its Java 8 release. The basic idea of why java enables functional programming is concise the code, less complex, easy to understand, and easy to testing compare to legacy coding styles. Here are Continue Reading

Optional Class in java 8

Reading Time: 2 minutes In this blog, we will understand what is the optional class and do we really need it? When you start writing the code in any project and one thing you always care that is the Null pointer exception and we apply many checks to prevent this error and try that error Never come in our code. that’s why we want something so that we can Continue Reading

Lambda Expression in Java 8

Reading Time: 3 minutes In this blog we will understand what is the lambda expression and why we need lambda expression and how we use lambda and about the functional interface. What is Lambda Expression : It is an anonymous function. Not having name No return type and no modifiers. Syntax of Lambda : The syntax of a lambda consists of the following: A comma-separated list of formal parameters Continue Reading

Java-8 Streams

Reading Time: 3 minutes Hi folks, In this blog we would talk about one of the features of Java 8 which is Streams. The java package java.util.stream contains classes to support functional-style operations on streams i.e. map, filter etc. Streams is not a data structure that stores something instead of it a way to flow data from source to destination with some intermediate operation in between. Let’s take an Continue Reading

Working with Bulkhead in Resilience4j

Reading Time: 3 minutes Hi guys, In this blog, we will discuss a fault tolerance library which is, Resilience4j. So, this library comes into use when we want a system to continue operating properly in the event of the failure of some of its components. Let’s start with a quick introduction to Resilience4j. Introduction Resilience4j is a lightweight and easy-to-use fault tolerance library. It is inspired by Netflix Hystrix Continue Reading

GraphQL: Understanding Datafetchers and it’s use

Reading Time: 3 minutes The world is a stage where all of us are artists and constant learning is the foundation of success. To boost up your knowledge pot with various technology, here comes another blog about a developing technology GraphQL.GraphQL is a query language introduced by Facebook. To get in basic detail you can visit previous blogs. Here we will discuss DataFetchers.Also, if you want to start the basics Continue Reading

Stream your data using Kinesis data stream

Reading Time: 3 minutes We live in a world driven by data and every second we are processing a large amount of data, using it, analysing it, and transforming it. Data is very essential for businesses these days. Therefore the need for handling the Dynamically generating data is important. As the number, variety, and velocity of data sources grow, new architectures and technologies are needed. This is where the need Continue Reading

Handling failed SQS Events using AWS Dead Letter Queue(DLQ)

Reading Time: 3 minutes Amazon SQS is an amazing simple queuing service which offers us a secure, durable hosted queue which lets us integrate and decouple distributed software component. One of the exciting features that SQS provides us with is the support of dead letter queue. Whenever we are using SQS for queuing messages for our services there may be times that our message gets corrupted or for some Continue Reading

Unit testing void methods with Mockito and JUnit

Reading Time: 3 minutes Writing functionality is the main focus whenever we are writing a software program, but it is equally important that we make sure our code works the way we intended it to. And how do we do that? By writing unit test cases. They are used to test the smallest functionality of code. Unit test cases are an essential part of software development. In this blog, Continue Reading

Introduction to MongoDB with Java

Reading Time: 3 minutes We now live in a data driven world where we are generating so much data that it becomes difficult to manage this data using databases. There are different databases available for different use cases. For a long time Relational databases were used for most of the uses cases, but as the technology advanced and modern applications came which need more scalability and variety came into Continue Reading