Tag Archives: Tutorial

Compiling my own JDK! | Modern Java | Head Crashing Informatics 34

I am sick of several #performance flaws of the #JRE, so I downloaded the source code of #OpenJDK 17 and compiled my own custom #Java runtime! If you also want to do that, just follow the instructions in this video … Continue reading

Posted in Java, Open Source, Programming | Tagged , , , , , , , , , | Comments Off on Compiling my own JDK! | Modern Java | Head Crashing Informatics 34

TYPE-SAFE Generic Java Annotation Parameters | Modern Java | Head Crashing Informatics 33

#Java’s Annotation Parameters are a great way to configure strategies in a declarative way, but how to do that in a TYPE-SAFE manner using #Generics? I nearly drove nuts to find a good example for you on the web, and … Continue reading

Posted in Java, Open Source, Programming | Tagged , , , , , , , , | Comments Off on TYPE-SAFE Generic Java Annotation Parameters | Modern Java | Head Crashing Informatics 33

Java File I/O Performance Shootout | Modern Java | Head Crashing Informatics 32

Java’s way to access files changed a lot in past generations, and as files play an essential role in many #Java applications, it is time to look into the #Performance of the different API’s available for #FileIO: How does good … Continue reading

Posted in Java, Open Source, Programming | Tagged , , , , , , , , , | Comments Off on Java File I/O Performance Shootout | Modern Java | Head Crashing Informatics 32

Migrating a real-world JavaFX App from JDK 8 to JDK 16 | Modern Java | Head Crashing Informatics 31

Hey guys! How’s it going? I’m migrating a JavaFX chat client from #Java8 to #Java16 before your own eyes to demonstrate that problems are no reason to give up! Join me while I am migrating a real-world application, a chat … Continue reading

Posted in Java, Programming, Standards | Tagged , , , , , , , , , | Comments Off on Migrating a real-world JavaFX App from JDK 8 to JDK 16 | Modern Java | Head Crashing Informatics 31

Foreign Linker API: Java native access without C | Modern Java | JDK16 | Head Crashing Informatics 27

Hey guys! How’s it going? The #ForeignLinkerAPI of #JDK16 allows to invoke native code, typically DLLs or shared objects written in the C language, without neither a #JNI wrapper written in C, nor a third party library like #JNA. Due … Continue reading

Posted in Jakarta EE, Java, Programming, Standards | Tagged , , , , , , , , , , , , | Comments Off on Foreign Linker API: Java native access without C | Modern Java | JDK16 | Head Crashing Informatics 27

Spare keystrokes with the record keyword | Modern Java | JDK 16 | Head Crashing Informatics 26

Hey guys! How’s it going? The record keyword is ready for production use in JDK 16, which officially will be here mid March. Spare lots of keystrokes and get rid of code generators and IDE magic with this new keyword! … Continue reading

Posted in Jakarta EE, Java, Programming, Standards | Tagged , , , , , , , | Comments Off on Spare keystrokes with the record keyword | Modern Java | JDK 16 | Head Crashing Informatics 26

Java 15 vs Java 8 | Modern Java Features | Head Crashing Informatics 25

Hey guys! How’s it going? Backporting an application from Java 15 to Java 8 to convince you how much better coding in modern Java is! Java 15’s modern language features and API enhancements makes coding so much better! In this … Continue reading

Posted in Jakarta EE, Java, Programming, Standards | Tagged , , , , , , , , | Comments Off on Java 15 vs Java 8 | Modern Java Features | Head Crashing Informatics 25

JAX-RS Done Right! (X. – Custom Entity Providers)

Hey guys! How’s it going? Let’s write custom entity providers to process any document formats we like with JAX-RS – without sacrifying SoC! Today’s episode of “JAX-RS Done Right!” keeps Separation of Concerns while adding support for ANY document type … Continue reading

Posted in Jakarta EE, Java, Programming, Standards | Tagged , , , , , , , , , , , | Comments Off on JAX-RS Done Right! (X. – Custom Entity Providers)

JAX-RS Done Right! (XI. – Migration to JAX-RS 3.0)

Hey guys! How’s it going? In today’s episode of “JAX-RS Done Right!” I will demonstrate how to migrate an existing JAX-RS application to the latest release of the Jakarta REST API aka JAX-RS 3.0. Code example can be found on … Continue reading

Posted in Jakarta EE, Java, Programming, Standards | Tagged , , , , , , , | Comments Off on JAX-RS Done Right! (XI. – Migration to JAX-RS 3.0)

JAX-RS Done Right! (IX. – Default Entity Providers)

Hey guys! How’s it going? Separating domain logic of the http body handling from technical aspects is easy in JAX-RS thanks to Entity Providers. In today’s episode of “JAX-RS Done Right!” we introduce Separation of Concerns to only have pure … Continue reading

Posted in Jakarta EE, Java, Programming, Standards | Tagged , , , , , , , , , , , | Comments Off on JAX-RS Done Right! (IX. – Default Entity Providers)