Author Archives: Jasmine Kaur

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

Posted in Future, Java | Tagged , , | 1 Comment

Knolx : Exploring the power of JMockit


Hello everyone, Knoldus organized a session on 22nd December 2017. The topic was “JMockit”. Many people attended and enjoyed the session. In this blog post, I am going to share the slides & video of the session. Slides: JMockit from … Continue reading

Posted in Java, Mocking, Test, tests | Tagged , , , | Leave a comment

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

Posted in Future, Java | Tagged , , | 1 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

Let’s dive deep into Apache Ignite


Let’s first have some basic understanding of Apache Ignite and then we will look more into its life cycle with the help of a demo application. Apache Ignite is an in-memory computing platform that is durable strongly consistent and highly … Continue reading

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

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