Spring Interview Questions and Answers for Freshers and Experienced

Spring is a lightweight programming language of HTML and the Web. It is designed for creating network-centric applications. It is complimentary to and integrated with Java. JavaScript is very easy to implement because it is integrated with HTML. It is open and cross-platform. Skill of HTML is very much required for entry-level as well as for senior web developer position. We can create dynamic web pages using HTML and Java Script. Here you will find a list of common important questions on Java Script with answers. The following section consists of subjective questions and answers on Java Script.

Q.1 : What is Spring?

Spring is an open source framework that was created to address the complexity of enterprise application development. One of the advantages of the Spring framework is its layered architecture, which allows you to be selective about which of its components you want to use. Spring is light weight and POJO based architecture.

Q.2 : What are the advantages of Spring framework?

The advantages of Spring are as follows:

  1. Open source and no vendor lock-in.
  2. Spring has layered architecture. Use what you need and leave you don't need now. 
  3. Spring Enables POJO Programming. POJO programming enables continuous integration and testability. 
  4. Dependency Injection and Inversion of Control Simplifies JDBC

Q.3 : What are features of Spring?

Below are the list of feature that makes spring very useful. 

  • LightWeight framework - Spring is a LightWeight framework when it comes to size and transparencey. The basis version of spring framework is around 2 MB and the processing overhead is verly less. 
  • Inversion of control (IOC): Loose coupling is achieved in spring using the technique Inversion of Control. The objects give their dependencies instead of creating or looking for dependent objects. 
  • Aspect oriented (AOP): Spring supports Aspect oriented programming and enables cohesive development by separating application business logic from system services. 
  • Container: Spring contains and manages the life cycle and configuration of application objects
  • MVC Framework: Spring comes with MVC web application framework, built on core Spring functionality.
  • Transaction Management: Spring framework provides a generic abstraction layer for transaction management. This allowing the developer to add the pluggable transaction managers, and making it easy to demarcate transactions without dealing with low-level issues. 
  • JDBC Exception Handling: The JDBC abstraction layer of the Spring provide a meaningful exception handling hierarchy, which simplifies the error handling