Java

Java9 : Process API Updates #2

Reading Time: 3 minutes In the last blog, we learned a few updates in Process API of Java 9. In this blog, we will be learning some more new features which were not present until Java 8, so let’s begin. The new features are as follows: Process Handle : It is used to handle the processes like access current running process, access the parent/child of a particular process Process Continue Reading

Understanding Java Enums

Are you worried about the broken links on your Application?

Reading Time: 3 minutes Nobody wants that his/her application is having even a single broken link. Now again a question arises that, Then What should we do about that? Do we need to click every single link and check if its working or not? Definitely no one will do that tedious thing. As a result we’ll not be able to complete our deadlines. In Today’s world every application have Continue Reading

Java 9: Get more power with Java 9 Stream API Enhancements

Reading Time: 3 minutes We discussed the Optional API enhancements in my previous blog. In this blog, we will discuss the Stream API enhancements in Java 9. Stream API was introduced in Java 8 which gives us the power of using the collections in a declarative manner. We use the high order functions in the Stream APIs. In Java 9, they have introduced some more features: dropWhile() takeWhile() iterate() Continue Reading

Java9 : Process API Updates #1

Reading Time: 3 minutes Process API is a feature of Java which already exists until Java 8, but with the release of Java 9, there were a lot of new features which came up. Issue with Process API until Java 8 What if I want to develop a device driver software or Operating System? Interaction with system level component was not suitable until Java 8. The process communication with Continue Reading

Delta Lake: Schema Enforcement & Evolution

Reading Time: 4 minutes Nowadays data is constantly evolving and changing. As well as the business problems and requirements are evolving, the shape or the structure of the data is also changing. When that happens, we want to be in control of how the data or schema changes. But how we can achieve this? Delta Lake has good ways to control how schema changes. With Delta Lake, users have Continue Reading

Try with resource enhancements in Java 9

Reading Time: 2 minutes We all have done I/O operations in our code which used to be very troublesome when it comes to always keep in mind closing the resources once the usage has been made. But, when in Java 7, Try-With-Resource was introduced, this limitation was taken care of. Now a user needs not to worry about the open resources. To understand what enhancements have been done in Continue Reading

Complete Eclipse Setup for Cucumber

Reading Time: 2 minutes Previously, in my Cucumber with the Selenium series, we have seen different types of files and keywords necessary for being the part of cucumber framework. You can find the link here. Moving forward, in this blog we will see Complete Eclipse Setup for Cucumber and convert the same thing into code. Step wise guide to setup cucumber framework Step 1 :Let’s start creating a maven Continue Reading

Cluster vs Client: Execution modes for a Spark application

Reading Time: 3 minutes Whenever we submit a Spark application to the cluster, the Driver or the Spark App Master should get started. And the Driver will be starting N number of workers. Spark driver will be managing spark context object to share the data and coordinates with the workers and cluster manager across the cluster. Cluster Manager can be Spark Standalone or Hadoop YARN or Mesos. Workers will Continue Reading

Operations in Java Streams

Reading Time: 3 minutes Hi guys, with release of Java 8 we get new features like lambda functions, streams etc. and in this blog we are going to have an overview of Streams.Streams reduces the effort for using and accessing the elements in any Collection. So here we will see what are different types of operation in Streams and when to use them. Streams Definition Streams are used when Continue Reading

Building API with gRPC using protobuf – Part 2

Reading Time: 3 minutes In the previous blog, we discussed gRPC. Why is gRPC better/worse than REST? Advantages of gRPC and why we have to use gRPC. I also covered the workflow of gRPC. And last not least what are the different use cases of gRPC. In order to continue our series, we will discuss today the protobuf. How can we generate the Java and Scala code corresponding to Continue Reading