I am a software engineer and technical writer who loves Java, Spring Boot, DevOps, and the Cloud.
Google’s fully managed Kubernetes services, GKE Autopilot, is a completely managed and serverless “Kubernetes as a service” offering.Ashish Choudhary
In part 1 of this series, we will learn about JDK Flight Recorder and how we can use it to monitor a Spring Boot application. Introduction Application monitoring is one thing that we as developers cannot overlook. It doesn’t matter …Ashish Choudhary
Let’s understand what GitOps is and its benefits and learn how ArgoCD can help with the continuous delivery of Kubernetes-based applications.Ashish Choudhary
On March 16th, 2021, Java 16 was GA. With this new release, tons of new exciting features are added. Check out the highlights here on Foojay to know more about these changes.
In this article, we’ll focus on Java Records, defined in JEP 395. Records were first introduced in JDK 14 as a preview feature, proposed by JEP 359, and with JDK 15 they remained in preview with JEP 384. However, with JDK 16, Records are now no longer in preview: they’re an official part of the Java language now.
I have picked Records because they are definitely the most favored feature added in Java 16, according to this Twitter poll by Java Champion Mala Gupta.Ashish Choudhary
Learn how to deploy a Spring Boot application on OpenShift (Minishift).
Cloud platforms have dramatically changed the way we develop and deploy modern applications. Not so long ago, everything was on-premise infra. However, things have changed dramatically over the years. Now, there are a number of vendors offering solutions for different cloud computing models, i.e., Saas, Paas, and Iaas.
This article will cover Openshift developed by Redhat, which comes under the Paas cloud computing model.Ashish Choudhary
In this article, I will explain how you can create a pod, deploy a Spring Boot application, and manage the single node cluster with Lens IDE on Docker Desktop.
By the end, you will have learned how to enable Kubernetes on Docker Desktop for Mac, created a basic pod, deployed a Spring Boot application, and managed our single-node Kubernetes cluster with the help of Lens IDE.
What are you waiting for? Go containerize and share your applications!Ashish Choudhary
This article covers some internals of image layering created by container image builder Jib and explore what distroless images are and their benefits.
In short, Jib is an excellent tool for Java developers who are interested in containerizing Java applications, but not so interested in creating and maintaining Dockerfile or installing Docker. A Java developer can add a plugin to Maven or Gradle, and that’s it. You don’t have to learn new technology just to containerize your Java application.
Now, let’s talk about some internals.Ashish Choudhary
Developing applications with Kubernetes is not such an easy task and that’s where Skaffold comes into play.
It eases the development and deployment of your applications running on Kubernetes.
It manages the entire workflow and you get instant feedback while developing and deploying your application locally or on a remote Kubernetes cluster.Ashish Choudhary
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.Ashish 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.Ashish Choudhary