Author: Priyanka Thakur

What can we do with the static keyword in java?

Reading Time: 3 minutes As we all know that we can make static variable, method or class. We know what it can do. If we make a variable static then that variable scope is present for the entire run of the program. Its memory is shared by all the object of the class in which it is declared. We make the method so that it can not be inherited. Continue Reading

Delete operation in Dgraph using GRPC

Reading Time: 2 minutes Deletion in dgraph is an easy operation we just have to keep few things in mind before deleting anything in dgraph. Before I explain how can we delete I am going to explain the different scenario. For example, Delete the edge Delete the node. Delete the one value in a list We will take a scenario where we have a person who has the following Continue Reading

How to use Dgraph in your java application!!

Reading Time: 3 minutes In this blog, we are going to learn how to interact with Dgraph in your java application. Before we dive into the coding part, we will first have a basic understanding of what we are going to use. So to make a connection with Dgraph server we need the Dgraph client. The client can communicate with the server in two different ways through gRPC and Continue Reading

Small Guide to SLF4j logging.

Reading Time: 3 minutes Logging your application is an important aspect. It will help a programmer to see where an application is failing. This article will help you with how to log an application using SLF4j. Definition The Simple Logging Facade for Java (SLF4J) serves as a simple facade or abstraction for various logging frameworks, such as java.util.logging, logback, and log4j. SLF4J allows the end-user to plug in the Continue Reading

How to use Custom Annotation in Java

Reading Time: 4 minutes This article will take you on a journey of annotation. A brief description of annotation and their usage. A simple example of custom annotation and how to validate the custom annotation. What is Annotation? Annotations, a form of metadata, provide data about a program that is not part of the program itself. Annotations have no direct effect on the operation of the code they annotate. Continue Reading

How to run packer and terraform with a shell script.

Reading Time: 4 minutes We all are tired of repeating the same steps for creating the image and instance in AWS. But no longer! After reading this blog you will make an image using Packer and an instance through Terraform with help a shell script. You should have prior knowledge of Packer and Terraform. Below, I have briefed them for your reference. Packer is an open source tool for Continue Reading