You need local named classes! – The Two Minutes Tuesday 007

Hey guys!

Local named classes are actually valuable, and this video tells you why.

Thank you, Michael Simons, for sending your solution to the question I asked in episode 003 (https://youtu.be/HDjEcV1X4jI)!

CU!

Video | Posted on by | Tagged , | Leave a comment

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 differently and allows new idioms. Time to look into the language changes of nearly one decade, to get an idea how to write modern code style, and to express your ideas more concise. Also, in future we will have even better means to express ourselfs in terms of syntax instead of terms of API or architecture: Valhalla and Loom will further move Java into a readable and well-performing language.

Stay safe and… Party on!

08: lambda expressions, method references, interface default methods, interface static methods, functional interfaces, effectively final variables, repeating annotations

09: https://cr.openjdk.java.net/~iris/se/9/latestSpec/java-se-9-jls-diffs.pdf

10: https://cr.openjdk.java.net/~iris/se/10/latestSpec/java-se-10-jls-diffs.pdf

11: https://cr.openjdk.java.net/~iris/se/11/latestSpec/java-se-11-jls-draft-diffs.pdf

12: https://cr.openjdk.java.net/~iris/se/12/latestSpec/java-se-12-jls-diffs.pdf

13: https://cr.openjdk.java.net/~iris/se/13/latestSpec/java-se-13-jls-diffs.pdf

14: https://cr.openjdk.java.net/~iris/se/14/latestSpec/java-se-14-jls-diffs.pdf

15: https://cr.openjdk.java.net/~iris/se/15/latestSpec/java-se-15-jls-fr-diffs.pdf

Ondro’s Java Language diff: https://ondro.inginea.eu/index.php/new-features-between-java-8-and-java-14/#language-features

Video | Posted on by | Tagged , , , | Leave a comment

A VERY BAD Decision – The Two Minutes Tuesday 006

Hey guys!

Everybody does mistakes – even the Eclipse Foundation’s Jakarta EE Working Group.

They decided BY ACCIDENT that a contributor loses his committer state once his employer is not paying Working Group Membership Fees. That is nuts! But good news: They fixed their mistake already, so everybody can become a committer FOR FREE!

CU!

Video | Posted on by | Tagged , , ,

A tiny plug-in based CLI framework ontop of jCommander

It is still a very initial beta, but we are rather proud of it: Today we published the source code of our tiny CLI application framework built around the terrific jCommander and ServiceLoader. What our framework provides ontop of jCommander is: It has a launcher which finds plugins on the classpath, so you can write plug-in based externally extensible CLI commands (including sub-commands) in Java. We think it is pretty cool and would be happy if you try it out and provide some feedback:  https://gitlab.com/quipsy/cli-framework 🙂

Posted in Java, Open Source, Programming, Projects | Tagged , , ,

Multi-Release Jars Made Easy

Hey guys! How’s it going?

Multi-Release Jars allow to deliver a fully backwards compatible archive which uses the best implementation for each Java release. In this video I will show you how easy you create it using Maven.

Stay safe and… Party on!

Video | Posted on by | Tagged , , ,

[UNBOXING] Why Canon EOS R6?

Hey guys! How’s it going?

I’m unboxing our brand-new Canon EOS R6!

We recently bought a Canon EOS R6 in addition to our older Canon EOS 5D Mark III, as it has some neat features that we urgently wanted to have!

This video tells you the reasons and demonstrates what possibilities this brand new model gives us.

Stay safe and… Party on!

Video | Posted on by | Tagged , , , , ,

Obfuscate Your Code NOW! – The Two Minutes Tuesday 005

Hey guys!

Assignments within expressions are a great idea if you want to be the only person EVER able to read your code!

CU!

Video | Posted on by | Tagged , , , ,

JAX-RS Done Right! (VIII. – Advanced Parameter Topics)

Hey guys! How’s it going?

In today’s episode of “JAX-RS Done Right!” we will look into more advanced parameter topics that help us to make our code look much cleaner and support separation of concerns. With the help of a parameter converter provider we will strip all parameter handling from our JAX-RS resource and deal solely with a “purified” domain object.

Code example can be found on Gitlab: https://gitlab.com/mkarg/jaxrs-done-right

Stay safe and… Party on!

Video | Posted on by | Tagged , , ,

You lose out Performance! – The Two Minutes Tuesday 004

Hey guys!

You’re still using years-old Java versions? Then you definitively lose out performance!

CU!

Video | Posted on by | Tagged , ,

Had a great shooting today

Instagram-Leo

Image | Posted on by | Tagged