I am a software engineer and technical writer who loves Java, Spring Boot, DevOps, and the Cloud.
Java is changing rapidly and with the new release cycle of 6 months, we are continually getting new features to try out with every release. In Java 10, a new feature Local-Variable Type Inference was added. It is aimed at reducing boilerplate code and improving readability when declaring local variables with initializers.
Since this feature is related to readability, some folks will like it and some will hate it. If during a code review someone says that he/she is not able to know the declared type of var, it means that it is not very clear to others so that maybe switching back to the “old fashioned” way where we declare types explicitly is not that bad after all. In some situations declared types are quite obvious, so that you can skip the explicitly declared type and make use of the var instead.A. Choudhary
In this post, we will learn about how to create Docker or OCI compliant images, without installing any Docker client and without using a Dockerfile, for a Spring Boot application.
Other benefits of using Jib for your Java applications include that it’s super easy to integrate with Java applications, producing faster builds, reproducible builds, community support, etc.A. Choudhary