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

Image may be NSFW.
Clik here to view.

Configure Jenkins to Run and Show JMeter Tests

1. Overview In this article, we’re going to configure a continuous delivery pipeline using Jenkins and Apache JMeter. We’ll rely on the JMeter article as a great starting-point to first understand the...

View Article


Image may be NSFW.
Clik here to view.

A Guide to Java Initialization

1. Overview Simply put, before we can work with an object on the JVM, it has to be initialized. In the following sections, we’ll take a look at various ways we can initialize primitive types and...

View Article


Image may be NSFW.
Clik here to view.

How to Wait for Threads to Finish in the ExecutorService

1. Overview The ExecutorService framework makes it easy to process tasks in multiple threads. We’re going to exemplify some scenarios in which we wait for threads to finish their execution. Also,...

View Article

Image may be NSFW.
Clik here to view.

Fail-Safe Iterator vs Fail-Fast Iterator

1. Introduction In this article, we’ll introduce the concept of Fail-Fast and Fail-Safe Iterators. Fail-Fast systems abort operation as-fast-as-possible exposing failures immediately and stopping the...

View Article

Image may be NSFW.
Clik here to view.

Guide to JSpec

1. Overview Test runner frameworks like JUnit and TestNG provide some basic assertion methods (assertTrue, assertNotNull, etc.). Then there are assertion frameworks like Hamcrest, AssertJ, and Truth,...

View Article


Image may be NSFW.
Clik here to view.

Static and Default Methods in Interfaces in Java

1. Overview Java 8 brought to the table a few brand new features, including lambda expressions, functional interfaces, method references, streams, Optional, and static and default methods in...

View Article

Image may be NSFW.
Clik here to view.

Quick Guide to BDDMockito

1. Overview The BDD term was coined first by Dan North – back in 2006. BDD encourages writing tests in a natural, human-readable language that focuses on the behavior of the application. It defines a...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 209

Here we go… 1. Spring and Java >> JUnit 5 Tutorial: Writing Parameterized Tests [petrikainulainen.net] Finally, no need to use external tools for writing parameterized tests in JUnit. >>...

View Article


Image may be NSFW.
Clik here to view.

Introduction to KafkaStreams in Java

1. Overview In this article, we’ll be looking at the KafkaStreams library. KafkaStreams is engineered by the creators of Apache Kafka. The primary goal of this piece of software is to allow...

View Article


Image may be NSFW.
Clik here to view.

Using InfluxDB with Java

1. Overview InfluxDB is a high-performance store for time-series data. It supports insertion and real-time querying of data via a SQL-like query language. In this introductory article, we’ll...

View Article

Image may be NSFW.
Clik here to view.

A Docker Guide for Java

1. Overview In this article, we take a look at another well-established platform specific API — Java API Client for Docker. Throughout the article, we comprehend the way of how to connect with a...

View Article

Image may be NSFW.
Clik here to view.

Introduction to Future in Vavr

1. Introduction Core Java provides a basic API for asynchronous computations – Future. CompletableFuture is one of its newest implementations. Vavr provides its new functional alternative to the...

View Article

Image may be NSFW.
Clik here to view.

A Guide to Iterator in Java

1. Introduction An Iterator is one of many ways we can traverse a collection, and as every option, it has its pros and cons. It was first introduced in Java 1.2 as a replacement of Enumerations and:...

View Article


Image may be NSFW.
Clik here to view.

Phantom References in Java

1. Overview In this article, we’ll have a look at the concept of a Phantom Reference – in the Java language. 2. Phantom References Phantom references have two major differences from soft and weak...

View Article

Image may be NSFW.
Clik here to view.

Weak References in Java

1. Overview In this article, we’ll have a look at the concept of a weak reference – in the Java language. We’re going to explain what these are, what they’re used for and how to work with them...

View Article


Image may be NSFW.
Clik here to view.

Introduction to Java Primitives

1. Overview The Java Programming Language features eight primitive data types. In this article, we’ll recall what primitives are and go over them. 2. Primitive Data Types The eight primitives defined...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 211

Let’s jump right in … 1. Spring and Java >> Spring, Reactor and ElasticSearch: from callbacks to reactive streams [nurkiewicz.com] Even if some tools don’t provide out-of-the-box support for...

View Article


Image may be NSFW.
Clik here to view.

Spring Cloud AWS – S3

In this quick article, we’re going to explore the AWS support provided in the Spring Cloud platform – focusing on S3. 1. Simple S3 Download Let’s start by easily accessing files stored on S3:...

View Article

Image may be NSFW.
Clik here to view.

Spring Cloud AWS – EC2

In the previous article, we’re focusing on S3; now we’ll focus on the Elastic Compute Cloud – commonly known as EC2. 1. EC2 Metadata Access The AWS EC2MetadataUtils class provides static methods to...

View Article

Image may be NSFW.
Clik here to view.

Spring Cloud AWS – RDS

In the previous article, we were focusing on EC2; now, let’s move on to the Relational Database Service. 1. RDS Support 1.1. Simple Configuration Spring Cloud AWS can automatically create a DataSource...

View Article
Browsing all 3610 articles
Browse latest View live


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