Martin Smelt

Webinar: Find Undead Code in Your Java Environments

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 »

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 »

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 »

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 »