Durlabh Sharmablog.durlabhsharma.com·Jul 18, 2024Understanding Virtual Threads in Java 21Wait, don’t we already have Threads in Java? To start with virtual threads, it's imperative to understand the existing Threads API in Java very briefly. Till Java 19, all the JVM Threads had a direct mapping with an underlying native OS thread which ...Discuss·49 readsJava
Pankaj Chaudharipankajchaudhari15.hashnode.dev·Jun 24, 2024Exploring the Latest Features in Java Version 21Hey Java enthusiasts! Java 21 has just landed with fantastic new features that will improve your coding experience. Whether you're new to Java or a seasoned developer, let's explore what Java 21 offers with clear examples to help you understand. 1. S...Discuss·2 likes·37 readsJavaFeatures
Lee CarverProleeca.hashnode.dev·Mar 7, 2024Gradle First or No Good Deed Goes UnpunishedSometimes software development is like an evil game of Simon Says. Two steps forward. Two steps forward. One little bumble as you approach the finish line, and it’s ten somersaults backwards. Details If you are seeing Gradle fail due to an “Unsupp...Discussgradle
Mathias Vandaelemathias-vandaele.dev·Feb 28, 2024Static dispatch vs dynamic dispatch in Rust, how to dramatically improve performances + Java 21 bonusBefore diving deeper, let's understand the key differences between static and dynamic dispatching. When you have a trait (interface for those unfamiliar with rust), you have to put the function signature of what all classes or struct will implement. ...Discuss·44 readsstatic dispatch
Alok Dubeyalokdubey.hashnode.dev·Feb 17, 2024Exploring SequencedCollection in Java 21With the introduction of SequencedCollection in Java 21, interfaces like List and Deque now directly extend SequencedCollection, which in turn extends the Collection interface. This ensures uniformity across implementations for operations such as acc...Discuss·1 like·50 readsJava21
Jeannot MullerProjeannot.hashnode.dev·Oct 12, 2023Running Vaadin 24 with Gradle on Java 21Gradle has not been officially released for Java 21, but it works sufficiently well with Gradle 8.4 or later for compilation and execution. Essentially, this means that Gradle cannot run on Java 21 LTS just yet. I will briefly demonstrate how I manag...Discuss·83 readsVaadinvaadin
Abhinav Sharmaonlyabhinav.hashnode.dev·Sep 10, 2023Java 21 - All about Virtual Threads// Below example shows how to use Virtual Threads in Java 21DiscussJava21
Amit Himaniamithimani.hashnode.dev·Jun 11, 2023Unlocking the Power of Sealed ClassesIntroduction Imagine you have a special kind of fruit called “Magical Fruit,” and you want to control who can create new varieties of this fruit. You don’t want just anyone to create new types of Magical Fruit because it could lead to confusion or mi...DiscussGenericJava