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

Image may be NSFW.
Clik here to view.

Introduction to cache2k

1. Overview In this tutorial, we'll take a look at cache2k — a lightweight, high-performance, in-memory Java caching library. 2. About cache2k The cache2k library offers fast access times due to...

View Article


Image may be NSFW.
Clik here to view.

Configuring Thread Pools for Java Web Servers

1. Introduction In this tutorial, we take a look at thread pool configuration for Java web application servers such as Apache Tomcat, Glassfish Server, and Oracle Weblogic. 2. Server Thread Pools...

View Article


Image may be NSFW.
Clik here to view.

List All Redis Databases

1.Introduction In this short tutorial, we'll take a look at different ways to list all the databases available in Redis. 2. Listing All Databases In the first place, the number of databases in Redis is...

View Article

Image may be NSFW.
Clik here to view.

Introduction to Moshi Json

1. Introduction In this tutorial, we'll take a look at Moshi, a modern JSON library for Java that will give us powerful JSON serialization and deserialization in our code with little effort. Moshi has...

View Article

Image may be NSFW.
Clik here to view.

Exponential Backoff With Spring AMQP

1. Introduction By default in Spring AMQP, a failed message is re-queued for another round of consumption. Consequently, an infinite consumption loop may occur, causing an unstable situation and a...

View Article


Image may be NSFW.
Clik here to view.

Calling Stored Procedures from Spring Data JPA Repositories

1. Overview A stored procedure is a group of predefined SQL statements stored in the database. In Java, there are several ways to access stored procedures. In this tutorial, we'll show how to call...

View Article

Image may be NSFW.
Clik here to view.

Converting Gradle Build File to Maven POM

1. Introduction In this tutorial, we'll take a look at how to convert a Gradle build file to a Maven POM file. We'll also explore a few available customization options. 2. Gradle Build File Let's start...

View Article

Image may be NSFW.
Clik here to view.

ThreadPoolTaskExecutor corePoolSize vs. maxPoolSize

1. Overview The Spring ThreadPoolTaskExecutor is a JavaBean that provides an abstraction around a java.util.concurrent.ThreadPoolExecutor instance and exposes it as a Spring...

View Article


Image may be NSFW.
Clik here to view.

Connect Java to a MySQL Database

1. Overview There are many ways we can connect to a MySQL database from Java and in this tutorial, we're going to explore several options to see how to achieve this. We'll start by looking at arguably...

View Article


Image may be NSFW.
Clik here to view.

DDD Bounded Contexts and Java Modules

1. Overview Domain-Driven Design (DDD) is a set of principles and tools that helps us design effective software architectures to deliver higher business value. Bounded Context is one of the central and...

View Article

Image may be NSFW.
Clik here to view.

Spring Bean vs. EJB – A Feature Comparison

1. Overview Over the years, the Java ecosystem has evolved and grown tremendously. During this time, Enterprise Java Beans and Spring are two technologies that not only have competed but learned from...

View Article

Image may be NSFW.
Clik here to view.

Introduction to Takes

1. Overview There are many web frameworks like Spring, Play, and Grails available in the Java ecosystem. However, none of them can claim to be completely immutable and object-oriented. In this...

View Article

Image may be NSFW.
Clik here to view.

Java Suppressed Exceptions

1. Introduction In this quick tutorial, we're going to learn about suppressed exceptions in Java. In short, a suppressed exception is an exception that is thrown but somehow ignored. A common scenario...

View Article


Image may be NSFW.
Clik here to view.

Fast Pattern Matching of Strings Using Suffix Tree

1. Overview In this tutorial, we'll explore the concept of pattern matching of strings and how we can make it faster. Then, we'll walk through its implementation in Java. 2. Pattern Matching of Strings...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 323

1. Spring and Java >> Getting Started With RSocket: Spring Boot Server [spring.io] A nice overview of RSocket, a reactive messaging protocol for microservices that works over TCP or WebSockets....

View Article


Image may be NSFW.
Clik here to view.

Testing Spring Boot @ConfigurationProperties

1. Overview In our previous guide to @ConfigurationProperties, we learned how to set up and use the @ConfigurationProperties annotation with Spring Boot for working with external configuration. In this...

View Article

Image may be NSFW.
Clik here to view.

Pattern Matching for instanceof in Java 14

1. Overview In this quick tutorial, we'll continue our series on Java 14 by taking a look at Pattern Matching for instanceof which is another new preview feature included with this version of the JDK....

View Article


Image may be NSFW.
Clik here to view.

Capturing a Java Thread Dump

1. Overview In this tutorial, we'll discuss various ways to capture the thread dump of a Java application. A thread dump is a snapshot of the state of all the threads of a Java process. The state of...

View Article

Image may be NSFW.
Clik here to view.

Finding the Spring Version

1. Overview In this article, we're going to show how to programmatically find out which version of Spring, JDK, and Java our application is using. 2. How to Get Spring Version Let's start by learning...

View Article

Image may be NSFW.
Clik here to view.

Introduction to Apache Beam

1. Overview In this tutorial, we'll introduce Apache Beam and explore its fundamental concepts. We'll start by demonstrating the use case and benefits of using Apache Beam, and then we'll cover...

View Article
Browsing all 4535 articles
Browse latest View live


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