Builders, Withers, and Records: Java’s path to immutability

We know that immutable objects are easier to maintain, lead to fewer errors, and are multi-thread friendly. In this article, I will talk about two different approaches in Java to creating objects: Builders and Withers, typically used in the context of immutable objects, along with a new type of immutable object in Java: Records. When it comes to creating objects …

Read More »

You’re Invited to IntelliJ IDEA Conf 2024!

We are back and excited to invite you to IntelliJ IDEA Conf 2024, a developer-focused, live, online event that is free for all to attend! IntelliJ IDEA Conf celebrates the developer community and its desire to learn and improve every day. Join us for this free, live online conference and learn from industry leaders and experts on March 6–7, 2024. …

Read More »

Foojay Podcast #43: Modern Java Testing

As developers, we all want to write bug free and high quality code. Writing tests is a crucial part to achieve this. Let’s explore the art of ensuring robust and bug-free code in the Java ecosystem. Whether you’re a seasoned developer or just starting out, there’s a lot you can learn from the experts in this podcast about testing methodologies, …

Read More »

Hello eBPF: Tail calls and your first eBPF application (4)

Welcome back to my series on eBPF. Two weeks ago, I showed you how to use perf event buffers to stream data from the eBPF program to the Java application. This week, we will finish chapter 2 of the Learning eBPF book, learn how to use tail calls and the hello-ebpf project as a library and implement one of the …

Read More »

12 Lessons Learned From Doing The One Billion Row Challenge

The One Billion Row Challenge or 1BRC or 1⃣ was a challenge to read a CSV file of one billion rows with “station name;temperature” data and compute the min/average/max temperature per weather station as fast as possible. If you want to know what is the fastest algorithm, you can go the the 1BRC page. But the real answer is “it …

Read More »

Cloud Cost Optimization Is Hard, Java Can Help

In my recent conversation with William Fellows, Research Director at S&P Global Market Research, we discussed ways to reduce cloud waste specifically for Java workloads. After all, cloud cost optimization is hard. A large delta is growing between budgeted and actual spending. Top areas for spending are cloud integration and modernization services, security and compliance monitoring, and application modernization – specifically applications written …

Read More »

Hardening Apache APISIX with the OWASP’s Coraza and Core Ruleset

The Open Worldwide Application Security Project is an online community that produces freely available articles, methodologies, documentation, tools, and technologies in the fields of IoT, system software and web application security. The OWASP provides free and open resources. It is led by a non-profit called The OWASP Foundation. The OWASP Top 10 – 2021 is the published result of recent …

Read More »

Build Flexible Jakarta EE Applications With Apache CouchDB NoSQL Database

Are you a Jakarta EE developer interested in leveraging the power of NoSQL databases for your applications? This webinar – watch the recording here – is designed specifically to introduce you to the world of NoSQL through CouchDB, a high-performance, scalable database ideal for cloud-native applications. What is CouchDB? CouchDB is a NoSQL database used in distributed and cloud environments. It uses …

Read More »

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 »