Author: kunal sethi

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

What is JPMS: Java 9 Improvements-2

The Java Platform Module System (JPMS) is the big new feature of Java 9. Java developers took a long time to develop this JPMS concept because the development of this concept was started in 2005 and in 2017 it came as a Java 9‘s new feature. As a part of jigsaw project, this module programming came in Java 9. We will cover here mainly basic 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

Java 8 Stream : Need with examples and Limitations

Before starting with java 8 stream firstly look at this example that will illustrates the need of java 8 stream and the power of stream as well. private static int sumIterator(List list) { Iterator it = list.iterator(); int sum = 0; while (it.hasNext()) { int num =; if (num > 10) { sum += num; } } return sum; } There are some issues 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

Naming is Too Hard : Finding the Right Level of Abstraction

How we can make our code more readable !! The answer of this question is “With The Help Of Good and appropriate naming”.  In programming Experience has confirmed Naming things is too hard.So hard in fact that it’s common for programmers with years and years of experience to regularly name things poorly. There is a number of nuances to giving something a right and appropriate Continue Reading

%d bloggers like this: