Table of Contents Getting Started with Jakarta EE1. How to Start with Servlets2. How to Build a RESTful Web Service3. How to Store and Retrieve Data Using Jakarta Persistence4. How to Secure a RESTful Web ServiceUnderstand the Specs Behind the Scenes5. …
-
Optimizing the Garbage Collector when Migrating Cloud Workloads
Table of Contents Why GC Tuning Matters on ArmOpenJDK VersionChoosing the Right Garbage CollectorHeap Size and GC Pause TimeAdaptive Heap SizingClosing the feedback loopDeveloper Education for the Java CommunityNeed Assistance from Experts? Introduction to Java on Arm You might associate …
-
Clean your Memory: From Finalize to Cleaner
Table of Contents Why is the finalize() method deprecated/removed?How does Cleaner relate to Java Reference classes?Behind the scenes of CleanerCleaner vs. try-with-resourcesAvoid overusing CleanerConclusionFurther Resources Garbage collection in Java takes care of memory management, but it does not clean up …
-
Extending Java APIs – Add Missing Features Without the Hassle
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 …