Creating Spring boot executable jar To create a completely self-contained executable jar(fat jars) file that we could run in production, Just spring-boot-maven...
Author - Mathan Lal
What is spring boot? Spring boot Begineer guide Spring boot rest API crud example Spring boot web MVC thymeleaf example Spring boot logging slf4j example...
Spring Boot send email using gmail account The Spring Framework provides an easy abstraction for sending email by using the JavaMailSender interface, and...
Spring boot MVC using Thymeleaf You can also use Spring MVC to serve dynamic HTML content. Spring MVC supports a variety of templating technologies, including...
Creating Custom validation using spring The method validation feature supported by Bean Validation 1.1 is automatically enabled as long as a JSR-303...
Custom endpoint implementation If you add a @Bean annotated with @Endpoint, any methods annotated with @ReadOperation, @WriteOperation, or @DeleteOperation are...
ReverseString.java import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /** * @author Candid Java */ public class...
RemoveDuplicateFromString.java import java.io.BufferedReader; import java.io.InputStreamReader; /** * @author Candid Java */ public class...
CountWords.java import java.util.Scanner; /** * @author Candid Java */ public class CountWords { public static void main(String[] args) { Scanner input = new...
Abecedarian.java import java.util.Scanner; /** * @author Candid Java */ public class Abecedarian { public static void main(String[] args) { Scanner scan = new...
NonSpaceChar.java import java.util.Scanner; /** * @author Candid Java */ public class NonSpaceChar { public static void main(String[] args) { Scanner input =...
PasswordGenerator.java import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Random; /** * * @author Candid Java */...
Palindrome.java import java.util.Scanner; /** * A word reads the same forward and backward is a palindrome. * @author Candid Java */ public class Palindrome {...
FloydTriangle.java import java.util.Scanner; /** * @author Candid Java */ class FloydTriangle { public static void main(String[] args) { Scanner sc = new...
FibonacciUsingRecursion.java import java.util.Scanner; /** * @author Candid Java */ public class FibonacciUsingRecursion { static Scanner scan; static int n1 =...
Armstrong.java import java.util.Scanner; /** * An Armstrong number of three digits is an integer, * where the sum of the cubes of its digits is equal to the...
Spring boot WebClient with Spring WebFlux WebClient makes the Spring WebFlux create non-blocking Http request. If you add Spring WebFlux on your classpath...
Configuring RestTemplate in Spring Boot Spring Boot Rest Template is one of the popular way to call remote REST services from your application, If you need to...
pom.xml <project xmlns="" xmlns:xsi="" xsi:schemaLocation=" "> <modelVersion>4.0.0</modelVersion> <groupId>com.candid...
What is Spring boot Actuator Spring Boot Actuator includes a number of additional features to help you monitor and manage your application when you push it to...