Java
-
SpringBoot Messaging with RabbitMQ
RabbitMQ is one of the popular message broker solutions and provides client libraries to be used from various programming languages including…
Read More » -
JDK 10: Accessing Java Application’s Process ID from Java
A popular question on StackOverflow.com is, “How can a Java program get its own process ID?” There are several answers…
Read More » -
How to fix Exception in thread “main” java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory in Java
This error means your code or any external library you are using in your application is using the SLF4J library, an…
Read More » -
What is SecurityContext and SecurityContextHolder in Spring Security?
The SecurityContext and SecurityContextHolder are two fundamental classes of Spring Security. The SecurityContext is used to store the details of the currently…
Read More » -
Selenium with Java: Google Search
1. Overview In this tutorial, we will be exploring the basics of how to use Selenium with Java. We will…
Read More » -
Java code style operator new line formatting
Last week, I discovered what helped me deciding on what I have struggled with for a longer time: whether to…
Read More » -
Run away from ‘null’ checks feast: doing PATCH properly with JSON Patch
Today we are going to have a conversation about REST(ful) services and APIs, more precisely, around one peculiar subject many…
Read More » -
First JDK 10 (18.3) Release Candidate (Build 43) Demonstrates New Versioning Scheme
Mark Reinhold‘s post “JDK 10: First Release Candidate” announced “no unresolved P1 bugs in build 43” and named that Build…
Read More » -
String#repeat Coming to Java?
JDK-8197594 (“String#repeat”) includes the following it its “Description”: “A String method for repeating sequences of characters has been long requested…
Read More »