Learn how to avoid NullPointerExceptions using NullAway. >>>
Yearly Archives: 2020
Java Weekly, Issue 324
A simple RSocket client built using Spring Shell and Spring Boot, and a deep dive into writing command-line tools in Java using GraalVM and the Picocli library. >>>
How to Use Regular Expressions to Replace Tokens in Strings in Java
Learn some regular expression strategies for replacing tokens in strings >>>
Could Not Reserve Enough Space for Object Heap
Learn the possible causes for the “Could Not Reserve Enough Space For Object Heap” error and how to solve it. >>>
Injecting a Value in a Static Field in Spring
Learn how to inject a value into a static field in Java >>>
Introduction to Apache Beam
Get started with Apache Beam and this simple word counter >>>
Finding the Spring Version
Learn how to obtain the JDK, Java and Spring versions >>>
Capturing a Java Thread Dump
Learn how to capture a Java thread dump >>>
Pattern Matching for instanceof in Java
Learn about the Pattern Matching with instanceof in Java 14. >>>
Testing Spring Boot @ConfigurationProperties
Learn how to test configuration classes in Spring Boot that rely on the @ConfigurationProperties annotation. >>>
Fast Pattern Matching of Strings Using Suffix Tree in Java
Learn about pattern matching of strings and how we can make it faster using a suffix tree >>>
Java Suppressed Exceptions
Learn about suppressed Exceptions in Java and how to work with them. >>>
Introduction to Takes
Learn about Takes – an immutable and object-oriented web framework for Java >>>
Java Weekly, Issue 323
An intro to the RSocket messaging protocol for microservices, and a good write-up on the Kotlin-based Ktor framework for client and server development. >>>
Spring Bean vs. EJB – A Feature Comparison
Learn about the history and differences between Spring Bean and Enterprise Java Bean. >>>
DDD Bounded Contexts and Java Modules
Learn how to leverage Java 9 Modules while defining explicit boundaries for bounded contexts while creating a simple store application >>>
Connect Java to a MySQL Database
Learn several techniques to connect to a MySQL database from Java. >>>
ThreadPoolTaskExecutor corePoolSize vs. maxPoolSize
Learn about the corePoolSize and maxPoolSize properties in the ThreadPoolTaskExecutor. >>>
Converting Gradle Build File to Maven POM
Learn to convert a Gradle build file to a Maven pom.xml. >>>
Calling Stored Procedures from Spring Data JPA Repositories
Learn how to call stored procedures from Spring Data JPA Repositories >>>