Setting up Jenkins on Windows 10
Tag: Java
Spring Boot-Series Part 3: Deep Dive into Application Class
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.
Spring Boot-Series Part 2: What is pom.xml in a maven based Spring Project?
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.
Spring Boot-Series Part 1: Setting up the maven based Spring boot application in STS or Eclipse IDE
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 101 – Unit Testing in Java Apps
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
certs not found: Java/Spring boot in eclipse and STS exception [SOLVED]
How to solve JDK certificate error in sping MVC/Boot inside Eclipse and STS.
Context Initialization failed – Java – Spring MVC Solved!
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.
How to deploy your node.js web application with AWS Beanstalk?
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?
Data Structures in Java: Two Sum Problem
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[1] + arr_nums[2] = 6 So, return … Continue reading Data Structures in Java: Two Sum Problem
Java-Spring or JavaScript-Node.js?
Spring Framework for Java has been around past 15 years since its initial release. Most of the web developers prefer spring to build enterprise level web apps. But since last 3-4 years the Javascript has become more popular not only in the client-side development(Angular and React) but also towards the server-side development, thanks to nodejs. … Continue reading Java-Spring or JavaScript-Node.js?
Web Development Trends in 2018 and for future!
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!