You are on page 1of 14

JSF Request Processing Life Cycle

Hibernate Architecture
Spring MVC Architecture
What is Spring MVC Framework ? List its key features :

- Spring links objects together instead of the objects linking themselves together.
- Its object linking is defined in XML files, allowing easy changes for different application.
- Works as a plugin in architecture
- Controller handle all requests
- Easy to test applications with
- Less complicated
- Active user community
- Well organised and easy to learn
- Supports JDBC
- Supports JAVA 5
- EL support.
- REST web services support

Advantages : Features :
1. Predefined Templates 1. IoC container
2. Loose Coupling 2. Data Access Framework
3. Easy to test 3. Transaction Management
4. Lightweight 4. Spring Web Services.
5. Fast Development
6. Declarative Support
7. Hibernate and JDBC Support
8. MVC Architecture and JavaBean Support

What is Spring IoC container ?


The Spring container is at the core of the Spring Framework.
The container will create the objects, wire them together, configure them, and manage
their complete life cycle from creation till destruction.
The Spring container uses DI to manage the components that make up an application.

The main tasks performed by IoC container are:


1. to instantiate the application class
2. to configure the object
3. to assemble the dependencies between the objects

There are two types of IoC containers. They are:


1. BeanFactory
2. ApplicationContext
Hello world.java ( in life cycle )

You might also like