Java Articles by Foojay.io

March, 2024

  • 18 March

    Java 22: What’s New?

    As soon as Java 22 is out, it’ll be time to walk through all the functionalities that this version bring to us as developers. JEP 461 – Stream Gatherers (Preview) Enhances the Stream API with support for custom intermediate operations. This is a preview API. The Stream API provides a fixed set of intermediate and terminal operations. It allows terminal …

    Read More »
  • 18 March

    Foojay Podcast #45: Welcome to Java 22

    Last September, we got Java 21, a Long Term Support (LTS) version with eight new big features and seven incubator or preview features. Does Java 22 also bring that much innovation, or is it just a bug-fix release? And what needs to be done to get such a release published on time? Let’s find out… Video Podcast (audio only) Speakers …

    Read More »
  • 15 March

    How Oracle Separates Java Pricing from Value

    On January 23, 2023, Oracle quietly replaced the online link to the Oracle Java SE Subscription Global Price List with a link to a new Oracle Java SE Universal Subscription Global Price List. The old Oracle Java pricing was far from perfect. It was based on a processor-count metric for servers and a named-user-plus metric for desktops. With the processor-count …

    Read More »
  • 14 March

    Increase readability and reduce complexity with Java’s Pattern Matching

    Increase readability, reduce cognitive complexity, and avoid bugs that are hard to spot with Java’s Pattern Matching. I bet you don’t like writing ugly but necessary boilerplate code or reading it. But, sometimes we need to create logic that has to deal with an object of unknown type and follow different paths depending on the type. This code is prone …

    Read More »
  • 12 March

    Running JavaFX applications on the Windows Subsystem for Linux and more

    What does it take to run standalone JavaFX applications on exotic Linux systems like the Windows Subsystem for Linux or some embedded systems? As you will see, not a lot! Familiarizing yourself with the native libraries required by JavaFX and the font loading process is all that is needed. Then, JavaFX applications can run on them out of the box …

    Read More »
  • 11 March

    Foojay.io Mini Conference at Uber, Amsterdam

    Uber Tech is partnering with Java User Group Amsterdam to host their first mini conference with Foojay.io. Come and join in at the Uber Amsterdam HQ and learn from experts in their fields. This meetup will be hosted by Uber Tech, in their office at Uber, Burgerweeshuispad 301, Amsterdam. Note: To get the bar code and details for entering the …

    Read More »
  • 11 March

    Secure your API with these 16 Practices with Apache APISIX – part 2

    We’ve listed 16 practices to help secure one’s APIs and described how to implement them with Apache APISIX. Authentication – Verifies the identity of users accessing APIs. Authorization – Determines permissions of authenticated users. Data Redaction – Obscures sensitive data for protection. Encryption – Encodes data so only authorized parties can decode it. Error Handling – Manages responses when things go …

    Read More »
  • 11 March

    Secure your API with these 16 Practices with Apache APISIX – part 1

    A couple of months ago, I stumbled upon this list 16 practices to secure your API: Authentication – Verifies the identity of users accessing APIs. Authorization – Determines permissions of authenticated users. Data Redaction – Obscures sensitive data for protection. Encryption – Encodes data so only authorized parties can decode it. Error Handling – Manages responses when things go wrong, …

    Read More »
  • 8 March

    TornadoInsight: Harness the Power of TornadoVM from IntelliJ IDEA

    TornadoInsight is an open-source IntelliJ IDEA plugin for enhancing the developer experience when working with TornadoVM. It provides a built-in on-the-fly static checker, empowering developers to identify unsupported Java features in TornadoVM and understand the reasons behind these limitations. Additionally, TornadoInsight introduces a dynamic testing framework that enables developers to easily test individual TornadoVM tasks. It automatically wraps TornadoVM tasks, …

    Read More »
  • 7 March

    Hello eBPF: First steps with libbpf (5)

    Welcome back to my blog series on eBPF. Two weeks ago, I showed you how to write your own eBPF application using my hello-ebpf library based on libbcc. This week, I show you why using libbcc is not the best idea and start working with the newer libbpf. With my current libbcc-based approach, we essentially embed the executed eBPF program …

    Read More »