JSP Exception Handling – Tutorial
JSP Exception Handling – Tutorial To handle exceptions thrown by the JSP page, all we need is an error page and define the error page in JSP using jsp page…
JUnit Setup Maven – Tutorial
JUnit 4 and JUnit 5 in Maven Projects JUnit 4 and JUnit 5 are completely different frameworks. They both serve the same purpose, but the JUnit 5 is a completely…
JUnit HTML Report – Tutorial
JUnit HTML Report – Tutorial When we configure maven-surefire-plugin to run our JUnit tests, it generates surefire-reports directory. This directory contains a txt file and an XML file for every…
Spring 5 Features – Comprehensive Guide
Spring 5 Overview Spring 5 was released in late 2017. Spring 5 brings a massive update to the Spring framework. Spring 4 was released in 2013, so everybody was expecting…
Spring Bean Life Cycle Guide
Spring Bean Life Cycle Overview Today we will look into Spring Bean Life Cycle. Spring Beans are the most important part of any Spring application. Spring ApplicationContext is responsible to…
Spring Bean Scopes Guide
Spring Bean Scopes Spring Bean Scopes allows us to have more granular control of the bean instances creation. Sometimes we want to create bean instance as singleton but in some…
Spring Boot Embedded Database Driver Error Guide
Spring Boot Embedded Database Driver Error If you are reading this, then I think you have got “Cannot determine embedded database driver class for database type NONE” error while running…
Spring Boot SpringBootApplication Guide
Spring Boot SpringBootApplication Annotation Spring Boot SpringBootApplication annotation is used to mark a configuration class that declares one or more @Bean methods and also triggers auto-configuration and component scanning. It’s…
Spring Controller Guide
Spring Controller and RestController Guide Content1 Introduction to Spring Controller2 Spring Controller Example3 Controller Class Configuration4 Spring Context File Configuration5 Spring MVC Controller and REST Controller Implementation6 Spring MVC Controller…