Welcome to another release review. As one of my colleague pointed out, keeping up with releases takes time that we don't have (since we are still on 11) but nevertheless we need to invest the time to make the transition easier to the next LTS which is gonna be Java 17. As you already noticed… Continue reading Java 15
Category: Java
Java 14 – The good, the bad and the ugly
Another non LTS version which was released on 17th of march 2020. Let's go through some of the features. https://assets.sewickleyherald.com/2019/11/The-Good-The-Bad-The-Ugly-Slider-cropped.jpg The Good You see, in this world there's two kinds of people, my friend: Those with loaded guns and those who dig. You dig. Records Well this was a long awaited feature. It's still a… Continue reading Java 14 – The good, the bad and the ugly
Java 13
This will cover some of the features that were introduced in Java 13 and were released officially on 13th of September 2019. ZGC It was introduced in Java 11. In this release it was enhanced to return memory to the system when the space is unused. This is a critical improvement because applications with a… Continue reading Java 13
Java 12 Features (GC Saga continues)
It was released on March 19, 2019. It's a non LTS release. Here's an overview of the most relevant updates for developers. Switch Expressions It has passed a long time since the last update to switch statement, more specifically the switch on strings in JDK 7. Five versions later we have a new update. switch… Continue reading Java 12 Features (GC Saga continues)
Java 11 features
It was release on September 25, 2018. This version has LTS so it is recommended to upgrade to this one in production. Unfortunately this is the first version that we need to pay for(oracle version). The openjdk is still open-source so this will be the choice for most of the developers. Oracle version is free… Continue reading Java 11 features
Java 10 features
It was released on March 20, 2018. It is a short-term release without LTS support. Let's get into details. Local-Variable Type Inference Ahh...good'ol javascript. Well this is more like a sugar syntax. Instead of declaring inside a method a local variable with private void method(){ List<String> strings = new ArrayList<>(); // do other stuff }… Continue reading Java 10 features
Java 9 features
Java 8 release represented a new stepping stone in the history of java. It marks the transition to functional style programming. Most of us are working with 8, but let's see what it was introduced in 9. It is a minor release, but we must understand where java is going because of the 6 month… Continue reading Java 9 features
Profiling with Spring
Every application should have functional and non-functional tests. Non-functional include load and performance. So what happens when we do not meet the performance requirements? Obviously we try to figure out what is going on. This is called profiling. In this post I will write about how to profile an application with spring. Profiling an application… Continue reading Profiling with Spring
How many exceptions?
We all know what exceptions are. We have checked and unchecked exceptions in java. Checked exceptions are for recovering. Like reading a file from disk. public class ReadFile { private AtomicInteger retryCount = new AtomicInteger(0); private static final int maxRetries = 3; private static Logger log = getLogger(ReadFile.class.getName()); private String readFromFile(String fileLocation) { StringBuilder resultStringBuilder… Continue reading How many exceptions?
Project Lombok
I saw this by mistake(surely this is not new for some of you). I was looking in some repo, I think it was spring-data-rest or something similar and I was like: What the hell is this? You don't need to write getters and setters for your class members! Suddenly it's enough to have @Getter @Setter… Continue reading Project Lombok