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

Image may be NSFW.
Clik here to view.

Check if the Given String Is a Valid Number

1. Introduction In this tutorial, we’ll explore different ways to check if a given string is a valid number in Java. We’ll cover several techniques, including built-in parsing methods, regular...

View Article


Image may be NSFW.
Clik here to view.

Streaming Real-Time Log to Splunk From Spring Boot

1. Overview In this tutorial, we’ll break down the steps to stream live logs from our Spring Boot application directly into Splunk using its HTTP Event Collector (HEC). To start, we’ll configure...

View Article


Image may be NSFW.
Clik here to view.

How to Setup Stub Server Easily Using Moco

1. Introduction It’s almost impossible to underestimate the importance of testing during software development. And if we’re talking about testing, it’s hard to ignore mocking tools that often play an...

View Article

Image may be NSFW.
Clik here to view.

Convert Between IPv6 and BigInteger in Java

1. Overview When working with IPv6 addresses in Java, a common requirement is to convert these addresses into a numerical format for storage or manipulation. In this tutorial, we’ll demonstrate...

View Article

Image may be NSFW.
Clik here to view.

Hibernate Envers – Extending Revision Info with Custom Fields

1. Overview A common requirement for system-of-record applications is keeping track of changes to domain entities. For JPA-based applications, using Hibernate Envers allows us to implement this...

View Article


Image may be NSFW.
Clik here to view.

Fix the JsonMappingException: Can not deserialize instance of...

1. Overview In this short tutorial, we’ll explore how to solve the Jackson exception JsonMappingException: Can not deserialize instance of java.util.HashMap out of START_ARRAY token. First, we’ll...

View Article

Image may be NSFW.
Clik here to view.

Storing Date and Time in PostgreSQL Using Java

1. Introduction Storing date and time information in a database is a common task in software development. With many different formats, time zones, and storage formats, dealing with date and time can be...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 571

1. Spring and Java >> Extending Spring Data Repositories Just Got Easier [spring.io] The latest Spring Data release makes extending repositories with custom functionality easier, by defining a...

View Article


Image may be NSFW.
Clik here to view.

Exploring Advanced JVM Options

1. Overview The Java Virtual Machine (JVM) is a powerful engine that powers Java applications. It is highly customizable and provides basic configuration through standard options, general performance...

View Article


Image may be NSFW.
Clik here to view.

Difference Between BeforeTest and BeforeMethod in TestNG

1. Overview When working with TestNG in Java, efficiently managing test setup and teardown is essential for creating clean, isolated, and maintainable tests. Two commonly used annotations, @BeforeTest...

View Article

Image may be NSFW.
Clik here to view.

Java Collections and null Values: Tolerance and Restrictions

1. Overview In this article, we’ll explore the tolerance and restrictions regarding null values in different Java collection types. Java collections handle null values differently, requiring careful...

View Article

Image may be NSFW.
Clik here to view.

Implementing an AI Assistant with Spring AI

1. Overview In this tutorial, we’ll discuss the concepts of Spring AI that can help create an AI assistant using LLMs like ChatGPT, Ollama, Mistreal, etc. Enterprises are increasingly adopting AI...

View Article

Image may be NSFW.
Clik here to view.

Transform a Future into CompletableFuture

1. Introduction In this tutorial, we’ll explore how to transform a Future into a CompletableFuture. This transformation allows us to leverage the advanced features of CompletableFuture, such as...

View Article


Image may be NSFW.
Clik here to view.

How to Read an External Properties File in Maven

1. Overview Maven, a popular build and dependency manager, is widely used in Java development. Also, we can create custom properties in Maven. When building Java applications, we often rely on...

View Article

Image may be NSFW.
Clik here to view.

Introduction to transmittable-thread-local

1. Overview Storing context during code execution is a common challenge. For instance, we might store security properties during a web request or keep traceability fields like transaction ID for...

View Article


Image may be NSFW.
Clik here to view.

AWS SDK – Fixing the “Unable to Find a Region via the Region Provider Chain”...

1. Introduction When using the AWS SDK to connect programmatically to an AWS service, a common issue related to the region configuration of AWS resources might arise. The reason for such an issue is...

View Article

Image may be NSFW.
Clik here to view.

Introduction to libGDX

1. Overview Java has long been a popular choice for game development, with notable successes like the original version of Minecraft. Developing a game without a game library or engine could be a...

View Article


Image may be NSFW.
Clik here to view.

How to Share Data Between Steps in Cucumber

1. Introduction Cucumber is a testing tool that supports Behavior-Driven Development (BDD) methodology. BDD empowers non-technical stakeholders to describe business features using natural...

View Article

Image may be NSFW.
Clik here to view.

Difference Between Swagger and HATEOAS

1. Overview Two popular approaches to designing REST APIs are often used: Swagger and HATEOAS. Both aim to make APIs more user-friendly and understandable but follow distinct paradigms. In this...

View Article

Image may be NSFW.
Clik here to view.

How to Drag and Drop in Selenium

1. Overview In this tutorial, we’ll explore how to perform drag-and-drop actions using Selenium and WebDriver. Drag-and-drop functionality is commonly used in web applications, from rearranging items...

View Article
Browsing all 4596 articles
Browse latest View live


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