Author: kunal sethi

Making HTTP calls just got easier in Java11!

Today, we will gonna discuss Http/2 client which actually came in Java9, but in Java9 it was part of incubator module. In Java11, a new module is assigned to this special functionality which is java.net.http. Now, developers don’t need to go for any third party library or API for async HTTP calls or for easy access callbacks method to get HTTP response after calls. In this discussion, Continue Reading

Need Of Value Classes With Example

What Value classes is? Value classes are a mechanism in Scala to avoid allocating runtime objects. This is accomplished through the definition of new AnyVal subclasses. The following shows a very minimal value class definition: case class UserId(id: Int) extends AnyVal As you can see in the above section,  For a class to be a value class, it must have exactly one parameter and it must have Continue Reading

MongoDB vs RDBMS and it’s Advantages

In this blog, I will introduce you with the MongoDB and will draw a comparison with RDBMS and highlight its advantages over the later. MongoDB is a No SQL database.  It is an open-source, cross-platform, document-oriented database written in C++. MongoDB is developed by the company named 10gen. They define MongoDB as: “Mongo DB is scalable, open source, high performance, document-oriented database.” Why MongoDB? In this section, we will Continue Reading

Java 9 Improvements-1

There are a couple of improvements in Java 9. We will cover it one by one with the examples of each. 1.) Interface private methods: In Java 9, we can create private methods in interfaces. The use case is very simple: similar to classes where you put the repetitive code in a private method and reuse that in other methods, you can simply create one private helper method in Continue Reading

Java: Try With Resources

Try with resources is a special type of try statement where we can declare more than one resources within a single try statement. This feature came in Java 7. But it has some limitation with itself that overcomes in Java 9. We will discuss this limitation through the examples. Now, Firstly we have to know what is resource actually, A resource is an object that must be closed after Continue Reading

UDTs In Cassandra – Simplified!!

In most programming languages viz. Scala or Java we can play with object constructs i.e. we can create our own classes and create instances out of it. A similar construct is also provided by Cassandra and that is known as UDT which stands for User Defined Type. User-defined types (UDTs) can attach multiple data fields, each named and typed, to a single column. The fields Continue Reading

Monolithic v/s Microservices

Monolithic architecture :-  A monolithic architecture is the traditional unified model for the design of a software program. The term monolithic is not new and is borrowed from the Unix world. In Unix, most of the commands exist as a standalone program whose functionality is not dependent on any other program. In simple words, monolithic meaning is formed of a single large block of stone Continue Reading

Key points to build an Angular application

This Blog is about Angular and why developers should choose angular to build an application. And we will also discuss difference between its current version and previous versions. What Angular is : Angular is perfect choice for Single Page Application(SPAs). AngularJS takes another approach. AngularJS is a structural framework for dynamic web apps. It tries to make something as small as possible the impedance mismatch between document Continue Reading

REST-APIs Implementation tool: Finatra

Finatra is an open-source project by Twitter that can be used to build REST APIs in Scala programming language. Finatra builds on top of Twitter’s Scala stack — twitter-server, finagle, and twitter-util. Twitter-server   defines a template from which servers at Twitter are built. It provides common application components such as an administrative HTTP server, tracing, stats, etc. These features are wired in correctly for Continue Reading

Knoldus Pune Careers - Hiring Freshers

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