Apache Commons Configuration can be used to allow us to specify configuration parameters to be loaded at runtime by our application. We look at a few use cases and types of configuration files.
Search Results for: int
Introduction to Simple Java Mail
Explore the process of setting up Simple Java Mail and learn how to send emails, including attachments and HTML content, handle exceptions, and more.
Print the Default Value When Overriding toString() Method
Learn about overriding the toString() method and handling the potential null within.
How to Intercept a Request and Add Headers in WebFlux
Explore different ways of intercepting and adding custom headers for both server web requests and web client requests in Spring WebFlux
PrintWriter write() vs print() Method in Java
Discover the differences between PrintWriter’s write() and print() methods.
Introduction to DuckDB
Learn about the advantages of the DuckDB database and some fundamental operations via illustrative examples
Converting a Java Project/Module Into a Maven Project/Module In IntelliJ IDEA
A quick and practical guide to converting a Java project/module into a Maven project/module in IntelliJ IDEA.
Introduction to Brave
Explore Brave, a popular distributed tracing instrumentation library in the Java ecosystem.
Intro to the Apache Commons Compress Project
In this tutorial, we explore Apache Commons Compress, a library for file compression, archiving, and extraction. It supports various formats like TAR, ZIP, GZIP, BZIP2, and more.
Introduction to Light-4J
Learn the core philosophy, key features, and architectural concepts of the Light-4j library.
Multiple-Level Mock Injection Into Mockito Spy Objects
Learn how Mockito annotations work in multiple-level injection scenarios.
Internet Address Resolution SPI in Java
Learn how Internet Address Resolution works in Java using the InetAddress API.
Merge Overlapping Intervals in a Java Collection
Learn how to take a Java collection of intervals and merge the overlapping ones.
Representation of Integers at a Bit Level in Java
Understanding how Java represents integers can help us with certain mathematical operations. In this article, we look at integer representation and how to use bitwise operations with Java numbers.
RGB Representation as an Integer in Java
Learn how to use bitwise operations to move between RGB and integer representations.
Introduction to Redpanda
Discover Redpanda, a powerful event streaming platform and one of Kafka’s competitors.
Intro to the Apache Commons CLI
Explore the Java Apache Commons CLI library.
How to Mock Amazon S3 for Integration Test
Learn how to mock Amazon’s Simple Storage Service in integration tests.
Introduction to JFreeChart
We may wish to add charts or graphs to our GUIs in Java. We look at how to achieve this with JFreeChart.
Query Hints in Spring Data JPA
Explore query hints in Spring Data JPA and learn how they can help optimize database queries.