-
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 …
-
Pseudorandom Number Generator – The Secret Behind Santa’s Gift Bag
Table of Contents Random Numbers and Why They MatterRandom Number GeneratorsPseudorandom Number Generators in JavaConclusion On a snowy Christmas Eve, Santa sets off on his journey around the world, gliding through the night sky on his sleigh to deliver presents …
-
Issues with old GlassFish server? Upgrade to Eclipse GlassFish!
Table of Contents Jakarta EE Standardization and FlexibilityCompatibility with new Java versionsEnhanced Security with Modern ProtocolsSupport for HTTP/2, REST and JSON EnhancementsCloud-Native Readiness and ContainerizationConclusion Rely on hardened and production-ready Eclipse GlassFish 7 or newer. Benefit from key feature updates and …
-
Foojay Podcast #64: Interviews at JFall about open source, OpenJDK evolutions, Project Loom, JVM, and more!
Table of Contents VideoPodcast AppsGuestsContent Let’s wrap up this year with more interviews from the JFall conference. In this episode you’ll learn more about Foojay, JVM internals and writing your own programming language, Project Loom and structured concurrency, learning at …
-
Foojay Podcast #63: How do we keep our Java applications up to date and secure?
Table of Contents Last month, I published a Foojay article about the risks in systems that are stuck on old or outdated Java versions and got a lot of feedback from developers. Most of them want to move on but …
-
Run a Java Lambda Function From a Docker image
Table of Contents PrerequisitesDevelopmentMaven ArchetypeLambdaDockerBuilding the projectDeploymentSupporting AWS InfrastructureUpload DockerLambda DeploymentSAM Deployment (Alternative)TestingLocal TestingRemote TestingReferences Have you ever wanted to deploy a Java Serverless function, but package it with a Docker Image? That is possible now with AWS new Container …
-
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
-
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 …
-
How Organizations Became Stuck on Outdated Java Versions
Table of Contents Reasons to Stick to 8Managers Blocking UpgradesCost of UpgradingProduction EnvironmentCompatibilityBreaking Changes in OpenJDKEducationVarious Other Reasons…More Reasons to UpgradeSuccess StoryConclusion My recent article “Why Java 8 is a Ticking Time Bomb Hiding Within Your Organization” triggered quit some …