Home » Archives for Yatin

Author Archives: Yatin

An experience full-stack engineer well versed with Core Java, Spring/Springboot, MVC, Security, AOP, Frontend (Angular & React), and cloud technologies (such as AWS, GCP, Jenkins, Docker, K8).

How to Create IAM User & Policy using Terraform on AWS

Hello. In this tutorial, we will create an IAM policy and user using Terraform on AWS. Terraform is a popular open-source deployment automation software.  1. Introduction Terraform is a tool for building, changing, and versioning the infrastructure safely and efficiently. It is used to manage the infrastructure of the popular cloud service providers and custom in-house solutions. It helps manage ...

Read More »

Java 8 Functional Interface – BiPredicate Example

Hello. In this tutorial, we will explain the BiPredicate functional interface in Java 8. 1. Introduction Java 8 BiPredicate functional interface represents a method that accepts two input arguments and returns a boolean output. Represented by the method syntax – boolean test(T t, U u). This interface also provides some default methods like – default BiPredicate or(BiPredicate other) – Composed ...

Read More »

What is SQL and how does it work?

Hello. In this tutorial, we will learn and understand what SQL is and how does it work. 1. Introduction SQL stands for Structured Query Language and is used to extract and organize data stored in relational databases like MySQL, PostgreSQL, Oracle, etc. A relational database consists of rows and columns that allow fetching specific information from databases that can be ...

Read More »

Summing Numbers with Java 8 Stream.reduce() operation

Hello. In this tutorial, we will explain the Stream.reduce method in java 8. 1. Introduction Before diving deep into the practice stuff let us understand the reduce() method in java8 programming. Stream.reduce() – Combine the elements of a stream and produces a single result. The method accepts T identity and BinaryOperator<T> accumulator as the arguments. If the identity argument is ...

Read More »

Message Queueing in Node.js with AWS SQS

Hello. This tutorial will understand AWS SQS and create a simple nodejs application to send and receive messages to/from the queue. 1. Introduction AWS SQS represents the simple queue service in the Amazon ecosystem. This service: Enables a user to store the messages (up to 256 KB in any format such as JSON, XML, etc) in the queue while waiting ...

Read More »

Publishing & Subscribing to AWS SNS Messages with Node.js

Hello. In this tutorial, we will see publishing and subscribing to AWS SNS Messages with Node.js. We will understand AWS SNS and create a simple application that will interact with SNS with the help of exposed endpoints. 1. Introduction AWS Simple Notification Service (SNS) is a cloud service for delivering notifications from applications to subscribed endpoints and clients. It is ...

Read More »

Java 8 Stream – findAny() & findFirst() Example

Hello. In this tutorial, we will explain the findAny() and findFirst() methods in java 8. 1. Introduction Before diving deep into the practice stuff let us understand the findAny() and findFirst() methods in java8 programming. Stream.findFirst() – Returns an optional object containing first element of the given stream. It can also return an empty() optional if the stream is emptyStream.findAny() ...

Read More »

Java 8 Functional Interface – BiConsumer Example

Hello. In this tutorial, we will explain the BiConsumer functional interface introduced in java 8. 1. Introduction Before diving deep into the practice stuff let us understand the BiConsumer functional interface in java8 programming. void accept(T t, U u) – It is an abstract method that accepts two input arguments, prints the operation based on the given input, and returns ...

Read More »

Java 8 Stream – count() Example

Hello. In this tutorial, we will explain the count() method introduced in java 8. 1. Introduction Before diving deep into the practice stuff let us understand the count() method introduced in java8 programming. Stream.count() – Returns the number of elements in the stream with or without filter condition being appliedThis is a terminal operation and once consumed the same stream ...

Read More »

Java 8 Stream – min() & max() Tutorial

Hello. In this tutorial, we will explain the min() and max() methods introduced in java 8. 1. Introduction Before diving deep into the practice stuff let us understand the min() and max() methods introduced in java8 programming. Stream.min() – Returns the minimum element of the stream according to the provided comparator. Represented by the code syntax – Optional<T> min(Comparator<? super ...

Read More »