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

Baeldung on Java

  • All
  • Java (953)
  • Weekly Review (340)
  • Spring (234)
  • Testing (172)
  • Persistence (171)
  • Spring Boot (148)
  • Java Collections (144)
  • DevOps (134)
  • REST (115)
  • Spring MVC (97)
  • Data (96)
  • Programming (90)
  • Spring Security (88)
  • Spring Data (86)
  • Jakarta EE (77)
  • NoSQL (76)
  • Algorithms (74)
  • Java Concurrency (67)
  • Security (62)
  • Reactive (58)
  • Docker (58)
  • JSON (54)
  • Maven (52)
  • HTTP Client-Side (51)
  • Spring Web (42)
  • Spring Cloud (41)
  • Spring Persistence (40)
  • Series (40)
  • Guava (34)
  • Cloud (28)
  • Jackson (26)
  • Logging (24)
  • Gradle (24)
  • Architecture (24)
  • XML (19)
  • IDE (16)
  • Networking (10)
  • Web Services (8)
  • News (1)

Migrate From Java 8 to Java 17

Explore some extremely useful features available in the newer versions of Java. These features aren’t only easy to learn but can also be implemented quickly without much effort when planning to migrate from Java 8 to Java 17.

Read More →

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 →

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 →