Spring Interview Questions And Answers

Spring Interview Questions list for experienced

  1. What is IOC (or Dependency Injection)?
  2. What are the different types of IOC (dependency injection) ?
  3. What are the benefits of IOC (Dependency Injection)?
  4. What is Spring ?
  5. What are the advantages of Spring framework?
  6. What are features of Spring ?
  7. How many modules are there in Spring? What are they?
  8. What is the difference between Bean Factory and Application Context ?
  9. What do you mean by Bean wiring ?
  10. What do you mean by Auto Wiring?
  11. What is DelegatingVariableResolver?
  12. How to integrate Java Server Faces (JSF) with Spring?
  13. What is Java Server Faces (JSF) - Spring integration mechanism?
  14. How to integrate your Struts application with Spring?
  15. What are the ways to access Hibernate using Spring ?
  16. What is AOP? and How the AOP used in Spring?
  17. Explain about the Spring DAO support ?
  18. What is SQLExceptionTranslator ?
  19. What are the modules of spring framework?
  20. What is IOC and DI?
  21. What is the role of IOC container in spring?

Spring interview questions and answers on advance and basic Spring with example so this page for both freshers and experienced condidate. Fill the form below we will send the all interview questions on Spring also add your Questions if any you have to ask and for apply in Spring Tutorials and Training course just send a mail on info@pcds.co.in in detail about your self.

Top Spring interview questions and answers for freshers and experienced

What is Spring ?

Answer : The Spring Framework is an open source framework for application development on the Java platform. At its core is rich support for component based architectures, and it currently has over a dozen highly integrated modules

Questions : 1 :: What is IOC (or Dependency Injection)?

The basic concept of the Inversion of Control pattern (also known as dependency injection) is that you do not create your objects but describe how they should be created. You don't directly connect...View answers

Questions : 2 :: What are the different types of IOC (dependency injection) ?

There are three types of dependency injection: ==>Constructor Injection (e.g. Pico container, Spring etc): Dependencies are provided as constructor parameters. ==>Setter Injection (e.g....View answers

Questions : 3 :: What are the benefits of IOC (Dependency Injection)?


Benefits of IOC (Dependency Injection) are as follows: · Minimizes the amount of code in your application. With IOC containers you do not care about how services are created and how you get...View answers

Questions : 4 :: What is Spring ?

Spring is an open source framework created to address the complexity of enterprise application development. One of the chief advantages of the Spring framework is its layered architecture, which...View answers

Questions : 5 :: What are the advantages of Spring framework?

The advantages of Spring are as follows: Spring has layered architecture. Use what you need and leave you don't need now. Spring Enables POJO Programming. There is no behind the scene magic here....View answers

Questions : 6 :: What are features of Spring ?


Lightweight: spring is lightweight when it comes to size and transparency. The basic version of spring framework is around 1MB. And the processing overhead is also very negligible. Inversion of...View answers

Questions : 7 :: How many modules are there in Spring? What are they?

Spring comprises of seven modules. They are.. The core container: The core container provides the essential functionality of the Spring framework. A primary component of the core container is the...View answers

Questions : 8 :: What is the difference between Bean Factory and Application Context ?

On the surface, an application context is same as a bean factory. But application context offers much more.. Application contexts provide a means for resolving text messages, including support for...View answers

Questions : 9 :: What do you mean by Bean wiring ?


The act of creating associations between application components (beans) within the Spring container is reffered to as Bean wiring.

Questions : 10 :: What do you mean by Auto Wiring?

The Spring container is able to autowire relationships between collaborating beans. This means that it is possible to automatically let Spring resolve collaborators (other beans) for your bean by...View answers

Questions : 11 :: What is DelegatingVariableResolver?

Spring provides a custom JavaServer Faces VariableResolver implementation that extends the standard Java Server Faces managed beans mechanism which lets you use JSF and Spring together. This variable...View answers

Questions : 12 :: How to integrate Java Server Faces (JSF) with Spring?

JSF and Spring do share some of the same features, most noticeably in the area of IOC services. By declaring JSF managed-beans in the faces-config.xml configuration file, you allow the FacesServlet...View answers

Questions : 13 :: What is Java Server Faces (JSF) - Spring integration mechanism?

Spring provides a custom JavaServer Faces VariableResolver implementation that extends the standard JavaServer Faces managed beans mechanism. When asked to resolve a variable name, the following...View answers

Questions : 14 :: How to integrate your Struts application with Spring?

To integrate your Struts application with Spring, we have two options: Configure Spring to manage your Actions as beans, using the ContextLoaderPlugin, and set their dependencies in a Spring context...View answers

Questions : 15 :: What are the ways to access Hibernate using Spring ?

There are two approaches to Spring’s Hibernate integration: Inversion of Control with a HibernateTemplate and Callback Extending HibernateDaoSupport and Applying an AOP Interceptor...View answers

Questions : 16 :: What is AOP? and How the AOP used in Spring?

Aspect-oriented programming, or AOP, is a programming technique that allowsprogrammers to modularize crosscutting concerns, or behavior that cuts across the typical divisions of responsibility, such...View answers

Questions : 17 :: Explain about the Spring DAO support ?

The Data Access Object (DAO) support in Spring is aimed at making it easy to work with data access technologies like JDBC, Hibernate or JDO in a consistent way. This allows one to switch between the...View answers

Questions : 18 :: What is SQLExceptionTranslator ?

SQLExceptionTranslator, is an interface to be implemented by classes that can translate between SQLExceptions and Spring's own data-access-strategy-agnostic...View answers

Questions : 19 :: What are the modules of spring framework?

Test Spring Core Container AOP, Aspects and Instrumentation Data...View answers

Questions : 20 :: What is IOC and DI?

Questions : 21 :: What is the role of IOC container in spring?

IOC container is responsible to: create the instance configure the instance, and assemble the...View answers
More Question

Ask your interview questions on Spring

Write Your comment or Questions if you want the answers on Spring from Spring Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---