Java8

Stateful processing with Apache Beam

Reading Time: 6 minutes Overview Beam lets us process unbounded, out-of-order, global-scale data with portable high-level pipelines. Stateful processing is a new feature of the Beam model that expands the capabilities of Beam. With these new features, we can unlock newer use cases and newer efficiencies Quick Recap In Beam, a big data processing pipeline is a directed, acyclic graph of parallel operations called PTransforms processing data from PCollections. The boxes are PTransforms and the edges Continue Reading

What’s new in Java 8

Reading Time: 3 minutes Let’s have a brief look at these Java 8 features. I will provide some code snippets for better understanding the features in a simple way. Some of the important Java 8 features are; Lambda expressions Method references Functional Interfaces 1. Lambda expressions Lambda expression helps us to write our code in a functional style. These are just like functions and they accept parameters just like Continue Reading

What is Lambda Expression in java? How to Use it?

Reading Time: 3 minutes Lambda Expressions get add-in Java 8. Java lambda expressions are Java’s first step into functional programming. Its main objective is to increase the expressive power of the language. The syntax of a basic lambda expression is: The expression use as the code body for the abstract method within the paired functional interface. lambda expressions exist outside of any object’s scope. This means they are callable anywhere in Continue Reading

What are Streams API in Java 8 ? How its unique

Reading Time: 3 minutes First of all, Java 8 Streams should not be confuses with Java I/O streams. The Stream API is use to process collections of objects. Java provides a new additional package in Java 8 called java.util.stream. In stream one or more operations can be perform. The Streams operations are either intermediate or terminal. Stream provides following features: The stream does not store elements. A stream is not Continue Reading

Generating your own Javadocs for your Package

Reading Time: 4 minutes Documenting whatever work you are doing as a developer or tester is always a good idea hence we are going to learn about Generating JavaDocs for your own package. Documentation can easily describe info about which method/class/entity to use and when. Hence, a reliable documentation is a must for a developer. Just think if you are not aware of a certain language then how difficult Continue Reading

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