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

Image may be NSFW.
Clik here to view.

Format Swagger Text Descriptions

1. Introduction The OpenAPI specification (formerly Swagger specification) standardizes REST API documentation language and is platform agnostic. We can create OpenAPI documents in YAML or JSON...

View Article


Image may be NSFW.
Clik here to view.

Remove Accents and Diacritics From a String in Java

1. Overview Many alphabets contain accent and diacritical marks. To search or index data reliably, we might want to convert a string with diacritics to a string containing only ASCII characters....

View Article


Image may be NSFW.
Clik here to view.

Parallel Test Execution for JUnit 5

1. Introduction In this article, we'll cover how to execute parallel unit tests using JUnit 5. First, we'll cover basic configuration and minimal requirements to start using this feature. Next, we'll...

View Article

Image may be NSFW.
Clik here to view.

Introduction to the Evrete Rule Engine

1. Introduction This article provides a first hands-on overview of Evrete — a new open-source Java rule engine. Historically, Evrete has been developed as a lightweight alternative to the Drools Rule...

View Article

Image may be NSFW.
Clik here to view.

Pattern Matching for Switch

1. Overview The Java SE 17 release introduces pattern matching for switch expressions and statements (JEP 406) as a preview feature. Pattern matching provides us more flexibility when defining...

View Article


Image may be NSFW.
Clik here to view.

Java Weekly, Issue 408

1. Spring and Java >> Sip of Java – Serialization Filters [inside.java] Having more control on deserializing incoming data – solving security and obscurity issues of Java serialization in Java...

View Article

Image may be NSFW.
Clik here to view.

Saving Date Values in Spring Data Cassandra

1. Overview Apache Cassandra is a scalable NoSQL database. It provides continuous availability with no single point of failure. In addition, Cassandra is able to handle large amounts of data with...

View Article

Image may be NSFW.
Clik here to view.

Dockerfile Strategies for Git

1. Introduction .Git is the leading version control system for software development. The Dockerfile, on the other hand, contains all the commands to automatically build an image of our application....

View Article


Image may be NSFW.
Clik here to view.

Getting a Character by Index From a String in Java

1. Introduction The charAt() method of the String class returns the character at a given position of a String. This is a useful method that has been available from version 1.0 of the Java language. In...

View Article


Image may be NSFW.
Clik here to view.

States of a Docker Container

1. Overview A Docker container is an instance of a Docker image that runs some process inside it. As the state of this process changes, the behavior of the container is also affected. Thus, a container...

View Article

Image may be NSFW.
Clik here to view.

Using Test Containers With Spring Data Cassandra

1. Overview Apache Cassandra is an open-source distributed NoSQL database. It was designed to handle large amounts of data with fast read-write performance and with no single point of failure. In this...

View Article

Image may be NSFW.
Clik here to view.

Java Map – keySet() vs. entrySet() vs. values() Methods

1. Overview In this tutorial, we'll discuss the three methods keySet(), entrySet() and values() of the Map interface in Java. These methods are used to retrieve a set of keys, a set of key-value...

View Article

Image may be NSFW.
Clik here to view.

Convert an Object to a Byte Array in Java

1. Overview In this short tutorial, we'll learn how to convert a Java object to a byte array and vice versa. 2. Use Plain Java For example, suppose we have a User class: public class User implements...

View Article


Image may be NSFW.
Clik here to view.

Getting Started With Apache Derby

1. Overview In this tutorial, we'll learn about the Apache Derby database engine, which is a Java-based relational database engine developed by the Apache Software Foundation as an open-source project....

View Article

Image may be NSFW.
Clik here to view.

Multiline Text in Excel Cell Using Apache POI

1. Introduction We can programmatically create multiline text in a Microsoft Excel spreadsheet with Apache POI. However, it won't be displayed as multiple lines. This is because using code to add text...

View Article


Image may be NSFW.
Clik here to view.

Parallel Test Execution for JUnit 5

1. Introduction In this article, we'll cover how to execute parallel unit tests using JUnit 5. First, we'll cover basic configuration and minimal requirements to start using this feature. Next, we'll...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 409

1. Spring and Java >> Hibernate Reactive: is it worth it? [in.relation.to] Now that the first stable version is released, let's see when to use Hibernate Reactive and which scenarios are more...

View Article


Image may be NSFW.
Clik here to view.

Multiline Text in Excel Cell Using Apache POI

1. Introduction We can programmatically create multiline text in a Microsoft Excel spreadsheet with Apache POI. However, it won't be displayed as multiple lines. This is because using code to add text...

View Article

Image may be NSFW.
Clik here to view.

LDAP Authentication Using Pure Java

1. Introduction In this article, we'll cover how to authenticate a user with LDAP using pure Java. Furthermore, we'll explore how to search for a user's distinguished name (DN). This is important...

View Article

Image may be NSFW.
Clik here to view.

Remove Beginning and Ending Double Quotes from a String

1. Overview In this article, we're going to study different approaches for removing beginning and ending double quotes from a String in Java. What we'll explore here can be useful for processing text...

View Article
Browsing all 4535 articles
Browse latest View live


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