Author: Erik Costlow Original post on Foojay: Read More Table of Contents Put a stake through the heart of undead codeAzul Code Inventory can help remove undead codeGradle Devlocity can help automate tasks to improve productivity 10-30% of the custom code in applications is undead code and can just be deleted. Eliminating undead code can enhance the overall performance and maintainability …
Read More »foojay
A Glance into JFR Class and Method Tagging
Author: Johannes Bechberger Original post on Foojay: Read More Table of Contents TagsTaggingConclusion Ever wonder how the JDK Flight Recorder (JFR) keeps track of the classes and methods it has collected for stack traces and more? In this short article, I’ll explore JFR tagging and how it works in the OpenJDK. Tags JFR files consist of self-contained chunks. Every chunk …
Read More »Remote Development Made Simple with DevPod
Author: Nicolas Frankel Original post on Foojay: Read More Table of Contents The problemDevelopment ContainersIntroducing DevPodConclusion I come relatively late to the subject of Remote Development Environments (also known as Cloud Development Environments). The main reason is that I haven’t worked in a development team for over six years. However, I’m now working for Loft Labs, and we have a …
Read More »Building a Declarative API with Spring AOP and SpEL
Author: Mikael Francoeur Original post on Foojay: Read More 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 Spring AOP allow us to easily intercept invocations throughout a code …
Read More »Foojay Podcast #66: Let’s Talk About Java Code! Diving into a few Foojay blog posts…
Author: Frank Delporte Original post on Foojay: Read More 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. Igor Kulakov of JetBrains gives us his insights into the tool he created to find duplicate content in documentation. Rijo Sam explains how you can generate real …
Read More »Spring Data Neo4j: How to update an entity
Author: Jennifer Reif Original post on Foojay: Read More Table of Contents Spring save() methodPatch YearCustom CypherProjections Projection as Movie Movie entity as projection Wrapping 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 of scenarios than outlined in my previous SDN …
Read More »Sliding Window Log Rate Limiter (Redis & Java)
Author: Raphael De Lio Original post on Foojay: Read More Table of Contents Index How It Works 1. Define a Time Window 2. Track Requests 3. Remove Expired Entries 4. Rate Limit Check How to Implement It with Redis and Java 1. Log Each Request (If Allowed) 2. Remove Expired Entries 3. Count Requests in the Time Window Implementing it …
Read More »Join the Celebration of 30 Years of Java
Author: Geertjan Wielenga Original post on Foojay: Read More On Thursday, March 13, Azul is hosting a virtual celebration of 30 years of Java, starting at 09:00 PST / 17:00 GMT / 18:00 CET. In addition to discussion panels, including a Friends of OpenJDK Panel with Marit Van Dijk, Ondro Mihályi, and Simon Martinelli, the highlighted speakers and topics of …
Read More »JavaFX Links of January 2025
Author: Frank Delporte Original post on Foojay: Read More Table of Contents CoreApplicationsGamesComponents, Libraries, ToolsPodcasts, Videos, BooksConferencesTutorialsMiscellaneousJFX Central Here is the first overview of the JavaFX LinksOfTheMonth for 2025. You can find the weekly lists on jfx-central.com. Did we miss anything? Is there anything you want to have included in one of the next overviews? Let us know via links@jfx-central.com. …
Read More »My first steps with Playwright
Author: Nicolas Frankel Original post on Foojay: Read More 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 it for my own “persona”. The problem is that some media …
Read More »