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. …
-
Prevent LDAP injection in Java with SpringBoot
In this article, we dive into the basics of LDAP (Lightweight Directory Access Protocol)—a powerful protocol used to manage directory information like user authentication, authorization, and centralized account management in IT systems. 🌐👨💻
We also explore LDAP Injection, a common security vulnerability 🛡️ where attackers manipulate LDAP queries to:
⚠️ Bypass authentication
⚠️ Access unauthorized data
⚠️ Modify directory entriesLearn how these attacks work, the risks they pose, and, most importantly, how to protect your systems with secure coding practices like input sanitization and parameterized queries. ✅💻
Whether you’re an IT professional, developer, or just curious about cybersecurity, this article is your crash course on LDAP and LDAP Injection! 🚀✨
-
Task Schedulers in Java: Modern Alternatives to Quartz Scheduler
Table of Contents Quartz is often considered the standard job scheduling library in Java, which can lead developers to overlook more modern alternatives.Limitations of QuartzQuartz is showing its agePerforms worse than modern alternativesLack of built-in monitoringDistributed scheduling is opt-inSporadic maintenanceAlternatives …
-
strace Revisited: Simple is Beautiful
Table of Contents In the realm of system debugging, particularly on Linux platforms, strace stands out as a powerful and indispensable tool. Its simplicity and efficacy make it the go-to solution for diagnosing and understanding system-level operations, especially when working …
-
Langchain4J Musings
Table of Contents Choosing a LLMQuick introduction to LangChain4J and OllamaGetting our feet wetThe LangChain4j appThe Ollama infrastructureEnhancing with streamingRemembering historyAdding Retrieval-Augmented GenerationConclusion I’m coming relatively late to the LLM party, but I rarely come very early in the hype …