Introduction to Apache Pulsar 1. Introduction Apache Pulsar is a distributed open source Publication/Subscription based messaging system developed at Yahoo. It was created to power Yahoo’s critical applications like Yahoo Mail, Yahoo Finance, Yahoo Sports etc. Then, in 2016, it was open sourced under the Apache Software Foundation. 2. Architecture Pulsar… Continue Reading apache-pulsar

Guide to Selenium with JUnit / TestNG 1. Introduction This article is a quick, practical introduction to working with Selenium and writing tests with JUnit and TestNG. 2. Selenium Integration In this section, we’ll start with a simple scenario – opening a browser window, navigating to a given URL and… Continue Reading java-selenium-with-junit-and-testng

Guide to java.util.concurrent.Locks   1. Overview Simply put, a lock is a more flexible and sophisticated thread synchronization mechanism than the standard synchronized block. The Lock interface has been around since Java 1.5. It’s defined inside the java.util.concurrent.lock package and it provides extensive operations for locking. In this article, we’ll… Continue Reading java-concurrent-locks

Java String equalsIgnoreCase() 1. Overview In this quick tutorial, we’ll look at determining if two String values are the same when we ignore case. 2. Using the equalsIgnoreCase() equalsIgnoreCase() accepts another String and returns a boolean value: String lower = “equals ignore case”; String UPPER = “EQUALS IGNORE CASE”; assertThat(lower.equalsIgnoreCase(UPPER)).isTrue(); 3.… Continue Reading java-string-equalsignorecase