Jones alapat

Spring Retry

Retry is an important tool in our arsenal to make robust and efficient APIs, it helps us to automatically reinvoke a failed operation. This is because sometimes due to network glitches or DB errors, the call fails for the first time however succeeds next time. We can do retry using annotations, and RetryTemplate. Spring Retry …

Spring Retry Read More »

Design Patterns

A design pattern is a general reusable solution to the commonly occurring problems within a given context. Programmers often encounter the same problem repeatedly. Instead of everyone solving in their own way, the industry has come up with a best-practice solution that has been documented and proven to work. Design patterns are divided into following …

Design Patterns Read More »

Internal workings of Java Virtual Machine

Introduction The Java virtual machine is an abstract (virtual) computer defined by JVM specification. JVM’s primary function is to execute the byte code and reference implementation is given out by the HotSpot JVM. HotSpot JVM is available in 32-bit and 64-bit variants. The JVM is primarily written in CPP and is open-sourced. JVM architecture can …

Internal workings of Java Virtual Machine Read More »

Java 101

Classes A Java class file is a file containing Java bytecode that can be executed on the Java Virtual Machine. A class could be public, default, strictftp, final, and abstract modifiers. Public Class from all packages access to public class. Default Class should be same package, or else it will not be not visible. Strictftp …

Java 101 Read More »

Sorting And Searching

Introduction Understanding the common sorting and searching algorithms is incredibly valuable, as many sortings and searching problems are tweaks of the well-known algorithms. Two factors influence greatly, ie space and time complexity. Common Sorting Algorithms Selection Sort This is one of the easy algorithms, find the smallest element using a linear scan and move it …

Sorting And Searching Read More »

Docker Commands Cheatsheet

CheatSheet All Docker Commands in one place Images docker image ls docker image pull hello-world docker version docker image inspect imagename docker image history imagename docker image run hello-world docker image build -t imageName . docker image history imageName docker image rm imageName docker image tag imageName jonesjalapatgithub/imageName docker login docker image push jonesjalapatgithub/imageName docker …

Docker Commands Cheatsheet Read More »

error: Content is protected !!
Scroll to Top