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

Image may be NSFW.
Clik here to view.

ZoneOffset in Java

1. Introduction In our world, each country follows a certain time-zone. These time-zones are crucial for expressing time conveniently and effectively. However, time-zones can sometimes be inexplicit...

View Article


Image may be NSFW.
Clik here to view.

Concatenate Strings in Kotlin

1. Introduction In this short tutorial, we’ll investigate different ways of concatenating strings in Kotlin. 2. Using the plus() Method Kotlin’s String class contains a plus() method: operator fun...

View Article


Image may be NSFW.
Clik here to view.

Hashing a Password in Java

1. Overview In this tutorial, we’ll be discussing the importance of password hashing. We’ll take a quick look at what it is, why it’s important, and some secure and insecure ways of doing it in Java....

View Article

Image may be NSFW.
Clik here to view.

Sort a HashMap in Java

1. Introduction In this quick tutorial, we’ll learn how to sort a HashMap in Java. More specifically, we’ll look at sorting HashMap entries by their key or value using: TreeMap ArrayList and...

View Article

Image may be NSFW.
Clik here to view.

Warning: “The type MockitoJUnitRunner is deprecated”

1. Introduction In this quick tutorial, we’ll have a look at one of the warnings we may see when working with the popular testing framework Mockito. Namely, the one referring to the deprecated...

View Article


Image may be NSFW.
Clik here to view.

Netflix Archaius with Various Database Configurations

 1. Overview The Netflix Archaius offers libraries and functionality for connecting to many data sources. In this tutorial, we’ll learn how to get configurations: Using the JDBC API to connect to a...

View Article

Image may be NSFW.
Clik here to view.

Finding the Highest Value in a Java Map

1. Overview In this quick tutorial, we’ll explore various ways to find the maximum value in a Java Map. We’ll also see how new features in Java 8 have simplified this operation. Before we begin let’s...

View Article

Image may be NSFW.
Clik here to view.

Java Switch Statement

1. Overview In this tutorial, we’ll learn what the switch statement is and how to use it. The switch statement allows us to replace several nested if-else constructs and thus improve the readability...

View Article


Image may be NSFW.
Clik here to view.

Introduction to Protonpack

1. Overview In this tutorial, we’ll look at the major features of Protonpack which is a library that expands the standard Stream API by adding some complimentary functionality. Refer to this writeup...

View Article


Image may be NSFW.
Clik here to view.

Guide to ScribeJava

1. Introduction In this tutorial, we’re going to look at the ScribeJava library. ScribeJava is a simple OAuth client for Java which helps manage the OAuth flow. The main feature of the library is that...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 248

Here we go… 1. Spring and Java >> Monitor and troubleshoot Java applications and services with Datadog Optimize performance with end-to-end tracing and out-of-the-box support for popular Java...

View Article

Image may be NSFW.
Clik here to view.

A Comparison Between Spring and Spring Boot

1. Overview In this write-up, we’re going to look at the differences between the standard Spring frameworks and Spring Boot. We’ll focus on and discuss how the modules of Spring, like MVC and...

View Article

Image may be NSFW.
Clik here to view.

Maven Goals and Phases

1. Overview In this tutorial, we’ll explore different Maven build life cycles and their phases. We’ll also discuss the core relation between Goals and Phases. 2. Maven Build Lifecycle  The Maven build...

View Article


Image may be NSFW.
Clik here to view.

Exactly Once Processing in Kafka

1. Overview In this tutorial, we’ll look at how Kafka ensures exactly-once delivery between producer and consumer applications through the newly introduced Transactional API. Additionally, we’ll use...

View Article

Image may be NSFW.
Clik here to view.

String Performance Hints

1. Introduction In this tutorial, we’re going to focus on the performance aspect of the Java String API. We’ll dig into String creation, conversion and modification operations to analyze the available...

View Article


Image may be NSFW.
Clik here to view.

Guide to Passay

1. Introduction Nowadays, most web applications have their password policy – which is, simply put, created to force users to create difficult to break passwords. To generate such passwords or validate...

View Article

Image may be NSFW.
Clik here to view.

Online Java Compilers

1. Introduction An online compiler is a tool which allows us to compile the source code and execute it online. This is a great option, especially for new Java students, tutors, or interviewers....

View Article


Image may be NSFW.
Clik here to view.

Merge Sort in Java

1. Introduction In this tutorial, we’ll have a look at the Merge Sort algorithm and its implementation in Java. Merge sort is one of the most efficient sorting techniques and it’s based on the “divide...

View Article

Image may be NSFW.
Clik here to view.

A Controller, Service and DAO Example with Spring Boot and JSF

1. Introduction JavaServer Faces is a server-side component-based user interface framework. Originally it was developed as part of the Java EE. In this tutorial, we’ll investigate how to integrate JSF...

View Article

Image may be NSFW.
Clik here to view.

Operating on and Removing an Item from Stream

1. Overview In this quick tutorial, we’ll learn about the various ways in which we can operate on an item in a Java 8 stream and then remove it once the operation is complete. 2. Setup Let us define...

View Article
Browsing all 4535 articles
Browse latest View live


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