Functional java

IntelliJ hacks using Scala

Reading Time: 3 minutes Introduction An IDE or integrated development environment is a software application that combines, in one place, all the tools needed for a software development project. On a more basic level, IDEs provide interfaces for users to write code, organize text groups, and automate programming redundancies. Here we will talk about IntelliJ IDEA, one of the popular IDE in the market which has advantages over others Continue Reading

Understanding Java enums

Functional Java CodeStyle [Part: 3]

Reading Time: 3 minutes The world is a stage where all of us are artists and constant learning is the foundation of success. So, to improve ourselves here we are going to know more about coding style in which we will look deep into Tools in Java. We will see why it is important and how to achieve that. As in the previous blog, we saw clean coding basic Continue Reading

Understanding Java enums

Functional Java CodeStyle [Part: 2]

Reading Time: 5 minutes The world is a stage where all of us are artists and constant learning is the foundation of success. So, to improve ourselves here we are going to know more about coding style in which we will look deep into SOLID principles in Java. We will see why it is important and how to achieve that. As in the previous blog, we saw several code Continue Reading

Kafka Kerberos Authentication

Reading Time: 2 minutes In this article we will start looking into Kerberos authentication and will focus on the client-side configuration required to authenticate with clusters configured to use Kerberos. Kafka supports four different communication protocols between Consumers, Producers, and Brokers. Each protocol considers different security aspects, while PLAINTEXT is the old insecure communication protocol. PLAINTEXT (non-authenticated, non-encrypted) SSL (SSL authentication, encrypted) PLAINTEXT+SASL (authentication, non-encrypted) SSL+SASL (encrypted authentication, encrypted 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

Functional Java CodeStyle [Part: 1]

Reading Time: 5 minutes The world is a stage where all of us are artists and constant learning is the foundation of success. So, to improve ourselves here we are going to know more about clean code in Java. We will see why it is important and how to achieve that in Java. Clean Code First of all, before knowing how to write a clean code see what is 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

Introduction to Java Stream API

Reading Time: 3 minutes Hi friends in this blog we are going to cover streams, parallel streams and some of the popular function associated with them with example. Introduction Streams are wrappers around data source, which make data processing in bulk easier and fast. A stream is not a data structure i.e. it does not store data. Stream is defined in java.util.stream package. Different ways to create Streams 1) Continue Reading

Understanding Java enums

Introduction to JAVA COLLECTIONS

Reading Time: 2 minutes In this blog we will understand basics of JAVA Collections framework. What are JAVA Collections and Why do we need them? The Collection in Java is a framework that provides an architecture to store and manipulate the group of objects. Collections are like containers that group multiple items in a single unit. For example, a jar of chocolates, a list of names, etc. Collections are used in Continue Reading

Getting started with GraphQL

Reading Time: 2 minutes The world is a stage where all of us are artists. Constant learning is the foundation of success. So, here we are going to learn about a query language introduced by Facebook back in 2015, which is GraphQL. In this blog, we will cover the basics of GraphQL. Overview GraphQL is a query language(that’s what QL stands for) for your API and a server-side runtime Continue Reading

Proxy Design Pattern in JAVA #6

Reading Time: 2 minutes In this blog, we will discuss Proxy Design Pattern, its example, and how it is different from the other design patterns. But, it’s important to have an understanding of the design patterns first. You can refer here. What is a Proxy A Proxy is something that has the authority to do some activity on behalf of the original object. For example, when you are busy Continue Reading