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

Spring Batch – Tasklets vs Chunks

 1. Introduction Spring Batch provides two different ways for implementing a job: using tasklets and chunks. In this article, we’ll learn how to configure and implement both methods using a simple...

View Article


Shuffling Collections In Java

1. Overview In this quick article, we’ll see how we can shuffle a collection in Java. Java has a built-in method for shuffling List objects — we’ll utilize it for other collections as well. 2....

View Article


Java Weekly, Issue 217

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.

Spring Boot Security Auto-Configuration

1. Introduction In this article, we’ll have a look at Spring Boot’s opinionated approach to security. Simply put, we’re going to focus on the default security configuration and how we can disable or...

View Article

Image may be NSFW.
Clik here to view.

Feature Flags with Spring

1. Overview In this article, we’ll briefly define feature flags and propose an opinionated and pragmatic approach to implement them in Spring Boot applications. Then, we’ll dig into more sophisticated...

View Article


Image may be NSFW.
Clik here to view.

RxJava 2 – Flowable

1. Introduction RxJava is a Reactive Extensions Java implementation that allows us to write event-driven, and asynchronous applications. More information on how to use RxJava can be found in our intro...

View Article

Image may be NSFW.
Clik here to view.

A Simple Tagging Implementation with JPA

1. Overview Tagging is a standard design pattern that allows us to categorize and filter items in our data model. In this article, we’ll implement tagging using Spring and JPA. We’ll be using Spring...

View Article

Image may be NSFW.
Clik here to view.

Comparing Strings in Java

1. Overview In this article, we’ll talk about the different ways of comparing Strings in Java. As String is one of the most used data types in Java, this is naturally a very commonly used operation....

View Article


Image may be NSFW.
Clik here to view.

A Guide to Infinispan in Java

1. Overview In this guide, we’ll learn about Infinispan, an in-memory key/value data store that ships with a more robust set of features than other tools of the same niche. To understand how it works,...

View Article


Image may be NSFW.
Clik here to view.

Building Microservices with Eclipse MicroProfile

1. Overview In this article, we’ll focus on building a microservice based on Eclipse MicroProfile. We’ll look at how to write a RESTful web application using JAX-RS, CDI and JSON-P APIs. 2. A...

View Article

Image may be NSFW.
Clik here to view.

Method Overloading and Overriding in Java

1. Overview Method overloading and overriding are key concepts of the Java programming language, and as such, they deserve an in-depth look. In this article, we’ll learn the basics of these concepts...

View Article

Image may be NSFW.
Clik here to view.

Object Type Casting in Java

1. Overview The Java type system is made up of two kinds of types: primitives and references. We covered primitive conversions in this article, and we’ll focus on references casting here, to get a...

View Article

Image may be NSFW.
Clik here to view.

Code Analysis with SonarQube

1. Overview In this article, we’re going to be looking at static source code analysis with SonarQube – which is an open-source platform for ensuring code quality. Let’s start with a core question –...

View Article


Image may be NSFW.
Clik here to view.

A Practical Guide to DecimalFormat

1. Overview In this article, we’re going to explore the DecimalFormat class along with its practical usages. This is a subclass of NumberFormat, which allows formatting decimal numbers’ String...

View Article

Image may be NSFW.
Clik here to view.

Intro to Google Cloud Storage with Java

1. Overview Google Cloud Storage offers online storage tailored to an individual application’s needs based on location, the frequency of access, and cost. Unlike Amazon Web Services, Google Cloud...

View Article


Image may be NSFW.
Clik here to view.

An Intro to Spring Cloud Task

1. Overview The goal of Spring Cloud Task is to provide the functionality of creating short-lived microservices for Spring Boot application. In Spring Cloud Task, we’ve got the flexibility of running...

View Article

Image may be NSFW.
Clik here to view.

How to Detect the OS Using Java

1. Introduction There are a couple of ways to figure out the OS on which our code is running on. In this brief article, we’re going to see how to focus on doing OS detection in Java. 2. Implementation...

View Article


Image may be NSFW.
Clik here to view.

Combining Publishers in Project Reactor

1. Overview In this article, we’ll take a look at various ways of combining Publishers in Project Reactor. 2. Maven Dependencies Let’s set up our example with the Project Reactor dependencies:...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 218

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.

The Checker Framework – Pluggable Type Systems for Java

1. Overview From the Java 8 release onwards, it’s possible to compile programs using the so-called Pluggable Type Systems – which can apply stricter checks than the ones applied by the compiler. We...

View Article
Browsing all 3610 articles
Browse latest View live


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