Most JavaEE applications are complex and require a lot of effort to develop.
Spring's BeanFactory enables configuration options from XML by providing dependencies when required, automatically.
Spring is composed of 7 key components. These modules can be chosen freely as needed.
- Spring Core - separates configuration from dependencies
- Prime Components: BeanFactory; Application contexts.
- Bean Factory: Provides support for dependency injection.
- Application Contexts: provides application framework services.
- Spring Context
- A configuration file that provides contextual information to the Spring Framework. JNDI, EJB, email, scheduling and internalization services.
- Spring AOP
- Integrates Aspect Oriented Programming through its configuration management feature, providing transaction management services for objects in any Spring-based application.
- Spring DAO
- Data Access Object abstraction layer offers a meaningful hierarchy for the managing of exceptions and error messages. This greatly reduces the amount of code you need to write, such as opening and closing connections.
- Spring ORM
- Object Relational Map -Object oriented programs and relational databases tend to speak completely different languages. This bridges that gap. This provides support to several ORM solutions, including Hibernate, JDO, JPA, and others.
- Spring Web Module
- Builds on top of the application context module, to provide contexts for Web-based applications. The Web module
- Spring MVC
- A full featured MVC implementation for building Web-applications. Highly configurable via strategy interfaces. It accommodates numerous view technologies including JSP, Velocity, Tile, and so on.
No comments:
Post a Comment