Java, JavaEE, Spring, Hibernate/JPA, MyBatis, REST, Ajax Tutorials, How-To's and Best Practices
Monday, May 18, 2009
Spring Interview Questions
1. What is Spring Framework?
A. Spring is a light weight IOC/DI container which provides enterprise services using AOP. Unlike other J2EE frameworks Struts, JSF, Hibernate etc whose features are limited to a particular layer, Spring is an Application Framework providing services in all the Web, Service, DAO layers.
Spring framework provides services for all the layers:
a. Spring framework includes a web application framework (SpringMVC) for developing web applications following MVC design pattern.
b. Spring framework come up with a DAO module which is a wrapper for JDBC and drastically minimizes the number of lines of code for implementing database operations. And also Spring has support for integrating almost all the popular ORM frameworks like Hibernate, IBatis, JPA.
Spring also provides support for Declarative and Programmatic Transaction Management.
c. Spring provides various services in the Service layer using AOP like Transaction Management, Logging, Exception Handling etc.
Labels:
Interview Questions,
Spring
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment