2 spring overview, Spring projects, Spring framework – HP Integrity NonStop J-Series User Manual

Page 33: Chapter 2: spring overview

Advertising
background image

2 Spring Overview

Spring is an open source framework that can be used to develop enterprise applications. Its features
and functions are packaged in different modules, which facilitate Java application development.
It includes a lightweight container that provides a centralized, automated configuration and wiring
of your application objects. Spring includes the following:

A flexible MVC web application framework, built on core Spring functionality. This framework
is highly configurable using strategy interfaces, and accommodates multiple view technologies,
such as JSF.

Integration with other frameworks, such as Hibernate, with lots of IoC convenience features,
addressing many typical Hibernate integration issues.

A JDBC abstraction layer that supports exception hierarchy, simplifies error handling, and
reduces the effort in generating code.

Support for application testability and scalability by allowing software components to be first
developed and tested in isolation, then scaled up for deployment in any environment.

The NonStop system provides a platform comprising the Java Virtual Machine (JVM) and a servlet
container ― NSJSP. On NonStop systems, Java applications (created using Spring libraries) can
be run/deployed as:

Standalone applications on the JVM

Web applications under NSJSP

NOTE:

Throughout this Spring refers to Spring version 3.0.2.

Spring Projects

The Spring community maintains several projects such as Spring Web Flow, Spring Framework,
Spring Web Services, and Spring Security. Among these projects, only the Spring Framework and
the Spring Web Flow is presently certified for use on the NonStop platform.

For information on how to use the Spring Framework to develop a web application on NonStop
platform, see

“Getting Started with Spring” (page 75)

.

Spring Framework

The Spring framework is a layered development platform for developing Java applications in
different environments. Because the framework provides abstraction layers and modules, you can
use the Spring modules selectively based on your requirement.

The basic Spring framework consists of the following:

Core Container

Data Access/Integration layer (For examples on the Data Access/Integration layer, see

“Integrating Frameworks” (page 346)

.)

Web layer (For examples on the Web layer, see

“Getting Started with Spring” (page 75)

.)

AOP and Instrumentation module (For examples on the AOP and Instrumentation layer, see

“Using Spring Transaction Manager” (page 348)

.)

Test module

For more information about Spring Frameworks, see

http://static.springsource.org/spring/docs/

3.0.x/spring-framework-reference/html

.

Spring Projects

33

Advertising
This manual is related to the following products: