Tag Archives: Head Crashing

Java Performance Shootout: Foreign Linker vs JNI | Modern Java | JDK16 | Head Crashing Informatics 28

Hey guys! How’s it going? The #ForeignLinkerAPI, which is in incubation in #JDK16, was announced to be as fast as, OR EVEN FASTER AS, #JNI (#JavaNativeInterface, the sole OFFICIAL way to call native code from Java). But how looks the … Continue reading

Posted in Jakarta EE, Java, Programming, Standards | Tagged , , , , , , , , , , , , | Leave a comment

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)

Java API Enhancements

Hey guys! How’s it going? The Java SE API is enhanced in detail with each new generation of the JRE, besides the major JEPs lineup. 09: https://cr.openjdk.java.net/~iris/se/10/latestSpec/apidiffs/overview-summary.html 10: https://cr.openjdk.java.net/~iris/se/10/latestSpec/apidiffs/overview-summary.html 11: https://cr.openjdk.java.net/~iris/se/11/latestSpec/apidiffs/overview-summary.html 12: https://cr.openjdk.java.net/~iris/se/12/latestSpec/apidiffs/overview-summary.html 13: https://cr.openjdk.java.net/~iris/se/13/latestSpec/apidiffs/overview-summary.html 14: https://cr.openjdk.java.net/~iris/se/14/latestSpec/apidiffs/overview-summary.html 15: https://cr.openjdk.java.net/~iris/se/15/latestSpec/apidiffs/overview-summary.html The … Continue reading

Posted in Java, Programming | Tagged , , , | Comments Off on Java API Enhancements

Java Startup Performance

Hey guys! How’s it going? One of the major pain points even with the latest Java generation is its terribly slow startup time. There are things that you can do to improve it, so here is how to do them … Continue reading

Posted in Jakarta EE, Java, Programming, Standards | Tagged , , , | Comments Off on Java Startup Performance

Java Language Evolution

Hey guys! How’s it going? This is not your dad’s Java anymore! The Java programming language has changed massively since Java 7, after introduction of the keyword var, records, switch expressions, and many more syntax changes. Modern Java feels quite … Continue reading

Posted in Java, Programming, Standards | Tagged , , , | Comments Off on Java Language Evolution