Spring Flashcards

1
Q

What is Spring framework?

A

Spring is development framework for Java programming. It is an open source development framework for Enterprise Java.
The core features of Spring Framework can be used in developing a
Java Enterprise application.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the benefits of Spring framework in software development?

A

Lightweight Framework: Basic Spring framework is very small in
size.
Container: Spring framework provides the basic container that creates and manages the life cycle of application objects like Plain
old Java objects (POJO).
Dependency Injection (DI): Spring provided loose coupling is
application by Dependency Injection. It uses Inversion of Control
technique by which objects specify their dependencies to Spring
container instead of creating new objects themselves.
Aspect Oriented Programming (AOP): Spring framework promotes
and provides support for Aspect oriented programming in Java.
This helps in separating application business logic from system
services that are common across all the business logic. E.g. Logging
can be a cross cutting concern in an Application.
Transaction Management: Spring provides a framework for
transaction management. So a developer does not have to implement
it from scratch. Spring Transaction Management is so powerful that
we can scale it from one local transaction to global transactions in a
cluster.
MVC Framework: For Web applications, Spring provides MVC
framework. This framework is based on MVC design pattern and
has better features compared to other web frameworks.
Exception Handling: Spring also gives support for a common API to
handle exceptions in various technologies like- Hibernate, JDBC
et

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the modules in Core Container of Spring framework?

A

Core module
Bean module
Context module
Spring Expression Language module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly