Posted in Java

What are WeakReference, SoftReference, StrongReference, PhantomReference in Java

Here we are going to discuss about the StrongReference, PhantomReference, WeakReference and SoftReference. Reference classes are important in the context of how garbage collection works in Java memory model. Garbage collector reclaims memory from objects which are eligible for garbage collection and this eligibility is decided upon what kind if reference is pointing to the object – WeakReference or SoftReference…

Continue Reading... What are WeakReference, SoftReference, StrongReference, PhantomReference in Java
Posted in Wordpress

How to gracefully disable or remove AMP Pages from WordPress Site

Introduction This tutorial will show you how to disable or remove AMP gracefully from your WordPress site or blog. AMP is an acronym and stands for Accelerated Mobile Page. AMP is an initiative to create web pages that load quickly on the mobile devices. It consists of a modified version of HTML called AMP HTML, a JavaScript library called AMP…

Continue Reading... How to gracefully disable or remove AMP Pages from WordPress Site
Posted in Angular CSS HTML MySQL Spring Boot Spring REST

Delete Multiple Table Rows From Server Using Angular

Introduction In this tutorial, I will show you how to delete multiple rows from HTML table as well as from database server at one go. You might have seen tutorial how to display data from server to client side and how to select multiple rows on HTML table. I will put checkbox against each row on the table so that…

Continue Reading... Delete Multiple Table Rows From Server Using Angular
Posted in Angular CSS HTML Spring Boot Spring REST

Angular Check/Uncheck Individual/All Checkbox On HTML Table Rows

Introduction Here I will create an example on how to check/uncheck individual/all checkbox on HTML table rows. You might have seen how to display data from server using Angular and alternate row color using CSS. I will put checkbox against each row on the table so that user will be able to select a particular row. I will also put…

Continue Reading... Angular Check/Uncheck Individual/All Checkbox On HTML Table Rows
Posted in Angular CSS HTML Spring Boot Spring REST

Display Data On HTML Table From Server Using Angular And Alternate Row Color

Introduction In this tutorial I am going to show you how to display data from server using Angular 9 and how to apply two different colors on alternate rows using css (cascading style sheet). I will use Spring Boot REST API to send data on client side and consume using client side technology Angular 9. I will use ngIf, else,…

Continue Reading... Display Data On HTML Table From Server Using Angular And Alternate Row Color
Posted in AJAX jQuery MySQL PHP

Delete Multiple Rows from Table using PHP, MySQL, AJAX, jQuery

Introduction In this tutorial we will see how to delete multiple rows from table using PHP, MySQL, AJAX, jQuery. We are going to delete rows from HTML as well as MySQL database table. We will use IN clause with WHERE condition in MySQL query to delete multiple rows from database table. We will put checkbox against each row on the table so that user…

Continue Reading... Delete Multiple Rows from Table using PHP, MySQL, AJAX, jQuery
Posted in MySQL Spring JPA Spring REST

Spring Data JPA IN Clause Example With WHERE Condition

Introduction In this example you will see how to work with IN clause with WHERE condition in SQL statement in Spring Data JPA. I will use MySQL server for this example. I will fetch selected rows or multiple rows selection as well as I will delete selected rows or multiple rows deletion from the table using IN operator with WHERE…

Continue Reading... Spring Data JPA IN Clause Example With WHERE Condition
Posted in AJAX Flask jQuery MySQL Python

Delete Multiple Rows from Table using Flask, AJAX, jQuery, MySQL

In this tutorial we build an application using Python based Flask framework to fetch all products from MySQL database and display on the HTML table. This example is all about to delete multiple rows from HTML as well as database tables. We will use IN clause with WHERE condition in MySQL query to delete multiple rows from database table. We…

Continue Reading... Delete Multiple Rows from Table using Flask, AJAX, jQuery, MySQL
Posted in Microservices Spring Spring Cloud

How to implement Circuit Breaker Pattern using Hystrix in Spring Cloud Gateway

Introduction We will see how to implement circuit breaker pattern using Hystrix in Spring Cloud Gateway. Hystrix is a library from Netflix that implements the circuit breaker pattern. The Hystrix GatewayFilter allows us to introduce circuit breakers to our gateway routes, protecting our services from cascading failures and allowing us to provide fallback responses in the event of downstream failures….

Continue Reading... How to implement Circuit Breaker Pattern using Hystrix in Spring Cloud Gateway
Posted in Microservices Spring Spring Cloud

Use load balancer name for Microservices instead of host, port for URI in Spring Cloud Gateway

Introduction Here we will see how to use load balancer name or service name for Microservices instead of host, port for URI while building API gateway using Spring Cloud Gateway – the tutorial example which we have created earlier. We will use the same tutorial to use load balancer name instead of URL, such as, http://localhost:9000, http://localhost:9001, etc. for the…

Continue Reading... Use load balancer name for Microservices instead of host, port for URI in Spring Cloud Gateway