Learn how to add parameters to HttpClient requests. >>>
Yearly Archives: 2020
Comparing Doubles in Java
In this tutorial, we’ll talk about the different ways of comparing double values in Java. >>>
Get a Filename Without the Extension in Java
Learn various ways to remove the extension from a filename >>>
A Guide to MultipleBagFetchException in Hibernate
Learn about the MultipleBagFetchException in detail. >>>
Spring Boot With Spring Batch
Learn how to create a simple Spring Batch job using Spring Boot. >>>
Java Weekly, Issue 362
Say hello to Java 16: one small step towards value types and a more efficient Metaspace. Also, buildpacks with layered Jars, and becoming an effective team lead! >>>
Running Spring Boot with PostgreSQL in Docker Compose
A quick and practical guide to running Spring Boot with PostgreSQL in Docker Compose. >>>
Introduction to Servlets and Servlet Containers
Learn the concepts around servlets, their containers, and a few essential objects they revolve around. >>>
Java AES Encryption and Decryption
Learn how to implement AES encryption and decryption using the Java Cryptography Architecture. >>>
NoSuchFieldError in Java
Let’s understand the cause behind NoSuchFieldError and how to resolve it. >>>
Thymeleaf Variables
Learn how to define and use variables in Thymeleaf >>>
Security Context Basics: User, Subject and Principal
A quick overview of basic terms associated with the security context. >>>
Digital Certificate: How to Import .cer File into Truststore File
Learn about a few tools that we can use to import certificates in .cer format into the client’s truststore >>>
Guide to the System Stubs Library
Learn the importance of being able to mock system resources and how System Stubs allows for complex configurations of stubbing with JUnit 4 and JUnit 5 plugins >>>
Java Weekly, Issue 361
New release of GraalVM, Speculating over the fate of Loom and Valhalla, Building a server framework, Cloud computing and climate change, and in praise of humility! >>>
How to Access an Iteration Counter in a For Each Loop
Java’s for each loop does not provide an iteration counter. There are a few ways we can iterate over both the item and its index. >>>
New Features in Java 15
Look at some of the new features of Java 15 as well as other changes that are of interest to Java developers >>>
The Capacity of an ArrayList vs the Size of an Array in Java
The capacity of an ArrayList functions differently to the size of an Array. We explore the differences and when it’s a good idea to set an ArrayList’s size. >>>
Performance Difference Between save() and saveAll() in Spring Data
A quick and practical performance comparison between save() and saveAll() in Spring Data. >>>
Explanation of ClassCastException in Java
Let’s take a closer look at the ClassCastException. >>>