-
Core Java
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 » -
Enterprise Java
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 » -
Enterprise Java
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 » -
Enterprise Java
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 » -
Core Java
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 » -
Enterprise Java
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 » -
Core Java
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 » -
Core Java
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 » -
Core Java
JDK 10’s Summary Javadoc Tag
JDK 10 introduces a Javadoc tag {@summary} via issue JDK-8173425 (“Javadoc needs a new tag to specify the summary.”). This…
Read More »