#java

Apache Beam ParDo Transformations

Reading Time: 2 minutes What is a PCollection? A PCollection represents a distributed data set that your Beam pipeline operates on. The data set can be bounded, meaning it comes from a fixed source like a file, or unbounded, meaning it comes from a continuously updating source via a subscription or other mechanism. Your pipeline typically creates an initial PCollection by reading data from an external data source, but you can also create a PCollection form of Continue Reading

Apache Beam Vs Apache Airflow

Reading Time: 4 minutes The need to compare data tools and to keep hunting for the perfect one seems never-ending. In this blog, We’re going to see the comparison between the Apache Beam and Apache Airflow.  This blog helps you choose by looking into the differences and similarities between the two: Apache Airflow and Apache Beam.  Comparison Study On the surface, Apache Airflow and Apache Beam may look similar. Both are open-source, Continue Reading

Understanding Java enums

QuickStart with OpenJDK Project Loom

Reading Time: 3 minutes In this blog post, we will talk about Java’s ambitious project Loom which solves the problem of high throughput concurrency model using Java threads abstraction. We will go through how we can set up the minimal environment to experiment with the features of the Project Loom. What is Project Loom Project Loom is speculated to be the programming model which can disrupt the architecture of Continue Reading

java concurrency

Project Loom: Threads Vs Virtual Threads

Reading Time: 2 minutes If you’d like to create a large number of processes in a cheap way, these processes must run in a concurrent way so that a scale is achieved for a large number of requests processing. To understand in which scenario the Thread needs to scale, let us look at an example below. Concurrency Example HTTP requests processing messages from the queue integrating external services orchestrating Continue Reading

Lombok in Java

Reading Time: 3 minutes Lombok acts as an annotation processor that adds code to your classes at compile time. Project Lombok is a java library tool that’s used to minimize or remove the boilerplate code. Also, save the precious time of the developers during development by just using some annotations. Now the question arises what exactly the Boilerplate code is? The Boilerplate code is sections of code that are Continue Reading

Apache Beam Vs Apache Spark

Reading Time: 4 minutes Before going through the comparison of  Apache Beam and Apache Spark, we should have a glimpse of what these two exactly are. Apache Beam means a unified programming model. It implements batch and streaming data processing jobs that run on any execution engine. It executes pipelines in multiple execution environments. Apache Spark defines as a fast and general engine for large-scale data processing. Spark is a fast Continue Reading

IoT(Internet of Things) using JAVA

Reading Time: 4 minutes Introduction Internet of Things is an innovative and revolutionary technology that helps people live and work smarter, other than home automation. IoT is really helpful in the areas of business. It helps companies to automate processes and reduce labor costs. A simple definition of IoT(Internet of Things) is providing the “Internet as a common platform where multiple devices can connect and communicate with each other”. Continue Reading

Apache Camel (An Integration Framework Tool)

Reading Time: 4 minutes The Blog covers a basic introduction to the tool Apache Camel and its necessary features. Let us begin with a basic understanding of the need for the tool Apache Camel. Introduction to Apache Camel Technically, Apache Camel is an Integration Framework. In order to understand the tool Apache Camel, it is important to understand the concept of Integration first. Integration, in technical terms, refers to Continue Reading

What Is Netflix-hystrix?

Reading Time: 2 minutes In very simple terms, a circuit breaker is a pattern, and Netflix-hystrix is an implementation of this pattern. This library was designed to control the interactions between distributed services by adding latency tolerance and fault tolerance logic. Hystrix does this by isolating points of access between the services, stopping cascading failures across them, and providing fallback options — all of which improve your system’s overall Continue Reading

Swagger Vs Postman

Reading Time: 5 minutes In this blog, we will explore a few of the most commonly used tools in REST API testing and how to use some of their most important features, in addition to determining which one suits a development process the best. Swagger is an API specification & Postman is an API Client and appropriate for API first development while, Postman is appropriate for testing such API Continue Reading

Java Lambda Vs Anonymous Class

Reading Time: 3 minutes Before going through the comparison of  Lambda Expression vs Anonymous Inner class, we should have a glimpse of what these two exactly are. A lambda expression is a short form for writing an anonymous class. By using a lambda expression, we can declare methods without any name.  Whereas, Anonymous class is an inner class without a name, which means that we can declare and instantiate class at the same time. Suppose we have to perform sorting Continue Reading

TestNG setup using Maven for Selenium

Reading Time: 3 minutes Definitions TestNG (Test Next Generationis) is an open source testing framework. TestNG is inspired from JUnit and NUnit. It is an improvised framework which makes it more powerful and easier. It provides the developer to write more powerful and flexible tests with the help of easy annotations, sequencing, grouping and parametrization. We can use TestNG for generating reports. The reports generated will be of two types pass and fail. Continue Reading

Builder Design Pattern in Java #4

Reading Time: 2 minutes We have already discussed two of the Creational Design Pattern that is Singleton and Factory. Here, we just come up with another type of Creational Design Pattern that is Builder. What is Builder Design Pattern? Builder Design Pattern is a creational Design Pattern which is used to create the complex object. Its main purpose is to : 1) Segregate the object creation part in a separate Continue Reading