Classic Layout

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 »

PicoCLI

Artikel uit JAVA magazine 3 2021 Building Command Line Interfaces with Kotlin using picoCLI   As a developer, there is a large chance that you use Command Line Interfaces (CLIs) every day. From Git, to kubectl or Maven, they are everywhere. In this article, we’ll look into use cases where CLIs are a great idea. We’ll also dive into best …

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 »

ClojureScript

Artikel uit JAVA magazine 3 2021 Functioneel programmeren op de front-end met onveranderlijke datastructuren   Velen zullen bekend zijn met TypeScript een superset van JavaScript. Dit is ontwikkeld om de tekortkomingen van JavaScript op te lossen voor grote projecten. Zonder tegelijkertijd de compatibiliteit van JavaScript aan te tasten. Een van de grootste voordelen hiervan is de toevoeging van static typing, …

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 »

CALL FOR PAPERS J-SPRING 2025 IS NOW OPEN!

We are excited to announce that the Call for Papers for J-Spring is officially open! This is the first time we are using this new approach, and we can’t wait to see your amazing proposals. Do you have an inspiring talk to share with the community? Submit your proposal now via https://sessionize.com/jspring25 before the deadline on April 15. We look …

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 »