Learn about the differences between System.console() and System.out. >>>
Yearly Archives: 2020
Setting Formulas in Excel with Apache POI
Learn how to set and evaluate Excel formulas in Java with Apache POI >>>
Using Mockito ArgumentCaptor
In this tutorial, we’ll cover a common use case of using Mockito ArgumentCaptor in our unit tests. >>>
Guide to SDKMAN!
Learn how to manage several versions of Java SDKs among other Java Ecosystem tools using SDKMAN! >>>
Java Weekly, Issue 344
Java is moving so fast! Java 15 is about to be released and we have two exciting news about Java 16. Also, some interesting topics on Security and Cloud. >>>
A Guide to BitSet in Java
Learn how we can use a Java BitSet to represent a vector of bits, gett familiar with the BitSet internals, and take a closer look at its API >>>
The Difference Between Cron Syntax in Linux and Spring
Learn the difference between Cron Syntax in Linux and Spring >>>
Command-Line Tools to Find the Java Heap Size
Learn how to use command line tools to find the heap size of a running Java application. >>>
Jess Rule Engine and JSR 94
Learn how to integrate the Jess rule engine into a Java application and how to use Jess with JSR 94, the Java Rule Engine API. >>>
Liskov Substitution Principle in Java
The L in SOLID, the Liskov Substitution Principle helps structure object oriented design. We also explore how it supports the Open/Closed Principle. >>>
Creating Docker Images with Spring Boot
Learn how to create Docker images for a Spring Boot application >>>
Converting List to Map With a Custom Supplier
Learn several ways to convert a List into a Map using Custom Suppliers. >>>
Performance Effects of Exceptions in Java
Java exceptions are considered expensive and shouldn’t be used for flow control. This tutorial will prove that this perception is correct. >>>
Java Weekly, Issue 343
Another step for Project Loom in Java 15 and Deprecating Biased Locking, Cool topics on Cloud, Microservices, and Istio. And finally some OS classics! >>>
Check If a Directory Is Empty in Java
Learn how to check whether or not a directory is empty in Java. >>>
Accessing Maven Properties in Java
Learn how to access Maven properties in Java. >>>
How to Read PEM File to Get Public and Private Keys
Learn how to read public and private keys from PEM files. >>>
Maven Offline Mode
Learn how to get Maven ready for offline mode. >>>
Download Sources and Javadocs with Maven
Learn how to download the sources and Javadocs with Maven >>>
Unit Testing of System.out.println() with JUnit
Learn about approaches for testing System.out.println. >>>