Tag Archives: java

Dockerization of Java applications using Google Jib Plugin

Dockerization of Java applications using Google Jib Plugin

Prerequisites Basic docker knowledge & commands, can go through this blog Docker-For-Beginners by InnovationM. Introduction In this blog I will guide you step-by-step how to use google jib plugin with docker. What is Jib ? Jib is part of Google Container Tools which builds optimized Docker and OCI images for your java application and push Continue Reading »

Gradle vs. Maven: Which Build Tool to Choose?

Gradle vs. Maven: Which Build Tool to Choose?

Gradle and Maven are both popular build tools used in the software development process, particularly in Java projects. They serve the purpose of automating the process of building, testing, packaging, and managing dependencies for a software project. While they share common goals, they have distinct characteristics and approaches.  Gradle:  Build Script Language:  Language: Gradle build Continue Reading »

Exploring the Power of NestJS

Exploring the Power of NestJS

In the ever-evolving landscape of web application development, choosing the right framework for your backend can make all the difference. One such framework that has been gaining significant attention and popularity is NestJS. With its unique blend of modern JavaScript and TypeScript features, as well as its modular architecture inspired by Angular, NestJS has quickly Continue Reading »

Understanding Tree Shaking in JavaScript: Trimming the Fat from Your Code

If you’ve ever wondered why your JavaScript files are bigger than they need to be, you might be interested in a neat optimization technique called “tree shaking.” No, it doesn’t involve vigorously shaking your computer – it’s a process that helps you get rid of unnecessary code and make your applications faster and more efficient. Continue Reading »

Applet in Java

 Java applets are small programs that run on a web browser to perform a specific task. They were introduced with the release of the first version of Java in 1995 and quickly became popular for their ability to add dynamic content to web pages. Applets are essentially mini-programs that are written in Java and run Continue Reading »

Java Predicate

Java Predicate is a functional interface that is part of Java.util.function package. It was introduced in Java 8. It represents a single argument function that returns a boolean value. A Predicate takes an input and returns either true or false, depending on the condition that is specified in the function. Using predicate to check if Continue Reading »

Memoization in Javascript

Memoization is a powerful technique used in computer science to optimize the performance of functions that are called repeatedly with the same arguments. In JavaScript, memoization is particularly useful for expensive computations that involve complex algorithms or data structures. At its core, memoization involves caching the result of a function based on its input arguments. Continue Reading »

Difference pass by reference or pass by value

Before discussing into JavaScript pass-by-reference or pass-by-value function, it is known about the difference between primitive and non-primitive. Primitive Values: – Data Types string, number, null, undefined, symbols, and Boolean are primitive values. Primitive values are passed by value in JavaScript. Non Primitive Values: – object, array, and function are non-primitive values. All objects and Continue Reading »

Java 11 feature and Comparison

Oracle provides new Java versions every six months. Even before it was launched, the September Java 11 version created quite a stir in the computer science industry by announcing that commercial usage of Java would subsequently be charged. The following articles will highlight major JDK 11 features, advancements, and deprecated functionality. Important Changes and Information: Continue Reading »

Performance tuning in Java 

Performance tuning is an essential aspect of software development, especially in enterprise-level applications where performance plays a significant role in user satisfaction and system stability. Java, being a popular programming language for enterprise-level applications, provides many tools and techniques for performance tuning. In this blog, we will discuss performance tuning in Java and the best Continue Reading »

Generating Java Code from Open API

Introduction:-  Open API (open application programming interface) Open API Generator can generate code based on an Open API yaml specification. We can generate request models, response models, and controllers of API. Following are the steps to create java code from Open API:- Step 1:-Create a yaml file for your API By using this Swagger.io, below Continue Reading »

Closure in Javascript

As per the definition of Javascript Developer, Closure is defined as the combination of a function bundled together (enclosed) with references to its surrounding state (the lexical environment). But what is meant by the terms “enclosed”, “surrounding state“, and lexical environment? No need to worry, we’ll discuss their terms and closure in this article with Continue Reading »

Java 8 Features

 Figure 1:Features of Java 8 JAVA 8 is one of the major feature releases of “JAVA programming language” development. It is one of the revolutionary releases of the development of software platforms. The initial version of Java 8 was released on 18 March 2014. It is responsible for upgrading Java programming,  tools, JVM, and libraries. Continue Reading »

Depth First Search (DFS) – Graph Traversal

Table of contents Definition Conceptual Implementation Java Code & Explanation Applications of DFS   Definition Depth First Search (DFS) is an algorithm for traversing Graph Data Structure. The algorithm starts at some arbitrary node in the graph and explores as far as possible along each branch before backtracking. Stack Data structure is needed to keep Continue Reading »

JavaScript Arrays

An array is a linear data structure and collection of items stored at a contiguous memory location. Pairs of square brackets [ ] represent an array and all elements are comma (,) separated. An Array can hold multiple values(elements) of any type i.e (String, Number, Boolean, objects, and even other Arrays ) under a single Continue Reading »

HOISTING IN JAVASCRIPT (Variables & Function)

A Person with another programming background is definitely confused with hoisting in Javascript. So let’s deep dive into the hoisting in javascript The Javascript engine creates the global execution context when we execute a piece of Javascript code. Global Execution Context has two phases : (i) Creation Phase (ii) Execution Phase Definition: During the creation Continue Reading »

Access Modifiers in Java

Introduction: In Java, we have to deal with classes, methods, variables, etc. Let’s suppose we have a class and we need to use variables or methods in different classes/packages. OR we want to specify that a variable or method will be accessed within a defined area. To manage the accessibility of any variables, methods, or Continue Reading »

Recursion vs Dynamic Programming — Fibonacci

Introduction of Recursion and Dynamic Programming: Recursion is the process in which a function calls itself until the base cases are reached. And during the process, complex situations will be traced recursively and become simpler and simpler. The whole structure of the process is tree-like. Recursion does not store any value until reaching the final Continue Reading »

Annotations in Java

Annotations are used to provide metadata about class or method in java and can be used while compiling the program. Annotations were introduced in Java 1.5 version. Before that, we had an XML file for configuration. We write annotations with the ‘@’ sign, for example, @Override annotation. Here ‘@’ sign tells the compiler about the Continue Reading »