Java performance is the theme this week, with a lot of interesting pieces.
Search Results for: stack
Difference Between FileReader and BufferedReader in Java
Learn how to use FileReader and BufferedReader and the differences between them.
Lombok EqualsAndHashCode Annotation
Learn about Lombok’s @EqualsAndHashCode annotation, which generates the equals() and hashCode() methods for a class based on its fields.
Automatically Create Schemas for H2 In-Memory Database
Learn several ways to ensure that our H2 in-memory database is automatically initialized and ready to use for querying when our application starts.
External Debugging With JMXTerm
Learn how to use JMXTerm to perform external debugging on a Java application.
Fix the JsonMappingException: Can not deserialize instance of java.util.ArrayList from Object value (token `JsonToken.START_OBJECT`)
Learn how to fix a common JsonMappingException when deserializing a JSON string.
Fix Spring Data JPA Exception: No Property Found for Type
This article explains how to fix the “PropertyReferenceException: No property found for type” in Spring Data JPA. It advises using exact property names when defining query methods to avoid the exception. Practical examples are provided.
Possible Root Causes for High CPU Usage in Java
A quick and practical guide to potential causes of high CPU usage.
Java Weekly, Issue 485
Virtual threads in Java 21, Java profilers, a new build system for Java, auto-explain for Postgres, and Generative AI!
Implicit Wait vs Explicit Wait in Selenium Webdriver
Explore the differences between the wait types in Selenium and learn a few best practices when using them in tests.
JetBrains @Contract Annotation
Learn how to use the JetBrains @Contract annotation.
Different Ways to Create an Object in Java
Learn how to use keywords, such as new or class, to create an object.
Debugging Spring Method Annotations Using Lightrun
A practical guide to debugging Spring method annotations using Lightrun.
Java Weekly, Issue 475
Fast Java 21, compact strings, static mocks, native GC for Quarkus, async stack trace, and non-vulnerable microservices!
Memory Types in JVM
Learn about the different memory types in the Java Virtual Machine (JVM) and understand the reasons for some common memory-related errors.
Java List Interface
Learn about the Java list interface, including core functions and concrete implementations.
Fix the IllegalArgumentException: No enum const class
Why IllegalArgumentException is thrown and how to fix in it in Java.
Converting a Number from One Base to Another in Java
Learn how to convert numbers from one base to another in Java.
The JVM Run-Time Data Areas
Explore different types of runtime data areas and their purpose.
Batch Processing of Stream Data in Java
Explore how to accomplish batch processing of Stream data in Java using both native features and some third-party libraries.