Blog Archives
1 2 3 4

01: Q01 – Q07 Spring core interview Q&As

Spring interview questions are very common for the Java programmer jobs.

Q1. What do you understand by the terms Dependency Inversion Principle (DIP),

Read more ›



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),

Read more ›



01: Spring MVC beginner tutorial step by step

This tutorial extends Getting started with Apache Tomcat application server by deploying a simple JEE Application to introduce Spring MVC.

Spring dependencies via Maven

Step 1: Modify the pom.xml file in the simpleWeb project to bring in the Spring web dependency jars.

Read more ›



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. … Read more ›...



02: Spring MVC form submission tutorial step by step

This tutorial extends Spring MVC beginner tutorial step by step.

Maven project structure
Model class to capture login form details

Step 1: Create a POJO “

Read more ›



02: Understanding Hibernate proxy objects and avoiding potential pitfalls

Q. How does hibernate support lazy loading? A. Hibernate uses a proxy object to support lazy loading. Basically as soon as you reference a child or lookup object via the...



03: Identifying and fixing NonUniqueObjectException in Hibernate

NonUniqueObjectException is thrown when there is an object already associated with the session with the same id (primary key) (i.e. a duplicate). It is important to understand the concept of a “detached”

Read more ›



03: Spring MVC with Java Configs instead of XML configs step by step

This tutorial extends Spring MVC form submission tutorial step by step. This tutorial gets rid of web.xml and applicationContext.xml files.

Read more ›



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? … Read...



04: Identifying and fixing LazyInitializationException in Hibernate

LazyInitializationException is thrown when an object becomes detached, and if you try to access associated (i.e. proxied) object(s) of a detached object.

Q. What is a detached object in Hibernate?

Read more ›



1 2 3 4

300+ Java & Big Data Interview FAQs

16+ Java Key Areas Interview Q&As

800+ Java Interview Q&As

300+ Java & Big Data Tutorials

Top