Setting up Jenkins on Windows 10
Application class in Spring boot is used to bootstrap and launch the Spring application from a Java main method. This class automatically creates the ApplicationContext from the classpath, it scans the configuration classes and launches the application.
The full form of POM is Project Object Model. It is a fundamental unit of work in Maven. pom is a XML file that contains information about the project and configuration details used by Maven to build the project.
We can create a simple spring boot project with spring initialzr or directly in STS. We will use spring initializr for this tutorial to create an simple spring boot project. Required softwares are: Java JDKSTS 4Maven 3.5Postman Let us get started. 🙂 Step 1: Go to https://start.spring.io/ Step 2: Fill the details like Project type … Continue reading Spring Boot-Series Part 1: Setting up the maven based Spring boot application in STS or Eclipse IDE
Mockito is an open source framework that allows you to easily create mocks (test doubles). Mocks are objects that have return values to method executions made during the test and has recorded expectations of these executions. Mocks can also throw an exception if they receive a call they don’t expect. They are checked during verification to ensure … Continue reading Mockito 101 – Unit Testing in Java Apps
How to solve JDK certificate error in sping MVC/Boot inside Eclipse and STS.
Check which version spring MVC libraries are you using. If you re using Spring MVC 3 then prefer install Java 7 with tomcat version 7.0.92.
This post will show you how we can quickly create a node.js web aplication based on express framework and how to deploy that application on AWS using AWS BeanStalk service. Now first you need to know what is AWS BeanStalk? Some information about AWS BeanStalk: AWS BeanStalk is the fastest and simplest way to deploy … Continue reading How to deploy your node.js web application with AWS Beanstalk?
Given an array of integers, return indices of the two numbers such that they add up to a specific target. Each input should have exactly one solution and you may not use the same element twice. Example, arr_nums = [7, 4, 2, 11, 20], target = 6 Here, arr_nums + arr_nums = 6 So, return … Continue reading Data Structures in Java: Two Sum Problem
Since the launch of the first website made by Tim Berners-Lee in 1991, the website development practice have come a long way and every year new web design and development trends are coming. Developers are becoming more agile in learning about these new trends. In 2018, we'll look at the new trends which are hot … Continue reading Web Development Trends in 2018 and for future!