Quantcast
Channel: Baeldung
Browsing all 4621 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 185

Lots of interesting writeups on Java 9 this week. Here we go… 1. Spring and Java >> Introducing Spring Cloud Function [spring.io] Spring has always adopted POJO-based approaches, now it’s time...

View Article


Image may be NSFW.
Clik here to view.

Vavr (ex-Javaslang) Support in Spring Data

1. Overview In this quick tutorial, we’re going to take a look at the support for Vavr in Spring Data – which was added in the 2.0.0 Spring build snapshot. More specifically, we’re going to show an...

View Article


Image may be NSFW.
Clik here to view.

Introduction to Chronicle Queue

1. Overview Chronicle Queue persists every single message using a memory-mapped file. This allows us to share messages between processes. It stores data directly to off-heap memory, therefore, making...

View Article

Image may be NSFW.
Clik here to view.

Introduction to Awaitlity

1. Introduction A common problem with asynchronous systems is that it’s hard to write readable tests for them that are focused on business logic and are not polluted with synchronizations, timeouts,...

View Article

Image may be NSFW.
Clik here to view.

Migrating from JUnit 4 to JUnit 5

1. Overview In this article, we’ll see how we can migrate from JUnit 4 to the latest JUnit 5 release – with an overview of the differences between the two versions of the library. For the general...

View Article


Image may be NSFW.
Clik here to view.

Guide to the HyperLogLog Algorithm

1. Overview The HyperLogLog (HLL) data structure is a probabilistic data structure used to estimate the cardinality of a data set. Suppose that we have millions of users and we want to calculate the...

View Article

Image may be NSFW.
Clik here to view.

Kotlin with Mockito

1. Introduction Kotlin and Java walk hand in hand. This means we can leverage the vast number of existent Java libraries in our Kotlin projects. In this short article, we’ll see how we can mock using...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 186

Lots of interesting write-ups on Java 9 this week. Here we go… 1. Spring and Java >> Painlessly Migrating do Java Jigsaw Modules – a Case Study [infoq.com] Modularity is the next big thing in...

View Article


Image may be NSFW.
Clik here to view.

Data Modeling in Cassandra

1. Overview Cassandra is a NoSQL database that provides high availability and horizontal scalability without compromising performance. To get the best performance out of Cassandra, we need to...

View Article


Image may be NSFW.
Clik here to view.

An Introduction to Atomic Variables in Java

1. Introduction Simply put, shared state very easily leads to problems when concurrency is involved. If access to shared mutable objects is not managed properly, applications can quickly become prone...

View Article

Image may be NSFW.
Clik here to view.

Apache Commons Collections MapUtils

1. Introduction MapUtils is one of the tools available in the Apache Commons Collections project. Simply put, it provides utility methods and decorators to work with java.util.Map and...

View Article

Image may be NSFW.
Clik here to view.

Microbenchmarking with the Java Microbenchmark Harness

1. Introduction This quick article is focused on JMH (the Java Microbenchmark Harness) – which is scheduled to become a part of JVM in the upcoming Java 9 release. Simply put, JMH takes care of the...

View Article

Image may be NSFW.
Clik here to view.

A Guide to Byte Buddy

1. Overview Simply put, ByteBuddy is a library for generating Java classes dynamically at run-time. In this to-the-point article, we’re going to use the framework to manipulate existing classes,...

View Article


Image may be NSFW.
Clik here to view.

Java Static Analysis Tools in Eclipse and IntelliJ IDEA

1. Overview In our introduction to FindBugs, we looked at the functionality of FindBugs as a static analysis tool and how it can be directly integrated into IDEs like Eclipse and IntelliJ Idea. In...

View Article

Image may be NSFW.
Clik here to view.

Apache Camel with Spring Boot

1. Overview At its core, Apache Camel is an integration engine, which – simply put – can be used to facilitate interactions between a wide and varied array of technologies. These bridges between...

View Article


Image may be NSFW.
Clik here to view.

AWS S3 with Java

1. Introduction In this tutorial, we’ll learn how to interact with the Amazon S3 (Simple Storage Service) storage system programmatically, from Java. Remember that S3 has a very simple structure –...

View Article

Image may be NSFW.
Clik here to view.

Overview of the java.util.concurrent

1. Overview The java.util.concurrent package provides tools for creating concurrent applications. In this article, we will do an overview of the whole package. 2. Main Components The...

View Article


Image may be NSFW.
Clik here to view.

Guide to PDFUnit

1. Introduction In this article, we’re going to explore the PDFUnit library for testing PDFs. Using the powerful APIs provided by PDFUnit, we can work with PDFs and verify text, images, bookmarks and...

View Article

Image may be NSFW.
Clik here to view.

Cucumber Java 8 Support

1. Overview In this quick tutorial, we’ll learn how to use Java 8 lambda expressions with Cucumber. 2. Maven Configuration First, we will need to add the following dependency to our pom.xml:...

View Article

Image may be NSFW.
Clik here to view.

A Guide to Activiti with Java

1. Overview Activiti API is a workflow and Business Process Management system. We can define a process in it, execute it, and manipulate it in different ways using the services provided by the API. It...

View Article
Browsing all 4621 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>