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

Image may be NSFW.
Clik here to view.

Data Modeling with Apache Kafka

1. Overview In this tutorial, we'll venture into the realm of data modeling for event-driven architecture using Apache Kafka. 2. Setup A Kafka cluster consists of multiple Kafka brokers that are...

View Article


Image may be NSFW.
Clik here to view.

Java 12 New Features

1. Introduction In this tutorial, we'll have a quick, high-level overview of some of the new features that came with Java 12. A full list of all new features is available in the official documentation....

View Article


Image may be NSFW.
Clik here to view.

Learn JPA & Hibernate

Object-Relational Mapping (ORM) is the process of converting Java objects to database tables. In other words, this allows us to interact with a relational database without any SQL. The Java...

View Article

Image may be NSFW.
Clik here to view.

Difference Between JSF, Servlet, and JSP

1. Introduction When developing any application, the selection of the right technology plays a significant role. However, the decision isn't always straightforward. In this article, we'll provide a...

View Article

Image may be NSFW.
Clik here to view.

Java File Separator vs File Path Separator

1. Overview Different operating systems use different characters as file and path separators. When our application has to run on multiple platforms, we need to handle these correctly. Java helps us to...

View Article


Image may be NSFW.
Clik here to view.

Java Weekly, Issue 367

1. Spring and Java >> AdoptOpenJDK Welcomes Dragonwell [infoq.com] Dragonwell joins AdoptOpenJDK – an OpenJDK distribution supporting coroutines and pre-warmup! >> Pattern Matching for...

View Article

Image may be NSFW.
Clik here to view.

Jackson: java.util.LinkedHashMap cannot be cast to X

1. Overview Jackson is a widely used Java library, which allows us to serialize/deserialize JSON or XML conveniently. Sometimes, we may encounter “java.lang.ClassCastException: java.util.LinkedHashMap...

View Article

Image may be NSFW.
Clik here to view.

Binary Semaphore vs Reentrant Lock

1. Overview In this tutorial, we'll explore binary semaphores and reentrant locks. Also, we'll compare them against each other to see which one is best suited in common situations. 2. What Is a Binary...

View Article


Image may be NSFW.
Clik here to view.

Difference Between REST and HTTP

1. Introduction Often times the terms REST and HTTP are used interchangeably. In this article, we'll look at what each term really means and why they are two different things. 2. What is REST? REST...

View Article


Image may be NSFW.
Clik here to view.

Using a Byte Array as Map Key in Java

1. Introduction In this tutorial, we'll learn how to use a byte array as a key in HashMap. Because of how HashMap works, we, unfortunately, can't do that directly. We'll investigate why is that and...

View Article

Image may be NSFW.
Clik here to view.

Difference Between REST and HTTP

1. Introduction Often times the terms REST and HTTP are used interchangeably. In this article, we'll look at what each term really means and why they are two different things. 2. What is REST? REST...

View Article

Image may be NSFW.
Clik here to view.

Character#isAlphabetic vs. Character#isLetter

1. Overview In this tutorial, we'll start by briefly going through some general category types for every defined Unicode code point or character range to understand the difference between letters and...

View Article

Image may be NSFW.
Clik here to view.

Using a Byte Array as Map Key in Java

1. Introduction In this tutorial, we'll learn how to use a byte array as a key in HashMap. Because of how HashMap works, we, unfortunately, can't do that directly. We'll investigate why is that and...

View Article


Image may be NSFW.
Clik here to view.

Determine if an Integer’s Square Root Is an Integer in Java

1. Overview A perfect square is a number that can be expressed as the product of two equal integers. In this article, we'll discover multiple ways to determine if an integer is a perfect square in...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 368

1. Spring and Java >> Pattern Matching in the Java Object Model [github.com] Java language architects on how pattern matching may get integrated into the Java language! >> Creating...

View Article


Image may be NSFW.
Clik here to view.

Java Weekly, Issue 366

1. Spring and Java >> Do Loom’s Claims Stack Up? Part 1: Millions of Threads? [webtide.com] Gym membership and millions of loom virtual threads – evaluating the effect of GC and deep stacks on...

View Article

Image may be NSFW.
Clik here to view.

Difference Between spring-boot:repackage and Maven package

1. Overview Apache Maven is a widely used project dependency management tool and project building tool. Over the last few years, Spring Boot has become a quite popular framework to build applications....

View Article


Image may be NSFW.
Clik here to view.

Difference Between REST and HTTP

1. Introduction Often times the terms REST and HTTP are used interchangeably. In this article, we'll look at what each term really means and why they are two different things. 2. What is REST? REST...

View Article

Image may be NSFW.
Clik here to view.

Using a Byte Array as Map Key in Java

1. Introduction In this tutorial, we'll learn how to use a byte array as a key in HashMap. Because of how HashMap works, we, unfortunately, can't do that directly. We'll investigate why is that and...

View Article

Image may be NSFW.
Clik here to view.

Determine if an Integer’s Square Root Is an Integer in Java

1. Overview A perfect square is a number that can be expressed as the product of two equal integers. In this article, we'll discover multiple ways to determine if an integer is a perfect square in...

View Article
Browsing all 3605 articles
Browse latest View live