Validate if a String Is a Valid Geo Coordinate
1. Introduction In this tutorial, we’ll explore various approaches to validating geo coordinates and their accuracy in Java. 2. Understand Geo Coordinates Geo coordinates are typically expressed as...
View ArticleIntroduction to Spring Cloud AWS 3.0 – SQS Integration
1. Overview Spring Cloud AWS is a project that aims to simplify interacting with AWS services. Simple Queue Service (SQS) is an AWS solution for sending and receiving asynchronous messages in a...
View ArticleUpload Multiple Files Using WebFlux
1. Overview Spring WebFlux is a reactive web framework that provides a non-blocking event loop to handle I/O operations asynchronously. Also, it uses Mono and Flux reactive stream publishers to emit...
View ArticleIntroduction to Apache Calcite
1. Overview In this tutorial, we’ll learn about Apache Calcite. It’s a powerful data management framework that can be used in various use cases concerning data access. Calcite focuses on retrieving...
View ArticleGetting Query String Parameters from HttpServletRequest
1. Introduction One of the most important capabilities of backend HTTP API development is the ability to resolve request query parameters passed by the frontend. In this tutorial, we’ll introduce...
View ArticlePrinting Message on Console without Using main() Method in Java
1. Introduction The execution of a Java program starts from the main() method. However, there are some scenarios where we may want to display messages without using the main() method. In this tutorial,...
View ArticleIntroduction to Postman
1. Overview Postman is a popular API development tool that simplifies designing, testing, modifying, and documenting APIs. It provides a user-friendly interface allowing users to send and receive HTTP...
View ArticleConvert byte to int Type in Java
1. Overview Converting byte to int is a common operation, especially when dealing with low-level data manipulation, file I/O, or network communication. In this article, we’ll explore various methods...
View ArticleSimple Morse Code Translation in Java
1. Overview Morse code encodes text characters using sequences of dots and dashes to represent letters, numbers, and punctuation. Samuel Morse and Alfred Vail developed it in the early 1830s for...
View ArticleSetting up and Using Spock With Gradle
1. Overview The Spock Framework is a testing and specification framework for Java and Groovy applications. Gradle is a popular build tool and a Maven alternative. In this tutorial, we’ll show how to...
View ArticleUsing Current Time as Filename in Java
1. Introduction In this tutorial, we’ll look at several methods for obtaining the current timestamp value in Java and using it as a filename. To accomplish our goal, we’ll leverage several classes...
View ArticleEnable Java SSL Debug Logging
1. Overview Java Secure Socket Layer (SSL) debugging is crucial for developers and administrators to diagnose and troubleshoot issues related to establishing secure connections in applications....
View ArticleReset ListIterator to First Element of the List in Java
1. Overview When we work with Java, efficiently navigating through collections is a common requirement. When dealing with lists, the ListIterator interface provides a powerful tool for bidirectional...
View ArticleJFR View Command in Java 21
1. Introduction Java Flight Recorder (JFR) is a profiling and diagnostic tool that monitors the JVM and the programs that run on it. It’s a handy profiling tool developers use to monitor the state and...
View ArticleDifference Between mvn install and mvn verify
1. Introduction Apache Maven is a powerful build management tool that provides a structured way to manage the build lifecycle of a project. Maven builds are composed of lifecycles, which define clearly...
View ArticleHow to Catch Deserialization Errors in Spring-Kafka?
1. Overview In this article, we’ll learn about Spring-Kafka‘s RecordDeserializationException. After that, we’ll create a custom error handler to catch this exception and skip the invalid message,...
View ArticleApply Bold Text Style for an Entire Row Using Apache POI
1. Introduction In this quick tutorial, we’ll explore effective methods for applying a bold font style to entire rows in Excel sheets using the Apache POI library. Through straightforward examples and...
View ArticleCheck if Two Date Ranges Overlap
1. Introduction In various applications such as appointments, bookings, or project timelines, avoiding scheduling conflicts is paramount. Overlapping dates can lead to inconsistencies and errors. In...
View ArticleConvert byte[] to Byte[] and Vice Versa in Java
1. Overview While Byte is a wrapper of the primitive byte, and the conversion can be done automatically by autoboxing for individual values, it’s important to note that this automatic conversion...
View ArticleBuilder Pattern and Inheritance
1. Overview In this tutorial, we’ll learn about the challenges in implementing the Builder Design Pattern while dealing with hierarchal inheritance. An example of a hierarchical inheritance could be...
View Article