When you are developing an enterprise applications, handling exceptions and errors in APIs is very important. APIs should always send the proper response to the client whether its a HTTP Status OK or at any exception level a proper 4XX status should … [Read more...] about How to Handle Exceptions in Spring Boot
We all developers use Git Commands on our everyday work over and over again to save, share, maintain history of our work. In this journal entry, we will see some git commands every developer should know and which are rarely used but are very helpful … [Read more...] about Git Commands every Developer should know
BlockingQueue interface in Java was first introduced in Java 1.5. BlockingQueue interface supports flow control by introducing blocking if either BlockingQueue is full or empty. All methods of BlockingQueue are atomic in nature and use internal … [Read more...] about Understanding BlockingQueue in Java
In this journal entry we will see how we can setup the $JAVA_HOME environment variable on Mac OS X 10.5 or later versions. From OS X 10.5, Apple introduced a command line tool (/usr/libexec/java_home) which dynamically finds the top Java … [Read more...] about How to set $JAVA_HOME environment variable on Mac OS X
We all as developers know how to program but are we fully aware of time-saving tools and extensions of the IDE we are using? This book "Visual Studio 2019 In Depth" by BPB Publications will help improve our skills even further by using time-saving … [Read more...] about Visual Studio 2019 – Time Saving Tools And Extensions
The Apache Hadoop software library is a framework that allows for the distributed processing of large data sets across clusters of computers using simple programming models. In this journal entry, we will try to answer the question "How to find the … [Read more...] about How to find the size of a directory, using Hadoop?
The world is transforming into a digital world and technology is changing on a daily basis. Businesses, whether startups or enterprises are trying to stay abreast of this changing tech world. In this journal entry, we will be focusing on one of the … [Read more...] about Why We Need ReactJS?
The default context path of the Spring Boot application is the root context path("/"). Usually, conventions are preferred over configuration; however, there may be cases when we want to have a custom context path of our application. In this journal … [Read more...] about Change Context Path in Spring Boot Application
In this journal entry, we will be looking at the methods on how to transfer a file through SFTP in Java on a remote server. The main point of focus is basically uploading and downloading the files from a remote server using SFTP. We will be using … [Read more...] about How to Transfer file through SFTP in Java
Java and null share a unique bond. Almost all of the Java developers get trouble with the NullPointerException and this is the most infamous fact about null and Java. In this journal, we will be understanding null in Java. Null was there for a … [Read more...] about Understanding null in Java