Unused variables, pinned threads, class-file API, concurrent undo cycle, strategy pattern, and managerial skills!
Search Results for: stack
Java Weekly, Issue 509
Virtual threads, Java 21, more switch enhancements, GraalOS, JVM stack size, and updating events in EDA!
Spring Boot Application on Liberica Runtime Container
A quick and practical guide to dockerizing a Spring Boot application on on Liberica Runtime Container.
CATALINA_OPTS vs. JAVA_OPTS in Apache Tomcat
A quick and practical comparison between CATALINA_OPTS and JAVA_OPTS in Apache Tomcat.
Value-Based Classes in Java
Explore value-based classes and the notion of value types in Java.
Detect EOF in Java
Explore several methods for detecting the end-of-file character in Java.
Intro to Gradle Lint Plugin
Learn how to configure the lint plugin and generate lint reports.
Difference Between Hashtable and ConcurrentHashMap in Java
Learn the differences between Hashtable and ConcurrentHashMap, delving into their performance metrics, synchronization features, and various other aspects.
Differences Between Heap Dump, Thread Dump and Core Dump
Learn the differences between heap dump, thread dump, and core dump and understand their use cases.
How to Split an Integer Number Into Digits in Java
Explore various approaches to splitting an integer number into its constituent digits using Java.
What Is a TLAB or Thread-Local Allocation Buffer in Java?
A quick and practical guide to TLAB in Java.
Parameterized Logging With SLF4J
A quick and practical guide to parameterized logging with SLF4J.
Understanding the java.net.SocketException Broken Pipe Error
Learn about the Java “java.net.SocketException: “Broken pipe” error, understand the leading cause of the exception, and see how to fix it.
A Guide to ShardingSphere
Learn the first steps using ShardingSphere.
Performance Comparison Between Different Java String Concatenation Methods
Explore different string concatenation methods in Java and evaluate their performance using JMH.
Parallelize for Loop in Java
Learn different ways to parallelize a for loop in Java.
JAXP vs JAXB: XML Processing APIs Compared
Learn the differences between JAXP and JAXB in Java and understand when to use which.
Java Weekly, Issue 494
Simplified SSL in Spring Boot, structured concurrency in Java 21, nulls in Collectors, XSS in Java, and WASM on Docker.
What Is Elasticsearch?
Learn about Elasticsearch: a powerful search and analytics engine that can revolutionize how we handle and understand data.
Handle NoSuchElementException When Reading a File Through Scanner
In this tutorial, we’ll explore handling the ‘NoSuchElementException: No line found’ exception when reading a file using the Scanner class in Java. We’ll explain its root cause and present three solutions: defensive programming, exception handling, and checking file emptiness.