Hi Folks, After a long I got some time to write new article. This article shows how to download or export data to excel file from Angular. The project stack is Angular 7 (PrimeNG) and Spring Boot. Let's start with UI first - In .html file declared a button to download the excel file <div … Continue reading Angular and Spring Boot Excel Export / Download
Author: Anupam Pawar
JDK 8, JDK 11 Features and Lambdas cheat-sheet
Hi Folks ! I was talking to one of my friend and he told that it difficult to remember lambda functions (may be he just started hand-on) and latest changes in java versions. It motivates me to write down this article. I came across following images which shows major feature since JDK 8.0 and on-wards. … Continue reading JDK 8, JDK 11 Features and Lambdas cheat-sheet
Java Releases and Future Projects
Hi there, Now a days Oracle has changed the released strategy for JDK. As of now JDK major version come out every 2 years or so and sometimes it took a longer period also. Now it has been changed and we no longer have a java road map that calls out which feature will come … Continue reading Java Releases and Future Projects
Deploying Application In Kubernetes
Hi Folks, In my last blog, we have seen how to build a docker images and push it to Google container registry. In this blog i'm going to deploy same image on Kubernetes (K8s). Kubernetes (https://kubernetes.io/) is an opensource project for automating deployment, scaling, and management of containerized applications. Create a Cluster To create a … Continue reading Deploying Application In Kubernetes
Docker Introduction: Google Cloud
Hi Folks ! Kubernetes is an container orchestration system by Google. I'm planning to have series of blog posts around this topic covering introduction to Docker, creation and configuring docker images and containers and deploying full fledged application to Kubernetes. Docker Basics: First released in 2013 and it is an open platform for developing, deploying … Continue reading Docker Introduction: Google Cloud
Java : Singleton and Clone
Hi Folks! Does clone create a another singleton object ? We all knows that Singleton means creating only one instance of the Class. But what happens when clone() method from objects class is applied on same class. Does it hamper the whole purpose of singleton , if So, is there any other ways to create … Continue reading Java : Singleton and Clone
Angular 7 – Project Setup with Material Design
Hi Folks, Let's have a quick look at how to setup a Angular 7 project structure with Google Material design. Go to the command prompt or Powershell execute the below command to install angular 7 npm install -g '@angular/cli' 2. after this install following packages npm install --save @angular/material @angular/cdk @angular/animations 3. Create a new … Continue reading Angular 7 – Project Setup with Material Design
Angular 5 / Angular 6 User Idle session tracking
Hi Folks ! One of the feature that I implemented on UI side is to find out the user idle time, if user becomes idle for say 'x' minutes then take an action e.g. to invalidate the user session, force to sign in again to application after certain amount of inactivity time. To achieve this … Continue reading Angular 5 / Angular 6 User Idle session tracking
Setting MySql flags in SQL Google Cloud Database
Hi Guys ! Recently I came across the exception while executing the SQL. The exception is: Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Expression #6 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'saw.SR.RoleId' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by The reason behind this … Continue reading Setting MySql flags in SQL Google Cloud Database
Setup NGINX on Google Compute Engine
Hi Folks. This article showcases how quickly one can setup NGINX server on Google Compute Engine. Prerequisites: A. Google Cloud Account. You can create one here. Steps: 1. Create Compute Engine Instance i.e. Virtual Machine 2. Deploy web server on VM Let's Simplify 1. Create Compute Engine Instance i.e. Virtual Machine: In the GCP Console, … Continue reading Setup NGINX on Google Compute Engine