Learn Java for Web Development

(Tina Meador) #1
CHAPTER 5: Building Java Web Applications with Spring Web MVC 205

Data Access/Integration

The data access/integration layer consists of the JDBC, ORM, OXM, JMS, and Transaction modules,
as described in Table 5-3.


Table 5-3. Data Access/Integration Modules


Modules Description

JDBC The JDBC module provides a JDBC abstraction layer that removes the need to use pure JDBC.
ORM The ORM module provides integration for ORM frameworks, such as JPA, JDO, Hibernate,
and iBatis.
OXM The OXM module supports object/XML mapping implementations for JAXB, Castor,
XMLBeans, JiBX, and XStream.
JMS The JMS module provides features for producing and consuming messages.
Transaction The Transaction module supports programmatic and declarative transaction management.

Test

The test category consists of the Test module, as described in Table 5-4.


Table 5-4. Test Module


Modules Description

Test The Test module supports the testing of Spring components with JUnit or TestNG.

Web

The web layer consists of the Web, Web-Servlet, Web-Struts, and Web-Portlet modules, as
described in Table 5-5.


Table 5-5. Web Modules


Modules Description

Web Spring’s Web module provides basic web-oriented integration features and a web-oriented
application context. It also provides several remoting options such as Remote Method
Invocation (RMI), Hessian, Burlap, JAX-WS, and Spring’s own HTTP invoker.
Web-Servlet The Web-Servlet module contains Spring’s Model-View-Controller (MVC) implementation for
web applications.
Web-Struts The Web-Struts module provides support for integrating a classic Struts web tier within a
Spring application. Note that this support is now deprecated as of Spring 3.0.
Web-Portlet The Web-Portlet module provides the MVC implementation to be used in a portlet environment.
Free download pdf