Blog Archives

01: 15 Spring Boot interview Questions & Answers

15 Spring boot interview questions & answers with tutorials for easy setup of new Spring applications. Spring boot helps you get started quickly with its auto-configuration ability, and Spring Cloud Microservices interview questions & answers extends Spring Boot with cloud & micro services architecture ready patterns. Q1. What is the…

Tags:

01: Q01 – Q07 Spring framework core interview Q&As

Spring framework interview questions are very common for the Java programmer jobs. This covers Spring framework beginner interview questions on the Spring core and more advanced Spring framework interviewcquestions at Java microservices interview questions.

Q1. What do you understand by the terms Dependency Inversion Principle (DIP), Dependency Injection (DI) and Inversion of Control (IoC) container?
A1. The differences are very subtle and can be hard to understand. Hence, explained via code samples.

1) Dependency Inversion Principle (DIP): is one of the 5 OO design principles abbreviated as “SOLID”, and “D” …

Tags:

01: Spring DI & IoC interview Q&As

Video: Spring DIP, DI, and IoC. This extends 13 Spring interview questions & answers. Q1. What do you understand by the terms Dependency Inversion Principle (DIP), Dependency Injection (DI) and Inversion of Control (IoC) container? A1. Dependency Inversion Principle (DIP) is one of the 6 OO design principles abbreviated as…



01b: Q08 – Q13 Spring interview Q&As

This extends 13 Spring basics Q1 – Q7 interview questions & answers. Q8. Can you describe the high level Spring architecture? A8. A Spring Bean represents a POJO (Plain Old Java Object) performing useful operation(s). All Spring Beans reside within a Spring IoC Container. The Spring Framework hides most of…

Tags:

04 17 Spring bean life cycles & scopes FAQs

Q1. Does Spring dependency injection happen during compile time or runtime? A1. Runtime during creating an object. Q2. What is the difference between prototype scope and singleton scope? Which one is the default? A2.Singleton means single bean instance per IoC container, and prototype means any number of object instances per…

Tags: , ,

05: 9 Spring Bean scopes interview Q&A

Q1. Does Spring dependency injection happen during compile time or runtime? A1. Runtime during creating an object. Q2. What is the difference between prototype scope and singleton scope? Which one is the default? A2. Singleton means single bean instance per IoC container, and prototype means any number of object instances…

Tags:

11 Spring MVC Interview Q&As

Q1. Can you describe the Spring Web MVC framework architecture? A1. Spring Web MVC framework provides a Model View Controller architecture to develop loosely coupled 1) web applications 2) RESTful web services. Here is the high level diagram. Step 1: All requests are handles by the Spring DispatcherServlet, which applies…



Spring Cloud Microservices interview Q&As

This extends 15 Spring Boot interview questions & answers. Spring Boot & Spring Cloud are used for building Microservices architecture. Q1. What is Spring Cloud? A1. Spring Boot is widely used to develop MicroServices. As many organisations deploy these services on the cloud like AWS, etc you need to take…



300+ Java & Big Data FAQs - Quick Prep

Java & Big Data Tutorials

Top