Posts

What is Stream API in Java

What is Stream API in Java                               Data processing is an imperative part of any application. In the current age of data, need of data processing is going to be more and more complex. To support that each language supports a wide range of data structure and data processing  APIs. Java has a support for wide range of Collection API. None of the Java application can be developed without using Collection API. But along with lots of other features Java introduced Stream API in Java 8. So the obvious question pops up why has Java decided to introduce Stream API? Wasn't Collection API enough to support the growing need of data processing in terms of complexity and performance? We will try to find out answers to all of the questions in this article.  Collection vs Stream:                       ...

Functional Interface in Java

Image
  Functional Interface                Java 8 was released in 2014 and it was one of the major release. Among all other exciting features of Java 8, Lambda Expression is one of the most talked feature. But to use the Lambda Expression we need to know Functional Interface which is another feature introduced in Java 8. As per Java documentation Lambda expressions let you express instances of single-method classes more compactly Functional Interface has been introduced in Java to support lambda expression. So before start diving deeper into lambda expression, it is crucial to understand Functional Interface.  No doubt that interface has gone through a lot of changes in Java 8. Before Java 8, all methods declared in interfaces= are public and abstract by default. But to address the backward compatibility issue, post Java 8 interface can have default methods and static methods. But then what is special ab...

Azure Functions

Image
Azure Functions            Serverless computing is rightfully gaining more and more attention now a days with cloud ecosystem be it AWS, Azure, GCP, IBM name any of the cloud provider. But the most important discussion over the internet space is whether serverless is actually Server-less in literal meaning! What is serverless?                                To answer the question, serverless is not literally server less. There are Servers. You still need server to run your application. Serverless computing is a way of abstracting the hassle of the underlying infrastructure from developers so that they can concentrate on the logical implementation. It is a cloud computing execution model where cloud provider handles all the responsibility for common infrastr...