Explore the fundamentals of records, including their purpose, generated methods, and customization techniques.
Search Results for: compilation
Finding an Object’s Class in Java
A quick and practical guide to finding an object’s class in Java.
Java Weekly, Issue 327
A preview of Kubernetes support coming to Spring Boot 2.3, and a handful of Google Cloud tools to help you build and deploy Spring Boot microservices.
Fixing “constant string too long” Build Error
Learn to fix the “constant string too long” build error in Java.
Introduction to Alibaba Arthas
Learn how to monitor, profile, and troubleshoot our Java applications using Alibaba Arthas.
Keycloak Embedded in a Spring Boot Application
Learn how to set up a pre-configured embedded Keycloak server that can be booted up within a Spring Boot application.
Using NullAway to Avoid NullPointerExceptions
Learn how to avoid NullPointerExceptions using NullAway.
Introduction to the jcabi-aspects AOP Annotations Library
Learn about the jcabi-aspects Java library, a collection of handy annotations that modify the behavior of Java application using aspect-oriented programming
Guide to the @Serial Annotation in Java 14
Learn how to apply the @Serial annotation in Java 14 to assist with compile-time checks on serializable properties of a class.
Decompiling Classes in Java
Learn about decompilation in Eclipse and IntelliJ IDEA IDEs as well as a command-line option when they aren’t available.
Bitwise & vs Logical && Operators
Learn the difference between & and && in Java
Java Compiler Error: illegal start of expression
See examples that illustrate the main causes of the “illegal start of expression” error and how to fix it
Java ‘protected’ Access Modifier
The protected modifier helps Java classes to encapsulate their implementation and also share it with related types. Explore how this modifier works in practice.
Ignoring Unmapped Properties with MapStruct
MapStruct allows us to copy between Java beans. There are a few ways we can configure it to handle missing fields.
Unmarshalling Dates Using JAXB
JAXB has basic support for reading data formats built in. Let’s extend this functionality to support unconventional formats and the Java 8 Date/Time types.
OCP Certification – Advanced Java Class Design
Learn some tips on common aspects of the OCP Certification exam.
Java ‘private’ Access Modifier
Learn all about the ‘private’ access modifier in Java.
An Intro to the Java Debug Interface (JDI)
A quick and practical overview of Java Debug Interface.
@Timed Annotation Using Metrics and AspectJ
We look at how to add lightweight timing instrumentation to an app using a combination of Metrics and AspectJ, making it as simple as adding @Timed to a method.
Automatic Generation of the Builder Pattern with FreeBuilder
Learn how to generate Java builder objects using the FreeBuilder library