How to create Custom Annotation in Java?
Reading Time: 2 minutes Default constraints/validation methods not fulfilling requirements? See how you can write your own custom constraints/validation classes in java.
Reading Time: 2 minutes Default constraints/validation methods not fulfilling requirements? See how you can write your own custom constraints/validation classes in java.
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
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
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
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
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
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