Table of Contents YouTubePodcast AppsGuestsContent Maven 4 is approaching its release, bringing many improvements to the build tool powering millions of Java projects. In this Foojay Podcast episode, we talk about Apache Maven 4, a significant milestone that has been …
-
Explore Spring Framework 7 Features—API Versioning
Table of Contents What is API versioning?API Versioning In ActionImport the Project into your IntelliJ IDEAAnnotation-Based Approach In my previous article, I outlined a comprehensive list of features introduced in Spring Framework 7 and Spring Boot 4. In this series …
-
Transactions and ThreadLocal in Spring
Table of Contents Finding usage of ThreadLocalThe TransactionSynchronizationManager classHow transactions use TransactionSynchronizationManagerWhat about Reactive transaction management?Discussion Two years ago, my friend José Paumard held the talk “Concurrent and Asynchronous Programming : Loom” at the Geneva Java User Group. In his …
-
Beyond Keywords: Implementing Semantic Search in Java With Spring Data (Part 1)
Table of Contents The magic behind vector searchPrerequisitesEmbeddings with Voyage AIPreparing the datasetMongoDB Atlas Vector Search (index and retrieval)Building the movie search appConfiguring the applicationThe document modelWire the request DTOCommunicating with Voyage AIThe EmbeddingServiceQuerying with Spring Data Vector Search operationThe …
-
Boost Dev Productivity with Payara Server Maven Plugin + AI Agent
Table of Contents Managing Payara Server Just Got SmarterWhat Is the Payara Server Maven Plugin?Meet the AI Agent (Experimental)Demo #1 – Memory & Threads, in Plain EnglishWhat’s happening:Demo #2 – JDBC, JMX, and JMS Made EasyWhat’s happening:Configuring the AI AgentFinal …
-
How to Kickstart Your Jakarta EE 11 Projects with Payara Starter
Table of Contents Why Payara Starter ExistsWhat’s New in Payara StarterHow to Create Jakarta EE 11 Apps with Payara StarterWhy This Matters for Java Developers Jakarta EE 11 is here, bringing powerful new capabilities for enterprise Java developers. But getting …
-
Best Practices for Deploying MongoDB in Kubernetes
Table of Contents 1. Use the MongoDB Kubernetes Operator2. StatefulSets and persistent volumes: Running MongoDB the right wayExample: Recommended multiple volume configuration3. Set CPU and memory resources for MongoDB and the OperatorMongoDB Kubernetes Operator: Plan for initial spikesMongoDB replica set …
-
Research: Measuring Energy Consumption in Programming Languages for AI Applications
Decades ago, I contributed to a very interesting project called SunSPOT at SUN Microsystems. It was a small device with wireless connectivity, built-in sensors, running on Java (compatible with runtime 1.6), and powered by battery. It enabled the design of …
-
Building REST APIs in Java with Spring Boot
Table of Contents How can Spring help?PrerequisitesCreating our appConnecting our databaseOur Book modelBook repositoryOur REST controllerCreateReadUpdateDeleteAdding DTOs and validationBookRequestBookResponseUpdating the controllerTesting the APIRun the APICreateReadUpdateDeleteConclusion REST has become the default choice for building web services, and for good reason. It’s …
-
Queryable Encryption With Spring Data MongoDB: How to Query Encrypted Fields
Table of Contents Why Queryable Encryption?A quick look at Spring Data MongoDBUse case: HR system with encrypted fieldsSetting up the projectConfiguring dependencies and propertiesAdding mongodb-cryptApplication.yml configurationAccessing properties in the codeBuilding the application layersThe domain modelThe repositoryThe serviceThe controllerSetting up encryptionConfiguring …
-
New Java Benchmark for Coding LLMs puts GPT-5 at the top
Table of Contents GPT-5 is on top at every performance level and every price point… but it’s no speed demonPerformance by task lengthOther observationsImplications for buildersA Note on Reasoning Introducing the Brokk Power Ranking The Brokk Power Ranking is a …