Java 8
-
Core Java
Listing a ZIP file contents with Stream API in Java 8
In Java 8 java.util.zip.ZipFile was equipped with a stream method that allows navigating over a ZIP file entries very easily.…
Read More » -
Core Java
Java 8 Optional: How to Use it
Java 8 comes with a new Optional type, similar to what is available in other languages. This post will go…
Read More » -
Enterprise Java
Spring 4: @DateTimeFormat with Java 8 Date-Time API
@DateTimeFormat annotation that was introduced in Spring 3.0 as a part of Formatter SPI can be used to to parse…
Read More » -
Core Java
Java 8 StampedLocks vs. ReadWriteLocks and Synchronized
Synchronized sections are kind of like visiting your parents-in-law. You want to be there as little as possible. When it…
Read More » -
Core Java
Is it Imperative that you learn Functional Programming with Java 8?
I’ve recently been taking look at Java 8 and have got hold of “Java 8 In Action” published by Manning.…
Read More » -
Core Java
Parsing a file with Stream API in Java 8
Streams are everywhere in Java 8. Just look around and for sure you will find them. It also applies to…
Read More » -
Core Java
Java 8 Friday: Better Exceptions
At Data Geekery, we love Java. And as we’re really into jOOQ’s fluent API and query DSL, we’re absolutely thrilled…
Read More » -
Core Java
Java 8 default methods can break your (users’) code
At first glance, default methods brought a great new feature to the Java Virtual Machine’s instruction set. Finally, library developers…
Read More » -
Core Java
Too Fast, Too Megamorphic: what influences method call performance in Java?
Whats this all about then? Let’s start with a short story. A few weeks back I proposed a change on…
Read More »