Table of Contents TL;DR:What’s Zero-Shot Classification (and Why It Matters)Integrating a Zero-Shot Classification Model with the Deep Java LibraryDependenciesThe Criteria ClassLoading and using the modelUsing different modelsUsing a model that is not available in the Model ZooLoading a local model …
-
CAP in the Pocket: Developing Java Applications on your Phone
Smartphones are more powerful then ever, with processors rivaling old laptops. So let’s try to use them like a laptop to develop web-applications on the go. Below I’ll show you how to do use run and develop a CAP Java …
-
Carbon Aware Job Processing With JobRunr v8
Table of Contents What is JobRunr?Carbon Aware Job ProcessingCarbon Aware ConfigurationWhat If There Is No Forecast?Conclusion As we produce, mutate, configure, and consume more and more data in various shapes and forms, think: video on demand, AI ingestion and generation …
-
Build a Sentiment Analysis API in Java with Quarkus and Local LLMs
Table of Contents What You’ll BuildPrerequisitesBootstrap Your Quarkus ProjectConfigure Ollama and Dev ServicesDefine the Sentiment EnumCreate the AI Classification ServiceExpose the Sentiment APIRun It!Test It!Final ThoughtsWhat’s Next? In a world full of opinions, tweets, reviews, chats, emails, understanding the tone …
-
Benchmarking and profiling Java with JMH
Table of Contents Introduction: Why JMH?DependenciesCreating your first benchmarkBenchmark modesState managementKeeping the state correctUsing state to create variants.Understanding JMH outputPrevent dead code optimizationsConstant foldingUsing async profiler with JMHBonus: Linux toolsConclusion Introduction: Why JMH? Performance matters in Java applications, but measuring …
-
Spring Boot + Kafka Streams: Event Routing & Testing
Learn how to do Kafka Stream with Spring Boot! 🍃 With a city tour visits system…
-
Brokk: AI for Large (Java) Codebases
Table of Contents Sidebar: Under the HoodRecommendationsWorking with GitSidebar: LLM ModelsThe Edit Loop There are two reasons that AI makes mistakes writing code: The LLM just isn’t smart enough to tackle the problem effectively, and it simply gets the answer …
-
10 Best Practises For Jakarta EE Performance Optimization
Table of Contents Quick ComparisonSecrets of Performance Tuning Java on Kubernetes by Bruno BorgesNext Steps With this article, we start a series where we compiled 10 best practices for performance optimizations and suggestions how to implement them using Jakarta EE & Eclipse GlassFish. Enjoy …
-
Async file IO with Java and io_uring
Table of Contents What is PanamaManaging memoryMaking calls up and downWhat is io_uringSingle read with Java and UringPerformance improvementsTurning pinning into yieldingBringing It All Together When I first started exploring Virtual Threads in Java, I wanted to understand everything about …
-
Optimizing the Garbage Collector when Migrating Cloud Workloads
Table of Contents Why GC Tuning Matters on ArmOpenJDK VersionChoosing the Right Garbage CollectorHeap Size and GC Pause TimeAdaptive Heap SizingClosing the feedback loopDeveloper Education for the Java CommunityNeed Assistance from Experts? Introduction to Java on Arm You might associate …
-
Java 24 Rolls Out Today! Find Out Why It’s Aptly Named
Java 24 rolls out today, and it brings a diverse set of features. For example, compact object headers bring better performance, and various security features have been added. Or how about the eagerly-awaited solution to virtual thread pinning? This post has all the info!