Pi4J provides a friendly object-oriented I/O API and implementation libraries for Java Programmers to access the full I/O capabilities of the Raspberry Pi platform. The project “hides” the complexity to interact with electronic components through different ways of communication (SPI, …
-
Building a Declarative API with Spring AOP and SpEL
Table of Contents A story about legacyEvaluating SpEL expressionsImplementing the audit adviceTesting the audit aspectImprovementsFootnotes In this article, we’ll implement a declarative API to perform tasks belonging to cross-cutting concerns, using auditing as an example. We’ll see how SpEL and …
-
Foojay Podcast #66: Let’s Talk About Java Code! Diving into a few Foojay blog posts…
Table of Contents VideoPodcast (audio only)GuestsLinksContent In this Foojay podcast, we dive into a few articles that were published recently and focus on code. Video Podcast (audio only) Guests Links Content 00:00 Introduction of the topics and guests 00:55 Wim …
-
Spring Data Neo4j: How to update an entity
Table of Contents Spring save() methodPatch YearCustom CypherProjectionsProjection as MovieMovie entity as projectionWrapping Up!Resources After working on a new online Spring Data Neo4j course, I learned a couple more things about updating an entity. The course required a different set …
-
Integrating Google Analytics With Vaadin Flow: A Step-By-Step Guide
Table of Contents PrerequisitesCreating the Analytics ComponentUsing the ComponentStep 1: Add To Main LayoutStep 2: Track Custom EventsHow It WorksBest PracticesCommon Use CasesConclusion Want to track how users interact with your Vaadin Flow application? Learn how to integrate Google Analytics …
-
The Proper Way to Define Configuration Properties in Spring
Upgrading from Spring Boot 2 to 3 forced me to define my configuration properties in a better way.
-
AI-powered Chat Application using IBM watsonx.ai and Spring AI
Table of Contents PricingIBM watsonx.aiCreating IBM watsonx.ai Chat-based ApplicationPrerequisitesConfigurationsChatbotChat ApplicationBasic ChatStreaming Chat Generative Artificial Intelligence (Gen AI) disrupted enterprises with the introduction of GPT-4 foundation model by Open AI in the late 2022 to early 2023 triggering big tech to …
-
More Free Shells for your Java IDE
Table of Contents More Shells for FreeCommand PromptPowershellWindows Subsystem for Linux (WSL)Git BashCygwinSSHBean ShellMore powerApplet Runner ProAnt Commander ProConclusion You may be using one of the terminal applications installed on your operating system or use the included terminal panel of …
-
Speed up your Spring Batch with Native Image and GraalVM
Learn how to speed up your Spring Batch jobs using GraalVM Native Image! 🚀 Discover how to compile batch apps into native executables for faster startup times (0.2s vs 4s), lower memory usage, and better performance. Perfect for CSV-to-PostgreSQL processing! Speed up your Spring Batch with Native Image and GraalVM
-
The Home Assistant Model
Table of Contents IntegrationsDevicesEntitiesOther objectsConclusion Home Assistant (home-assistant.io) is a massive beast. It can be overwhelming for a newcomer; it was for me. In this article, I want to describe the underlying model of Home Assistant, which is a good …
-
Why Home Assistant
Table of Contents My existing infrastructureMy goals Last June, I spoke at Berlin Buzzwords. In all honesty, I rarely attend others’ talks for a variety of reasons: lack of time, lack of energy, no interest in the proposed subjects, etc. …