Table of Contents Introduction Why do you need to prettify the JSON data? Prerequisites Pretty Print JSON Source Code Introduction In this example I am going to show you how to pretty print JSON in Python programming language. The ugly JSON or one liner JSON data or string could be very difficult to read manually…

Posted in Python

Pretty Print JSON In Python

Table of Contents Introduction Wny do you need a single jar or war Prerequisites Generating Jar Generating Thin Jar Generating Fat Jar Generating War Generating Thin War Generating Fat War Source Code Introduction Generally most of the Spring Boot applications generate jar archive for deployment. Very few Spring Boot applications generate war archive for deployment…

Posted in Gradle

Generate Single Jar Or War In Spring Boot App Using Gradle Build Tool

Table of Contents Introduction Prerequisites Project Setup MySQL Table DataSource Config Entity Class Repository Interface Service Class Spring Web Controller Spring Boot Main Class UI (User Interface) Testing Multi Steps Form Source Code Introduction In this example I am going to show you how to build multisteps form using Spring Boot thymeleaf jquery. Multi steps…

Posted in jQuery Spring Boot

Spring Boot Thymeleaf jQuery MultiSteps Form

Table of Contents Introduction Prerequisites Project Setup The Junit 5 Test Class Generating Test Reports Scanning Project with Sonar Source Code Introduction In this Spring Boot based application I am going to show you how to generate Junit 5 test report using SonarQube Jacoco gradle build tool. You need to generate such test reports to…

Posted in Gradle Junit

Junit 5 Test Report Using SonarQube Jacoco Gradle

Table of Contents Introduction Prerequisites Project Setup Setup ngx-lightbox App Module Configuration Update Title App Component App HTML App Styles Testing Angular Photo Gallery Source Code Introduction In this example I am going to show you how to create photo gallery in Angular application. Photo gallery also known as image gallery or media gallery or…

Posted in Angular

How To Create Photo Gallery In Angular

Table of Contents Introduction Prerequisites Project Directory MySQL Table Database Configuration Route Configuration Model Controller Library Testing CodeIgniter 4 REST JWT Source Code Introduction In this example I will show you how to use JWT (JSON Web Token) in CodeIgniter 4 REST API for authenticating/authorizing a user when he/she is trying to access REST API….

Posted in Codeigniter

CodeIgniter 4 REST API JWT Authentication

Table of Contents Introduction Prerequisites Project Setup Detect Hidden Rows/Cells in Excel Java Code Testing Hidden Rows/Cells Source Code Introduction Here in this example I am going to show you how to detect hidden rows in excel file using Apache POI library with the help of Java program. The following data are used in the…

Posted in Excel Java

Detect Hidden Rows In Excel File Using Apache POI

Table of Contents Introduction Prerequisites Project Setup Merge Cells in Excel Testing Merged Cells Source Code Introduction Here I am going to show you how to merge cells in excel sheet using Apache POI in Java programming language. In other words I will merge two or more columns from single row or multiple rows in…

Posted in Excel

Merge Cells In Excel Sheet Using Apache POI Java

Table of Contents Introduction Why do you need to pretty print JSON data? Prerequisites Pretty Print JSON Source Code Introduction Here in this example I am going to show you how to pretty print JSON in PHP program. I will use three different kind of JSON inputs to prettify them in the output. I am…

Posted in PHP

Pretty Print JSON In PHP

Table of Contents Introduction Prerequisites Project Setup MySQL Table Application Properties Entity Class Repository Interface Service Class REST Controller Spring Boot Main Class Testing Hazelcast Caching Java Config for Hazelcast Source Code Introduction In this tutorial I am going to show you an example on caching using hazelcast in Spring Boot REST APIs. The cache…

Posted in Spring Boot Spring REST

Caching Using Hazelcast In Spring Boot REST API

Infrastructure as Code or IaC, as the name indicates, mainly relies on on perceiving infrastructure in the same way as any code which is why it is commonly referred to as programmable infrastructure. It simply provides means to define and manage the IT infrastructure by using configuration files. The IaC concept came into prominence because…

Posted in Cloud

What Is Infrastructure As Code Concept?

Table of Contents Introduction Prerequisites Project Setup Protect PDF using Password Testing Encrypted PDF Files Source Code Introduction This example is going to show you how to make pdf files password protected using Java programming language. Many applications require dynamic generation of PDF documents for reporting purpose, such as, generating statements for customers, readers buying…

Posted in Java

Make PDF Files Password Protected Using Java