Learn about Simple Web Server in Java 18 and how it works.
Search Results for: output
Install OpenJDK on Windows
In this article, we look at various approaches to installing OpenJDK on a Windows environment.
Calling Custom Database Functions With JPA and Spring Boot
Explore various approaches to calling custom database functions within JPA and Spring Boot applications.
CompletableFuture runAsync() vs. supplyAsync() in Java
Learn about two essential methods offered by Java’s CompletableFuture, explore their differences, use cases, and when to choose one over the other
View Kafka Headers in Java
Learn about commonly used Kafka headers and learn how to view and extract them using Java.
Preventing Gson from Expressing Integers as Floats
Learn why integers are considered floating-point numbers and how to prevent Gson from representing integers as floats.
Guide to System.in.read()
Learn how to use Java’s System.in.read().
Convert Infix to Postfix Expressions in Java
Explore infix, prefix, and postfix notations of mathematical expressions.
Introduction to OpenGrok
In this article, we learn how to get started with OpenGrok, an open-source code search and cross-reference engine.
A Guide to the @SoftDelete Annotation in Hibernate
Learn about the Hibernate @SoftDelete annotation and understand how to implement it.
Creating a Custom URL Connection
Explore the process of creating a custom URL connection in Java to overcome the limitations associated with the default URLConnection class.
Find the Equilibrium Indexes of an Array in Java
Learn what an equilibrium index of an array is and how to identify it.
CountDownLatch vs. Semaphore
Explore the differences between CountDownLatch and Semaphore and discuss when to use each.
Generating Unique Positive Long Using SecureRandom in Java
Learn how to use SecureRandom to generate unique positive values in Java.
Read and Write Files in Java Using Separate Threads
Explore the utilization of separate threads for efficient file handling in Java.
Structured Logging in Java
Learn the advantages of and how to implement structured logging in Java.
Print a Java 2D Array
Learn about different ways to print a 2D array to the console in Java, along with their time and space complexity.
Monkey Patching in Java
Learn how monkey patching can be used in Java, when to use it, and its drawbacks.
How to Find the URL of a Service in Kubernetes
A quick and practical guide to finding the URL of a service in Kubernetes.
Improving Test Coverage and Readability With Spock’s Data Pipes and Tables
Learn how to use Spock’s data feeds in a where block.