Table of Contents ExtensionsExtension LibrariesExtending ArraysStructural InterfacesAdding AnnotationsFinal Word The Java API is vast. That’s great, but sometimes a missing method or capability can be frustrating. With Manifold, developers can solve this problem without having to wait for Java to …
-
Spring Cloud Stream: Demystifying Event-Driven Architecture
Table of Contents Why Event-Driven Systems?What Are Event-Driven Systems?Key drivers:Why Now?The Architecture of Event-Driven SystemsKey BenefitsCommunication in MicroservicesPopular Message BrokersCloud-Based Messaging SystemsScaling and Fault Tolerance in Event-Driven SystemsFault Tolerance MechanismsReal-Time and Streaming DataStream Processing LibrariesChallenges of Event-Driven ArchitectureCAP Theorem and …
-
Front End Debugging Part 3: Networking
Table of Contents Network Debugging PowerhouseRe-Issuing and Modifying RequestscURL and PostmanThrottling and Debugging Race ConditionsWhy Throttling Matters:How to UseManaging State with Storage ToolsChallenges of State ManagementAnalyzing Request and Response HeadersDebugging in Incognito Mode: Limitations and Best PracticesConnecting the Front-End to …
-
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 …
-
Sliding Window Log Rate Limiter (Redis & Java)
Table of Contents How It Works1. Define a Time Window2. Track Requests3. Remove Expired Entries4. Rate Limit CheckHow to Implement It with Redis and Java1. Log Each Request (If Allowed)2. Remove Expired Entries3. Count Requests in the Time WindowImplementing it …
-
My first steps with Playwright
Table of Contents The contextGetting my feet wetStoring cookiesAdapting to realityConclusion In my previous company, I developed a batch job that tracked metrics across social media, such as Twitter, LinkedIn, Mastodon, Bluesky, Reddit, etc. Then I realized I could duplicate …
-
Project Loom: Structured Concurrency – Java
Table of Contents What is Structured Concurrency?How Structured Concurrency Works?Benefits of Strutured ConcurrencyConclusionReferences In today’s era of cloud computing, where high-performance infrastructure is readily available, developers face a complex challenge in achieving efficient concurrency. While modern technological advancements have brought …
-
Make the Life of your Developer Client’s Easier with Smart Object Builders
Table of Contents The scenario: The complex objectThe traditional approach: Telescoping constructorsFavor Static Factory Methods over Class ConstructorsMany parameters? Use the Builder patternRestricts the order of method calls in the Builder patternConclusionKey TakeawaysFinal Thoughts We often hear the phrase: “Make …
-
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 …
-
Front End Debugging Part 2: Console.log() to the Max
Table of Contents Understanding Front-End Logging vs. Back-End LoggingLeveraging Console Log LevelsCustomizing Console Output with CSSStack Tracing with console.trace()Assertions for Design-by-ContractPrinting Tables for Clearer Data VisualizationCopying Objects to the ClipboardInspecting with console.dir() and dirxml()Counting Function CallsOrganizing Logs with GroupsChrome-Specific Debugging …
-
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 …