Spring interview questions are very common for the Java programmer jobs.
Q1. What do you understand by the terms Dependency Inversion Principle (DIP),
…
Spring interview questions are very common for the Java programmer jobs.
Q1. What do you understand by the terms Dependency Inversion Principle (DIP),
…
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),
…
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.
…
This extends 13 Spring basics Q1 – Q7 interview questions & answers. Q8. Can you describe the high level Spring architecture? A8. … Read more ›...
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 “
…
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...
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”
…
This tutorial extends Spring MVC form submission tutorial step by step. This tutorial gets rid of web.xml and applicationContext.xml files.
…
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...
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?…