Every Monday, we take a step back and look at all the cool stuff that went down during the previous week. Last week, the first JEP of 2020 landed.
Category: Home
Java Weekly, Issue 322 | Baeldung
A solid overview of the Quarkus container-first framework for Java, and Spring Core Framework has a couple of new releases.
Continuous Monitoring with JDK Flight Recorder (JFR)
Mikael Vidstedt gives an overview of JDK Flight Recorder (JFR), showcases the current feature, as well as some features coming in the future. JFR is a monitoring and troubleshooting framework built directly into the Java runtime. JFR has access to all the internal data of the JVM and can capture and surface data on a fine-grained level with extremely low overhead.
Speed up Maven builds in Tekton Pipelines – Red Hat Developer
We look at how workspaces can be used to cache Maven dependencies in Java builds in order to remove the need to download dependencies for each build.
Java String Encryption Decryption Example
In this tutorial, we will see how to use AES(Advanced Encryption Standard) algorithm to string or text in Java with an example.Java support many secure encryption algorithms but some of them are weak to be used in security-intensive applications. For example, the Data Encryption Standard (DES) encryption algorithm is considered highly insecure; messages encrypted using DES have been decrypted by brute force within a single day by machines such as the Electronic Frontier Foundation’s (EFF) Deep Crack.
Backward-compatible Thread#onSpinWait with MethodHandles
Thread#onSpinWait is an interesting JDK9 addition to the Thread API, which is used as a hint that we’re inside a spin-wait loop. The method itself…
How to set JAVA_HOME and PATH in Linux – Step by Step Guide
A blog about Java, Spring, Hibernate, Programming, Algorithms, Data Structure, SQL, Linux, Database, JavaScript, and my personal experience.
Faster start-up for Java applications on Open Liberty with CRIU snapshots – openliberty.io
CRIU is a Linux tool that can reduce start-up times of Java applications in serverless environments by enabling application instance to be resumed from snapshots. Benefits and challenges are discussed.
Java Connect to MySQL Database
In this post, we will see how to connect Java application with MySQL database.JDBC stands for Java Database Connectivity, which is a standard Java API for database-independent connectivity between the Java programming language and a wide range of databases.
How to copy Files from one directory to other in Java
A blog about Java, Spring, Hibernate, Programming, Algorithms, Data Structure, SQL, Linux, Database, JavaScript, and my personal experience.
How to Convert a Lambda Expression to Method Reference in Java 8?
A blog about Java, Programming, Algorithms, Data Structure, SQL, Linux, Database, Interview questions, and my personal experience.
Master Apache JMeter
The book “Master Apache JMeter From load testing to DevOps” provides an impressive amount of knowledge on how to successfully do performance testing with JMeter.
Optimize your code for Quarkus
My previous article, was about running a JakartaEE/MicroProfile application with minimum changes. My purpose was to keep the Java code as standard as possible so that it can keep running on other i…
Introduction to cache2k | Baeldung
Learn how to use cache2k, a lightweight in-memory Java caching library.
Java Strings
Java Strings are sequences of characters which make up a code, name, sentence or whateever else you need to represent with characters. Java Strings are represented as arrays of characters internally in memory. This Java String tutorial explains how to work with Java Strings.