Advertisements

Author: Jasmine Kaur

Http/2 Client in Java9

Reading Time: 3 minutes Hypertext Transfer Protocol (HTTP) is an application protocol that is, basically used as a request/response mechanism for data transformation. HTTP is based on the Client/Server model. Client/Server model can be explained as two computers, Client (receiver of service) and Server (provider of service) that are communicating via requests and responses. Talking about earlier HTTP which is currently, the foundation of data communication for the World Wide Web. WWW Continue Reading

Advertisements

StackWalker in Java9

Reading Time: 2 minutes StackWalker was introduced in JDK9 as Stack Walking API or JEP-259.  StackWalker gives the snapshot of the stack trace of the current thread at any given point of time and has methods to walk over it. Now, we can easily filter out the information required, sort them and perform almost all the stream operations provided by Java.

Jshell : Java REPL

Reading Time: 3 minutes A good programmer is always lazy when it comes to writing the code. They always try to complete their functionality in minimum lines of code. The same thing is expected by them when it comes to debugging or learning new features. In order to fulfill this requirement, almost every programming language has a REPL, a tool which has proved to be of great importance, especially for Continue Reading

JPMS in Java9

Reading Time: 4 minutes Java Platform Modular System is commonly known as JPMS. The concept of JPMS i.e. Java Platform Module System came in Java 9. Its development was first started in 2005 and finally in 2017, this concept came under the project named Jigsaw. Until Java 8, we used jar files, but from Java 9 onwards, we will be using modules. Modularity is the basic rule of good Continue Reading

Installation and switching between multiple versions of Java

Reading Time: 2 minutes Having trouble in keeping multiple versions of Java in your single system? You have approached at the right place for seeking the solution. In this blog, we will learn how to keep multiple versions of java in your system and how to switch between them as per your convenience. Before moving forward, let’s have a basic understanding of what is SDKMAN?

Introduction to Hyperledger Sawtooth

Reading Time: 4 minutes Hyperledger Sawtooth is Hyperledger’s open-source blockchain platform, following closely on Hyperledger Fabric. It is an enterprise distributed ledger proposed by Intel and was one of the first projects to join Linux Foundation’s Hyperledger umbrella. This platform is modular, scalable, with an innovative consensus model, has unique support for permissioned and permissionless infrastructure and the potential for incredibly large network sizes.

Future vs CompletableFuture in Java- #2

Reading Time: 3 minutes 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 the basis of next 3 categories i.e. Combining 2 CompletableFutures together Combining multiple CompletableFutures together Exception Handling Let’s have a look at each one of Continue Reading

Knolx : Exploring the power of JMockit

Reading Time: < 1 minute 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 Knoldus Inc. Video: If you have any query, then please feel free to comment below.

Future vs CompletableFuture in Java – #1

Reading Time: 4 minutes 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 is used for asynchronous programming in Java. Asynchronous programming is a means of writing non-blocking code by running a task on a separate thread than Continue Reading

Rules while working with stream in Java 8

Reading Time: 3 minutes 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. Streams represent a sequence of objects from a source, which supports aggregate operations. One thing to be notified while working with streams  is that, aggregate operation (intermediate operations) are lazy evaluated i.e. they do not start processing the content of Continue Reading

Let’s dive deep into Apache Ignite

Reading Time: 4 minutes 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 available with powerful SQL, key value and processing APIs. Features : Durable Memory : Apache Ignite is based on the Durable Memory architecture that allows Continue Reading

Unit Testing vs. Component Testing in Lagom

Reading Time: 4 minutes 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 Testing involves testing of individual units(classes) to demonstrate that the program executes as per the specification and it validates the design and technical quality of Continue Reading

Knoldus Pune Careers - Hiring Freshers

Get a head start on your career at Knoldus. Join us!