Blog Layout

Foojay Podcast #11: Looking Back to 2022 and Predictions for 2023

A few weeks ago, Ted Neward published a post in which he reviewed the predictions he made one year ago and added a long list of predictions for 2023. In this Foojay Podcast episode, we talk about these predictions, and we even found an analogy between what has happened at Twitter in the last months and the history of Java! …

Read More »

The Massive Hidden Power of Breakpoints

It’s been a big week. I’m currently reviewing the final draft of my upcoming debugging book. This is always a sobering, and exciting moment. A moment in which all of a sudden all the months of work become “real”. I also recorded 9 videos for youtube bringing up the total videos in the course to 29 (with many more on …

Read More »

Debugging Streams and Collections

I will run a book giveaway promotion on the Code Ranch on January 17th. Be sure to be there and let your friends know. It would be great to answer your questions about debugging. I’m very excited by this and by the feedback I’m getting for the course and new videos. I also launched a free new Java course for …

Read More »

Spring boot scheduling in depth

In dit artikel behandelen we kort wat scheduling inhoudt en de mogelijkheden die het biedt. Hierna gaan we deze implementeren door middel van Spring Boot. Spring Boot maakt het implementeren van scheduling erg eenvoudig, maar zoals alle autoconfiguratie die Spring Boot biedt, kun je deze aanpassen. Om dit te kunnen gaan we de autoconfiguratie van scheduling onder de loep nemen, …

Read More »

Writing a Profiler from Scratch: The Profiling Loop

This is the second post in the series, building a profiler from scratch using AsyncGetCallTrace. Today, we’re covering wall-clock profiling and how to collect the obtain stack traces. If you’re unfamiliar with AsyncGetCallTrace, please check out my previous article in the series here. Our goal today is to essentially write the primary loop of a profiler and do the following …

Read More »

Unsafe Deserialization Vulnerability in SnakeYaml (CVE-2022-1471)

SnakeYaml is a well-known YAML 1.1 parser and emitter for Java. Recently, a vulnerability — CVE-2022-1471 — was reported for this package. This vulnerability can lead to arbitrary code execution. The org.yaml:snakeyaml package is widely used in the Java ecosystem, in part because it is packaged by default with Spring Boot in the spring-boot-starter. In this article, we look into the security vulnerability affecting this …

Read More »

Testing Security

Security. Een Engels woord van 8 letters, maar met een grote betekenis voor IT’ers, althans dat zou het moeten hebben. Veelal wordt over security pas laat in het ontwikkeltraject nagedacht. Als er dan al over nagedacht wordt, wordt er veelal alleen gekeken naar toegang tot de applicatie, authenticatie en autorisatie. Echter is het niet onbelangrijk om er meer rekening mee …

Read More »

Why Your Choice of Java Virtual Machine (JVM) Matters More Than Ever

In my recent interview with Software Daily, I discussed that there are many companies looking for better customer experience, faster execution, and lower infrastructure costs… and that they have discovered a better use of Java to help them with just that. The interview describes that when you use hyper-optimized Java runtimes instead of vanilla OpenJDK – you do less tuning …

Read More »

How to Reduce Cloud Cost by 99% for EDA Kafka Applications

While the Cloud offers great convenience and flexibility, the operational cost for applications deployed in it can sometimes be significant. In this article, we show a way to substantially reduce operating costs in latency-sensitive Event-Driven Architecture (EDA) Java applications by migrating from Kafka to Chronicle Queue open-source, which is a more resource-efficient and lower-latency queue implementation. What is EDA? An …

Read More »

Why Many Developers Don’t Write or Give Talks and How to Overcome Challenges

I asked on Twitter and LinkedIn why many developers don’t write or give talks, and I was amused by the response I received. This article is about that. The problems: It turns out, developers do not write blogs or give presentations for a variety of reasons. Some developers may believe they lack interesting experiences or information to share or that …

Read More »