Here's what I've written (so far):

Baeldung on Java

  • Java (889)
  • Weekly Review (305)
  • Spring (228)
  • Persistence (166)
  • Testing (159)
  • Spring Boot (132)
  • Java Collections (122)
  • REST (110)
  • DevOps (107)
  • Spring MVC (97)
  • Data (97)
  • Spring Security (83)
  • Spring Data (81)
  • Programming (80)
  • NoSQL (77)
  • Jakarta EE (77)
  • Algorithms (71)
  • Security (61)
  • Java Concurrency (59)
  • Reactive (55)
  • Maven (53)
  • JSON (51)
  • HTTP Client-Side (50)
  • Docker (48)
  • Spring Web (41)
  • Spring Persistence (39)
  • Spring Cloud (38)
  • Series (38)
  • Guava (33)
  • Cloud (26)
  • Logging (23)
  • Jackson (23)
  • Architecture (22)
  • XML (19)
  • Gradle (19)
  • IDE (16)
  • Web Services (8)
  • Networking (7)
  • News (1)

Setting Request Headers Using Feign

OpenFeign is a library that helps us build clients to web services by expressing the contract in a Java interface. We look at how to include header values in our requests through the interface, with fixed and dynamic values, and how to handle cross-cutting concerns like authorization by using interceptors.

Read More →

Basic Authentication in JMeter

We can use JMeter to load test endpoints with Basic Authentication in a few different ways. We look at the simplest method of adding credentials directly to a header, along with how to provide a set of credentials from a data source.

Read More →

Case Insensitive Sorting in MongoDB

MongoDB’s default lexical sorting may not be suitable for all purposes. Here we look at a couple of techniques for sorting to keep letters together even if they’re in a mix of upper and lowercase.

Read More →

GraphQL vs REST

GraphQL and REST can be used to enable the same integrations between different parts of our systems. We compare the two approaches to see how they have benefits in different situations.

Read More →

Java Weekly, Issue 420

All about distributed systems: fault tolerant JVM, circuit breaker for RestTemplate, tracing in Spring Boot and replicated log. Also, catching errors in Java and risk of micro-dependencies!

Read More →

Java Weekly, Issue 415

Migrating to Java 17, i18n in Spring Boot, naming strategies in Hibernate 5, simple web server, and fully-managed load testing on Azure. Good stuff as we’re getting closer to 2022.

Read More →

New Features in Java 17

In this article, we’ll talk about the news related to the new version of the Java ecosystem, Java SE 17 – the new features and the changes in its release process, LTS support, and licenses.

Read More →

Convert a String to Camel Case

Camel case text conversion can be achieved by using regular expressions, or via some library functions. We look at a couple of implementations we can add to our own code, and a couple of examples from libraries.

Read More →

Logical vs Bitwise OR Operator

Java supports two variations of OR with different operator precedence and runtime behaviour. We explore how logical OR short-circuits and how bitwise OR applies to numbers and boolean values.

Read More →

Attach and Detach From a Docker Container

A Docker container can be run either attached to or detached from the terminal that launched it. We look at how to launch containers and how to retrospectively attach to running containers or detach the terminal without terminating them.

Read More →

How to Implement a Soft Delete with Spring JPA

Physically deleting data from a table is usual when interacting with databases. But sometimes there are business requirements to not permanently delete data from the database.

In this tutorial, we’ll learn about soft delete and how to implement this technique with Spring JPA.

 

Read More →

Java Weekly, Issue 372

Java 16 goes RC1, Unix-domain sockets, native images, jOOQ internals, metrics meets open tracing, joining tables with a hash-join algorithm, and having more effective meetings!

Read More →

Java File Separator vs File Path Separator

To make our code portable between operating systems, we need to handle the directory and path separator characters correctly. We look at a few ways that Java can help use the correct characters for the host operating system.

Read More →

Java Weekly, Issue 352

More resilient Java with Bulkheads, a new ML library for Java, GraalVM native images, Spring Boot performance, reinventing VMs, and talent isn’t everything! Oh, and the Baeldung “sale”. Good stuff this week.

Read More →

Java Weekly, Issue 346

A very diverse anthology: Project Amber’s design documents are already on GitHub, cloud functions in Micronaut, patterns for distributed systems, and advice for effective blogging.

Read More →

Java Weekly, Issue 345

Microsoft continues to contribute to the Java ecosystem with new the OpenJDK for ARM and JMS over AMQP. Also, Patterns to manage distributed systems and finally, working effectively from home!

Read More →

Guide to Guava Multiset

Store counts of duplicates in a set using Guava Multiset. See how to use this powerful part of the Guava library in single and multi-threaded applications.

Read More →