Author: jt

About jt

    In Java, the HashMap and HashTable are both data structures that store data in key value pairs. When you store data in these, the key value is hashed, then is used as an index for fast access to the stored data. HashMap vs Hashtable HashMap Hashtable Introduced in Java 1.2 Introduced in Java 1.0, considered […]Continue reading

    Sorting collections in Java is a common task. Java provides several different ways we can sort Collections. In this article, we will discuss the options we have to sort collections in Java. Understanding the java.util.Collections.sort() Method The java.util.Collections.sort() method is a crucial utility in the Java programming language, designed to order elements within a list. […]Continue reading

    Apache Maven is distributed in several formats. The simplest way to install Maven is to download a ready-made binary distribution archive and follow the installation instructions. Maven 3.3+ release requires JDK 1.7 or above to execute. General Requirements Java JDK must be installed on system. Java 1.7 or higher is needed for Maven. To verify the […]Continue reading

    This past week I needed to upgrade my blog (Spring Framework Guru – aka SFG). This post is not going to be a technical how-to. But more of an overview targeted to new developers for them to see steps taken to migrate a production WordPress site to a new instance, with near zero downtime. Disclaimer […]Continue reading

    In this post, I will explain the Merge Sort algorithm and how to use it in Java. Sorting is the process of arranging data in ascending or descending order. Sorting becomes necessary while searching a particular record in database, a particular telephone number in telephone directory, words in a dictionary, and so on. In computer […]Continue reading

    So your JUnit 5 tests are not running under Maven? You have JUnit 5 Tests which run fine from your IDE, but fail to run under Maven? Your test output looks like this: [INFO] ——————————————————- [INFO] T E S T S [INFO] ——————————————————- [INFO] [INFO] Results: [INFO] [INFO] Tests run: 0, Failures: 0, Errors: 0, […]Continue reading

    Spring Framework 5 introduces WebClient, a component in the new Web Reactive framework that helps build reactive and non-blocking web applications. In web applications, a common requirement is to make HTTP calls to other services. Prior to Spring 5, there was RestTemplate for client-side HTTP access. RestTemplate, which is part of the Spring MVC project, […]Continue reading

    Working for startups is always an interesting experience. Currently, I’m a software engineer at Velo Payments. If you’ve ever worked for a startup, you’ll quickly see that you get to wear many hats. One of the hats I get to wear is the creation of developer center (currently in the oven). In the very near […]Continue reading