Entries from 2018-07-01 to 1 month

Basic java interview questions and answers

Can I store a double value in a long variable without casting? No, you cannot store a double value into a long variable without casting because the range of double is more that long and you we need to type cast. It's not dificult to answer…

Spring boot mongodb configuration

I’ll use these technologies and tools: Spring Tool Suite (STS) 3.8.4.RELEASE Java 8 Spring Boot 1.5.3.RELEASE Maven 3.3.9 MongoDB 3.3.4 1. The Project Structure The final folder structure of our project. 2. Create a new Spring Boot project…

SPRING BOOT HELLO WORLD EXAMPLE

A Simple Spring boot webapplication example, using Embedded Tomcat + JSP, and package as an executable JAR file. Technologies used : Spring Boot 1.5.6 RELEASE Spring 4.3.10 Embeded Tomcat 8.5.16 Maven 3.5.0 Java8 Here is the directory stru…

Spring boot Using log4j logging

Spring boot uses an opinionated approach for a lot of things, with logging being one. It uses Logback by default. While Logback is useful, some of you may want to use a different log library. What do you have to do to use log4j as the logg…

Simple Web application with Spring Boot

Introduction The Pivotal team has done a great job of coming with Spring Boot microservice application stack. In the next few blogs, I will demonstrate the capabilities of Spring Boot to write a Medium Complex application (Not a Todo appli…

Reactjs and Angularjs and vue comparision

React/Redux has more job opportunities over any other single framework mentioned. It also follows the direction JavaScript itself is heading, so feels most future-proof. One of the biggest bullet points on my ‘is this a good framework’ lis…