blog

Introduction to Mockito: Unit Testing Framework

Mockito is a Java based mocking framework most preferred with the Junit testing framework. It internally uses Java Reflection and allows to create dummy objects of service. Mockito is a very useful tool that simplifies the test case creation by creating mock/dummy object of external dependencies this dummy data will later apply with mocks into … Continue reading Introduction to Mockito: Unit Testing Framework

Secure way of doing OAuth for SPA & Native Apps

When clients like mobile, desktop, single page applications allow the user to sign-in using a third party application (google, facebook, twitter etc), one of the first choice is to use OAuth 2.0 standard with authorization code flow. In Authorization code flow, authorization request is made via browser and an authorization code is returned to the … Continue reading Secure way of doing OAuth for SPA & Native Apps

Spring Boot Microservices communicating through GCP Pub/Sub

In this post, we will learn how to use GCP (Google Cloud Platform's) Pub/Sub service with the Spring Boot application. We will create two simple applications, sender and receiver. We will send a message to a sender application which will publish the message to a Topic and receiver application will receive the message by subscribing … Continue reading Spring Boot Microservices communicating through GCP Pub/Sub

React vs. Vue.js – An Explorative Comparison

Unless you’ve been living under a rock, you’ve probably heard of Facebook’s wildly-popular React JavaScript library for building single-page web application interfaces. You’ve may have also heard of Vue.js, a full-featured utility that can be leveraged for the same purposes. But which one is right for your project?

Migrate From Hadoop To Apache Spark

A variety of data from different resources gets generated because we have a huge volume of data and this process remains in continuous flow which will create more data in future. This huge volume of data is called Big Data and storing this Big Data is a problem for us. Hadoop became one of the … Continue reading Migrate From Hadoop To Apache Spark

Single sign-on with SAML and Spring Boot

Single Sign-on is an authentication process followed by many organizations for allowing users to access multiple applications with single sign in. Advantages of using Single Sign-on are: Use single credentials which are defined on centralized server.One time login to get access to multiple applications.Single place for user management like – add new user or account, … Continue reading Single sign-on with SAML and Spring Boot

Merge Multiple adapters with MergeAdapter

Android introduced the most awaited feature of merging the data adapter into the list with the release of recyclerview:1.2.0-alpha02 package. MergeAdapter is a new class available which enables you to sequentially combine multiple adapters to be displayed in a single RecyclerView. This enables you to better management of your adapters rather than having to combine many … Continue reading Merge Multiple adapters with MergeAdapter