Java
-
JDK 14/JEP 305 instanceof Pattern Matching “Smart Casts”
I generally view the presence of the instanceof operator in Java code as a “red flag,” meaning that it’s not…
Read More » -
Source Code for Effective Java Third Edition Updated to Use Newer Features
Those who have read the Third Edition of Effective Java are likely aware of the source code associated with that…
Read More » -
Java – Missing font – Crashing App!
Eclipse MAT, Heaphero are all popular java tools to analyze large size heap dumps. Recently we ran in to an…
Read More » -
Set Visual Studio Code as default editor in jshell
Java Shell (jshell) is an interactive tool for learning and prototyping in Java. It was introduced with Java 9 and…
Read More » -
How to use regular expression in Java?
Regular expressions are very important tool for seraching in text. Below is the code snippet for executing regex search and…
Read More » -
Using Websocket with Spring Framework and Vuejs
Websockets are full duplex (persistent) connections between client and server such that both can share information with each other without…
Read More » -
Apache Camel 3.1 – More camel-core optimizations coming (Part 2)
I have previously blogged about the optimizations we are doing in the next Camel 3.1 release (part 1). Today I…
Read More » -
OpenJDK Loom and Structured Concurrency
Project Loom is one of the projects sponsored by the Hotspot Group, initiated to deliver high throughput and lightweight concurrency…
Read More » -
Java Mail Sent Over TLS
Abstract The purpose of this blog is to demonstrate how to use Java Mail to send an email using an…
Read More »