1 comment on “Guide to Java 8 concurrency using Executors”

Guide to Java 8 concurrency using Executors


Working with the Thread class in Java can be very tedious and error-prone. Due to this reason, Concurrency API was introduced back in 2004 with the release of Java 5 and then enhanced with every new Java release.The API is located in package java.util.concurrent.…

1 comment on “Future vs. CompletableFuture in Java- #2”

Future vs. CompletableFuture in Java- #2


In our previous blog – Future vs. CompletableFuture – #1, we compared Java 5’s Future with Java 8’s CompletableFuture on the basis of two categories i.e. manual completion and attaching a callable method. Now, we will be comparing them on…

1 comment on “Future vs. CompletableFuture in Java – #1”

Future vs. CompletableFuture in Java – #1


This is Part 1 of Future vs. CompletableFuture. In this blog we will be comparing Java 5’s Future with Java 8’s CompletableFuture on the basis of two categories i.e. manual completion and attaching a callable method. What is CompletableFuture? CompletableFuture…

1 comment on “Rules while working with stream in Java 8”

Rules while working with stream in Java 8


First, let’s have a basic understanding of stream. Then we will have a look at the side effects that can occur while working with streams. Stream represents a sequence of objects from a source, which supports aggregate operations. One thing…

1 comment on “Unit Testing vs. Component Testing in Lagom”

Unit Testing vs. Component Testing in Lagom


Let’s first understand the basic difference between unit testing and component testing and then we will have a look at a practical application of unmanaged service in lagom with its test cases. Difference between Unit Testing and Component Testing Unit…

1 comment on “Lagom and Immutability”

Lagom and Immutability


What is Lagom? Lagom is not in disguise anymore. Everyone who's following on micro-service architecture knows about Lagom framework. Lagom is an open source framework built with the shifting from monoliths to micro-services-driven application architecture in mind. It abstracts the…

8 comments on “Like Java 7 ? Then You Are Going to Love Java 8 !!”

Like Java 7 ? Then You Are Going to Love Java 8 !!


JAVA 8 (aka jdk 1.8) is a major release of JAVA programming language development. With the Java 8 release, Java provided support for functional programming, new JavaScript engine, new APIs for date time manipulation, new streaming API, etc. which will…

2 comments on “Introduction to Java 8”

Introduction to Java 8


The Functional Features of Java8 Java 8 was a major release in terms of language and APIs. The language includes several ideas from functional programming like behavior parameterization, passing lambda expression as methods, processing data with stream pipelines etc. The following presentation…