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

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 183

Lots of interesting writeups on Java 9 this week. Here we go… 1. Spring and Java >> What’s new in JPA 2.2 – Java 8 Date and Time Types [vladmihalcea.com] JPA 2.2 finally has the support for...

View Article


Image may be NSFW.
Clik here to view.

Introduction to Kotlin Coroutines

1. Overview In this article, we’ll be looking at coroutines from the Kotlin language. Simply put, coroutines allow us to create asynchronous programs in a very fluent way, and they’re based on the...

View Article


Image may be NSFW.
Clik here to view.

Introduction to Apache Commons Text

1. Overview Simply put, the Apache Commons Text library contains a number of useful utility methods for working with Strings, beyond what the core Java offers. In this quick introduction, we’ll see...

View Article

Image may be NSFW.
Clik here to view.

BigDecimal and BigInteger in Java

1. Overview This is an introductory article on the BigDecimal & the BigInteger data types in the Java programming language. In this write-up, we’ll show in what scenarios we can use these data...

View Article

Image may be NSFW.
Clik here to view.

Apache Commons BeanUtils

1. Overview Apache Commons BeansUtils contains all tools necessary for working with Java beans. Simply put, a bean is a simple Java classes containing fields, getters/setters, and a no-argument...

View Article


Image may be NSFW.
Clik here to view.

Spring 5 WebClient

1. Overview In this article, we’re going to show the WebClient – a reactive web client that’s being introduced in Spring 5. We’re going to have a look at the WebTestClient as well – which is a...

View Article

Image may be NSFW.
Clik here to view.

OAuth2 Remember Me with Refresh Token

1. Overview In this article, we will add a “Remember Me” functionality to an OAuth 2 secured application, by leveraging the OAuth 2 Refresh Token. This article is a continuation of our series on using...

View Article

Image may be NSFW.
Clik here to view.

Semaphores in Java

1. Overview In this quick tutorial, we’ll explore the basics of semaphores and mutexes in Java. 2. Semaphore We’ll start with java.util.concurrent.Semaphore. We can use semaphores to limit the number...

View Article


Image may be NSFW.
Clik here to view.

Type Erasure in Java

1. Overview In this quick article, we’ll discuss the basics of an important mechanism in Java’s generics known as type erasure. 2. What is Type Erasure? Type erasure can be explained as the process of...

View Article


Image may be NSFW.
Clik here to view.

Java Weekly, Issue 184

Lots of interesting writeups on Java 9 this week. Here we go… 1. Spring and Java >> Are Java 8 Streams Truly Lazy? Not Completely! [blog.jooq.org] It turns out that the Java 8 Streams API is not...

View Article

Image may be NSFW.
Clik here to view.

Consumer Driven Contracts with Pact

1. Overview In this quick article, we’ll be looking at the concept of Consumer-Driven Contracts. We will be testing integration with some external REST service through a contract using the Pact...

View Article

Image may be NSFW.
Clik here to view.

Data Classes in Kotlin

1. Overview The Kotlin language introduces the concept of Data Classes, which represent simple classes used as data containers and do not encapsulate any additional logic. Simply put, Kotlin’s...

View Article

Image may be NSFW.
Clik here to view.

Converting a List to Map in Kotlin

1. Introduction In this quick tutorial, we’ll see how we can convert a List to a Map in Kotlin. 2. Implementation Kotlin offers the convenient toMap method which, given a list of complex objects, will...

View Article


Image may be NSFW.
Clik here to view.

What is the serialVersionUID?

1. Overview Simply put, the serialVersionUID is a unique identifier for Serializable classes. This is used during the deserialization of an object, to ensure that a loaded class is compatible with the...

View Article

Image may be NSFW.
Clik here to view.

Quick Guide to the Guava RateLimiter

1. Overview In this article, we’ll be looking at the RateLimiter class from the Guava library. The RateLimiter class is a construct that allows us to regulate the rate at which some processing...

View Article


Image may be NSFW.
Clik here to view.

Apache Commons Collections BidiMap

1. Overview In this short article, we’ll be looking at an interesting data structure in the Apache Commons Collections library – the BidiMap. The BidiMap adds a possibility of looking up the key using...

View Article

Image may be NSFW.
Clik here to view.

Zipping Collections in Java

1. Introduction In this tutorial, we’ll illustrate how to zip two collections into one logical collection. The “zip” operation is slightly different from the standard “concat” or “merge”. While the...

View Article


Image may be NSFW.
Clik here to view.

Bloom Filter in Java using Guava

1. Overview In this article, we’ll be looking at the Bloom filter construct from the Guava library. A Bloom filter is a memory-efficient, probabilistic data structure that we can use to answer the...

View Article

Image may be NSFW.
Clik here to view.

TemporalAdjuster in Java

1. Overview In this tutorial, we’ll have a quick look at the TemporalAdjuster and use it in a few practical scenarios. Java 8 introduced a new library for working with dates and times – java.time and...

View Article

Image may be NSFW.
Clik here to view.

A Guide to Apache Commons DbUtils

1. Overview Apache Commons DbUtils is a small library that makes working with JDBC a lot easier. In this article, we’ll implement examples to showcase its features and capabilities. 2. Setup 2.1....

View Article
Browsing all 3614 articles
Browse latest View live


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