Table of Contents A Quick History LessonForeign Function & Memory (FFM) APIThe Problem With JNIHow The FFM API EvolvedSimple Code ExamplesWhy the FFM API Matters for Raspberry Pi ProjectsPi4J ArchitectureThe FFM TransformationA Community Success StoryBeyond Raspberry PiPi4J Examples Using the …
-
The Ultimate 10 Years Java Garbage Collection Guide (2016–2026) – Choosing the Right GC for Every Workload
Memory management remains the primary factor for application performance in enterprise Java environments. Between 2017 and 2025, the ecosystem shifted from manual tuning to architectural selection. Industry data suggests that 60 percent of Java performance issues and 45 percent of production incidents in distributed systems stem from suboptimal Garbage Collection (GC) behavior. This guide provides a strategic framework for selecting collectors based on workload characteristics. It covers the transition from legacy collectors to Generational ZGC, analyzing trade-offs regarding throughput, latency, and hardware constraints with mathematical precision.
-
Pointer Arithmetic in Modern Java
Table of Contents IntroductionBackground InfoWarningThe SetupComparing ApproachesBenchmarkConclusion Introduction In this post, we dive into a more advanced topic: pointer arithmetic in Java. With the introduction of the Foreign Function & Memory API (Panama), we can interact with native memory. Usually, …
-
Flaky Tests: a journey to beat them all
Table of Contents What’s a flaky test?First try: retry them all!Second try: fix them all!Third try: embrace the inevitability!Conclusion “Sleep is not a synchronization primitive.” Every test engineer, eventually What’s a flaky test? A flaky test is a test that …
-
BoxLang 1.9.0 Released: Production-Ready Stability and Enterprise-Grade Reliability
Table of Contents Production-Ready EnhancementsKey Features and Code ExamplesArray-Based Form Field ParsingDatasource Lifecycle ManagementOracle Database ImprovementsEnhanced SOAP Client with Fluent APITechnical SpecificationsAvailability and LicensingAbout BoxLangAbout Ortus Solutions Houston, Texas – January 2025 – Ortus Solutions, a leading innovator in professional …
-
Java and Jakarta EE and the Evolution of the Cloud with Nanos Unikernel
Table of Contents Why Nanos UnikernelWhat Changes Compared to KubernetesNanos Images = Cloud-Native Immutable ImagesCI/CD: GitHub Actions for Building Azul 25 + Payara 7 on Nanos ImagesScaling: The Hypervisor Does Kubernetes’ JobApplication Upgrades: Rolling Just Like KubernetesSecurity: Stronger Isolation than …
-
The Real Mechanics of Vulnerabilities in an Upstream/Downstream, Topsy-Turvy EOL World
Table of Contents In this article you’ll learnIntroductionWhat this article is aboutBack in the real worldCode FlowsA different type of waterfallUnpredictable as the weather?The idealised workflowThe ethics of vulnerability patchingUnreported is not safeDownstream’s responsibility to the ecosystemEnd of Life software …
-
Scalable Enterprise Java for the Cloud
We’re excited to introduce Scalable Enterprise Java for the Cloud, a new free eBook created through a close collaboration between Payara, Java Champion Otavio Santana, and the Oracle NoSQL team Dario Vega & Michael Brey. This project brings together different …
-
Announcing bx-ldap: Enterprise LDAP for BoxLang
Table of Contents 🎯 Why?✨ Amazing Features🔍 Seven Powerful Actions📊 Flexible Return Formats🔌 Smart Connection Pooling📢 Event-Driven Programming💡 Code Samples🔒 Enterprise-Grade Security🚀 Performance Optimized📦 Installation📚 Documentation🎁 Get Access🛒 Purchase Options We’re excited to announce the release of bx-ldap, a comprehensive …
-
🚀 Stop Fixing Bugs on Fridays: The “Connected Mode” Superpower (Part 2)
Table of Contents Problem #1: “It works on my machine, but fails on the server”Problem #2: “Why did the server catch a SQL Injection my IDE missed?”Problem #3: “I hate switching windows to check why the build failed”Problem #4: “The …
-
BoxLang CouchBase Module: Enterprise Caching, Distributed Locking, and AI Vector Memory
Table of Contents Couchbase + BoxLang: A High-Performance Combination🚀 Enterprise-Grade Distributed Caching🔐 True Distributed Locking for Mission-Critical WorkloadsComponent-Based Locking (Recommended)Callback-Based Locking🤖 AI Vector Memory for BoxLang AgentsExample: Persistent Vector-Powered MemoryMulti-Tenant IsolationHybrid Memory Model🛠️ Direct Couchbase SDK Access📦 Session Storage Backed …