Video: Spring Boot Testcontainers Support for Local Development

Spring Boot has supported TestsContainers for running services during tests for quite a while. With Spring Boot 3.1, Testcontainers support for local development was added. This video will show you how this works and how to use it. The post Video: Spring Boot Testcontainers Support for Local Development appeared first on foojay.

Read More »

State of Open (Source?!) and Free AI – a FOSDEM recap

Disclaimer: This article is on the things I learned/observed spending the day in AI and Machine Learning Developer Room at FOSDEM 24. Opinions and statements are mine and have nothing to do with my employer. This article might raise more questions than answers, but in my opinion, we all need more awareness on this topic and get familiar with the …

Read More »

Top Most Detected Issues in Java Projects

Using the telemetry from SonarLint after analyzing thousands of projects, these are the top most raised issues in Java projects. We know that having clean code in our projects is important, and every developer would agree on that. But, according to what SonarLint telemetry shows, there are still lots of issues that appear in the huge list of analyzed projects. …

Read More »

Minimize Costs by Utilizing Cloud Storage with Spring-Data-Eclipse-Store

Sooner or later any Spring application needs to store data. And of course, the first and easiest move is to utilize Spring Data JPA. You can set up your data storage without knowing which relational database you will use in production and simply start coding without worrying about that. It is the easiest and most convenient way to store data …

Read More »

DTrace Revisited: Advanced Debugging Techniques

DTrace Overview Understanding DTrace’s Capabilities System Monitoring and Analysis Process and Performance Analysis Customizability and Flexibility Real-World Applications Performance and Compatibility of DTrace Cross-Platform Compatibility Compatibility Challenges on MacOS Customizability and Flexibility of DTrace Adaptability to Various Scenarios Examples of Customizable Probes Real-World Applications of DTrace Final Words When we think of debugging, we think of breakpoints in IDEs, stepping …

Read More »

Is JDWP’s onjcmd feature worth using?

A few months ago, I told you about the onjcmd feature in my blog post Level-up your Java Debugging Skills with on-demand Debugging (which is coming to JavaLand 2024). The short version is that adding onjcmd=y to the list of JDWP options allows you to delay accepting the incoming connection request in the JDWP agent until jcmd <JVM pid> VM.start_java_debugging …

Read More »

The Evolution of Microservices with SOA: Navigating the Architectural Landscape

The Evolution of Microservices with SOA: Navigating the Architectural Landscape Microservices represent a paradigm shift in the way we construct distributed systems. This comprehensive guide dives into the heart of microservices and service-oriented architecture (SOA), comparing their roles in current development ecosystems. By understanding the evolution and the modern application of microservices, developers can harness their full potential for creating …

Read More »

Kicking the Tires of Docker Scout

I never moved away from Docker Desktop. For some time, after you use it to build an image, it prints a message: What’s Next? View a summary of image vulnerabilities and recommendations → docker scout quickview I decided to give it a try. I’ll use the root commit of my OpenTelemetry tracing demo. Let’s execute the proposed command: docker scout …

Read More »

Sorting Text in Java, How Complicated Can It Be?

Sorting text should be easy as String implements the Comparable interface. In this article, we’ll see that it can be more complicated than that. Text is represented by the String class in Java. In this article we’ll explore how to sort String, the advantages and drawbacks of each possibility. Level 1: Comparable The class String implements Comparable so sorting a …

Read More »

OpenRewrite: Migrate to Spring Boot 3.2

As a developer, we frequently face the challenges of migrating to newer versions of frameworks and refactoring code. However, we can effortlessly achieve these tasks with the assistance of OpenRewrite. OpenRewrite provides a stack of recipes specifically designed for migration purposes. By utilizing the appropriate recipes and integrating with the rewrite plugin, we can effectively migrate our code. Two months …

Read More »