Null Safety: Kotlin vs. Java

Following on from FOSDEM discussions, let's expand on the problem of nullability and how it's solved in Kotlin and Java. The post Null Safety: Kotlin vs. Java appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

How to Get Started with the Hazelcast Viridian Serverless

The Hazelcast Serverless means that Hazelcast manages the cloud infrastructure for you. Each Viridian Serverless cluster is an independent deployment of Hazelcast Platform in a Kubernetes container. This design guarantees resource isolation, prevents resource stealing, and provid … | Continue reading


@foojay.io | 1 year ago

Package Checker: Find & Fix Vulnerabilities with IntelliJ IDEA Ultimate

In this article, we're going to take a look at the Package Checker plugin, that's bundled with IntelliJ IDEA Ultimate! The post Package Checker: Find & Fix Vulnerabilities with IntelliJ IDEA Ultimate appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Securing Admin Access to Apache APISIX

API Gateways are critical components in one's infrastructure. Here we list a couple of ways to secure your Apache APISIX admin access. The post Securing Admin Access to Apache APISIX appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Remote Debugging Dangers and Pitfalls

Debugging over the network using JDWP isn't hard. However, there are risks that aren't immediately intuitive and some subtle solutions! The post Remote Debugging Dangers and Pitfalls appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Journeys in Java, Level 8: Add MongoDB to Spring Cloud Config

Convert an existing MongoDB-connected service to use Spring Cloud Config for accessing database credentials, as with a Neo4j microservice. The post Journeys in Java, Level 8: Add MongoDB to Spring Cloud Config appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

How Gradle Works: Startup

This is the first of a series on how Gradle works! For example, how does Gradle start up and how many JVMs are involved in a Gradle build? The post How Gradle Works: Startup appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

JFR Timestamps and System.nanoTime

Did you ever wonder whether JFR timestamps use the same time source as System.nanoTime? Come down the rabbit hole with me! The post JFR Timestamps and System.nanoTime appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Which is the Fastest JVM: OpenJDK or GraalVM?

How is a high-performance, low-latency Java application affected by the JVM version used? Find out more on Foojay! The post Which is the Fastest JVM: OpenJDK or GraalVM? appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Getting Started with RIFE2 Java Web Framework v1.0.0

Benefiting from a decade of work that went into original RIFE, the new RIFE2 provides an opinionated full stack web framework in a 2MB JAR. The post Getting Started with RIFE2 Java Web Framework v1.0.0 appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Announcing Real-time Stream Processing Unconference

I’m happy to share Hazelcast will be kicking off 2023 by hosting #RTSPUnconf to connect with community members and industry experts on the Future of Real-Time Stream Processing. The post Announcing Real-time Stream Processing Unconference appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Foojay.io at FOSDEM 2023 Trip Report

"What if Simon Ritter's Friends of OpenJDK keynote session at FOSDEM entitled 'After Nearly 30 Years, How Is Java So Popular?' ends up being held... in an empty room?" The post Foojay.io at FOSDEM 2023 Trip Report appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Foojay Podcast #13: Denver and Boulder JUG

Last month we were in Dubai... and now we are on the other side of the world in the US to meet the people behind the Denver and Boulder JUG. The post Foojay Podcast #13: Denver and Boulder JUG appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Using Firefox Profiler Beyond the Web

Ever wondered how to use Firefox Profiler to view your own profiling data? This article gives you the foundations! The post Using Firefox Profiler Beyond the Web appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Explained: Memory Allocation Pacing in Azul Zulu Prime builds of OpenJDK

Allocation Pacing (AP) is a technique within the JVM of Azul Zulu Prime builds of OpenJDK to prevent long memory allocation delays. The post Explained: Memory Allocation Pacing in Azul Zulu Prime builds of OpenJDK appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

What Should I Know About Garbage Collection as a Java Developer?

Check out this overview of the functionality of the Garbage Collector and the things a developer should know. The post What Should I Know About Garbage Collection as a Java Developer? appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Memory Debugging – a Deep Level of Insight

It isn't just about memory leaks. Understanding how RAM is used and its content provides insight into the app you can't get in any other way! The post Memory Debugging – a Deep Level of Insight appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Debugging Threads and Asynchronous Code

Track thread race conditions, figure out deadlocks, and understand the flow of asynchronous applications (even in custom code) using the debugger. The post Debugging Threads and Asynchronous Code appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Firefox Profiler Beyond the Web

Ever wanted to profile your application directly from your IDE? Here comes the Java JFR Profiler plugin, an open-source plugin for IntelliJ! The post Firefox Profiler Beyond the Web appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Why Core-to-Core Latency Matters

An initial goal of Java was to “write once, run anywhere”, but does that mean we should not be sympathetic to the hardware? The post Why Core-to-Core Latency Matters appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

How to Run a Java Application with CRaC in a Docker Container

CRaC is an OpenJDK project developed by Azul to solve the problem of "slow" startup times of the JVM in a microservice environment. The post How to Run a Java Application with CRaC in a Docker Container appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Real-time Stream Processing with Hazelcast and StreamNative

Learn how to stream data from Apache Pulsar into Hazelcast, where you learn how to process data in real time. The post Real-time Stream Processing with Hazelcast and StreamNative appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

More Foojay.io FOSDEM Speaker Predictions for 2023

Following from the first part in this series, here is the next, from speakers who will be in the Foojay room at FOSDEM, Sunday, 5 February. The post More Foojay.io FOSDEM Speaker Predictions for 2023 appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Journeys in Java, Level 7: Externalize Microservice Configuration

Learn how to set up a service that hosts the Spring Cloud Config server and wire our Neo4j microservice as the config client service. The post Journeys in Java, Level 7: Externalize Microservice Configuration appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

JavaFX Links of January 2023

2023 has taken of with a flying start! Here is a summary of the Links Of The Week that were published in January on jfx-central.com. The post JavaFX Links of January 2023 appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Quest for REST

SOAP's biggest flaw was its complexity and its focus on big companies, but it at least provided a shared set of standard specifications. The post Quest for REST appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

How Java Litters Beyond the Heap: Part 3, Solid-State Drives

Explore how solid-state drives (SSDs), the default storage medium for on-disk data, use garbage collection. The post How Java Litters Beyond the Heap: Part 3, Solid-State Drives appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

AsyncGetStackTrace: A better Stack Trace API for the JVM

An introduction into GetStackTrace, AsyncGetCallTrace, and the history and specification of AsyncGetStackTrace. The post AsyncGetStackTrace: A better Stack Trace API for the JVM appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Modular Monolithic in Practice

In this article, you learn about the Modular Monolithic architecture and how you can create it using the Spring Framework and Gradle. The post Modular Monolithic in Practice appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

“The More You Say, the Less People Remember…

…The Fewer the Words, the Greater the Profit.” And more wisdom and insight from Peter Lawrey, covering a range of development approaches. The post “The More You Say, the Less People Remember… appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Java Bytecode Simplified: Journey to the Wonderland (Part 3)

Java bytecode can be updated and controlled for many reasons, such as adding new features, instrumenting code for performance monitoring. The post Java Bytecode Simplified: Journey to the Wonderland (Part 3) appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Vaadin, OAuth2, and Keycloak

Security matters! Learn how to configure Vaadin and Spring Security to use OAuth2 with Keycloak on Foojay.io Today! The post Vaadin, OAuth2, and Keycloak appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Foojay Podcast #12: State and Future of the IDEs

In this podcast,  we are talking to some of the key people working on different IDEs, Integrated Development Environments. The post Foojay Podcast #12: State and Future of the IDEs appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Foojay.io FOSDEM Speaker Predictions for 2023

FOSDEM is around the corner and a group of great speakers is lined up to talk about the OpenJDK -- see what they predict for 2023! The post Foojay.io FOSDEM Speaker Predictions for 2023 appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

Friends of OpenJDK Schedule at FOSDEM 2023

On from good times in 2022 and 2021, we have a really great schedule with inspiring speakers for FOSDEM in Brussels, on Sunday, February 5! The post Friends of OpenJDK Schedule at FOSDEM 2023 appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

How Does Kafka Perform When You Need Low Latency?

Kafka benchmarks aim to discuss low latency characteristics of Kafka. Instead, they appear to be configured for throughput rather than low latency. The post How Does Kafka Perform When You Need Low Latency? appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

How to Release a Java Module with JReleaser to Maven Central with GitHub Actions

Learn from scratch about how to get started releasing a Java module with JReleaser to Maven Central with Github Actions. The post How to Release a Java Module with JReleaser to Maven Central with GitHub Actions appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

JTest: Roll Out Your Own JUnit-Like Testing Framework

In this interactive tutorial and educational project, you'll learn about JUnit internals and the usage of Java annotations and reflection. The post JTest: Roll Out Your Own JUnit-Like Testing Framework appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

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

In this Foojay Podcast episode, we talk about Ted Neward's predictions, and an analogy between Twitter and Java! The post Foojay Podcast #11: Looking Back to 2022 and Predictions for 2023 appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

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 ... The post Debugging Streams and Collections appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

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 ... The post The Massive Hidden Power of Breakpoints appeared fir … | Continue reading


@foojay.io | 1 year ago

Writing a Profiler from Scratch: The Profiling Loop

How do profilers like async-profiler work? How to write your own? This is the second part, covering wall-clock profiling. The post Writing a Profiler from Scratch: The Profiling Loop appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

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

org.yaml:snakeyaml package is widely used in the Java ecosystem, in part because it is packaged by default in the spring-boot-starter. The post Unsafe Deserialization Vulnerability in SnakeYaml (CVE-2022-1471) appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

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

Learn why when you use hyper-optimized Java runtimes instead of vanilla OpenJDK you do less tuning and debugging! The post Why Your Choice of Java Virtual Machine (JVM) Matters More Than Ever appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

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

About 400x more instances can be run on the same hardware with Chronicle Queue for specific latency-sensitive EDA applications. The post How to Reduce Cloud Cost by 99% for EDA Kafka Applications appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

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

Learn why developers may not write or give talks and how sharing knowledge and experiences can improve communication skills, and much more! The post Why Many Developers Don’t Write or Give Talks and How to Overcome Challenges appeared first on foojay. | Continue reading


@foojay.io | 1 year ago

JTest - Roll out your own JUnit-like testing framework This an interactive tutorial as well as an educational project that helps with your understanding of: (oversimplified) internals of JUnit usage of Java annotation and reflection You are given minimum starter ... The post appe … | Continue reading


@foojay.io | 1 year ago

Managing Dependencies in IntelliJ IDEA

Learn the different ways in which we can view our project's dependencies in IntelliJ IDEA, and the different focus for each view. The post Managing Dependencies in IntelliJ IDEA appeared first on foojay. | Continue reading


@foojay.io | 1 year ago