Author: Bhawna Sharma

What is JWT (JSON Web Token)?

Reading Time: 2 minutes In this blog, we will learn about  JWT, its basic structure, advantages and how can we generate and validate JWT in java. So, Authentication is the process of verifying the identity of a user, and JWT is a safe way for transferring information between multiple parties in the JSON format. So for example, If you want to login to any application say XYZ that allows Continue Reading

Couchbase – Lets Get Started

Reading Time: 4 minutes In this blog, we will learn about the basics of Couchbase and some facts that a developer should know about Couchbase. What is Couchbase? Couchbase is a NoSQL database having the following features – Distributed:- Couchbase is distributed in nature, data can be distributed in form of multiple copies at different data center. Document-Oriented:- It stores keys and values as JSON documents. Flexible Data Model:- Continue Reading

StringUtils – Apache common Lang3

Reading Time: 2 minutes In this blog, we will learn about the StringUtils class. It provides some nice utilities that deal with Strings as compare to java.lang.String. Before discussing its methods, let’s see one example. Movie movie = new Movie() String name = movie.getName(); if(name.isEmpty()){ } what if the movie’s name is Null. 🤔 Exception in thread “main” java.lang.NullPointerException Then definitely it will throw a Null Pointer Exception. Yes, Continue Reading

Pagination in Angular

Reading Time: < 1 minute What if, you have to scroll down infinitely through a large chunk of data. Well, I don’t think you have plenty of time to explore that ocean of information. So here comes Pagination which divides the content into separate pages. In angular, we have a library called ngx-pagination which is supported in Angular 2.3.0+. This can be added to your application by installing the library. npm Continue Reading

Getting Started with RxJava

Reading Time: 2 minutes In this blog, we will learn about the basics of RxJava and its building blocks. RxJava is the open-source implementation of ReactiveX in Java. What is RX? RX stands for the Reactive Extension which is used for creating the asynchronous and event-based programs. It is a powerful tool that provides the various benefits. Some of the benefits are it is Composable (RX operators can be combined Continue Reading

Promise vs Observable in Angular

Reading Time: 2 minutes In Angular, we can use either Promise or Observable for handling asynchronous data. Both get and post method of Http and HttpClient return Observable and it can be converted into Promise using toPromise() method. So, what’s the difference when they both are dealing with asynchronous data. What actually the difference is? Promise emits a single value while Observable emits multiple values. So, while handling an Continue Reading