Tag Archives: Java 8

Future vs. CompletableFuture – #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 … Continue reading

Posted in Future, Java | Tagged , , | Leave a comment

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 … Continue reading

Posted in Best Practices, Java, Streaming | Tagged , , , , , , , , | 1 Comment

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 … Continue reading

Posted in Scala | Tagged , , , , , , | 1 Comment

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 … Continue reading

Posted in Architecture, Java, knoldus, Microservices, Scala | Tagged , , , | 1 Comment

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 … Continue reading

Posted in Functional Programming, Java | Tagged , , , , , , | 8 Comments

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 … Continue reading

Posted in Java, Scala | Tagged , , , | 2 Comments