Project

General

Profile

Actions

Sample-spring-basic » History » Revision 2

« Previous | Revision 2/33 (diff) | Next »
Henning Blohm, 11.09.2012 13:20


A Basic Spring with Z2 Modularity Sample

The sample contained in the repository z2-samples.spring-basic is a clean room example on how to use the Spring integration features described in how_to_spring.

There is no further pre-requisite to running this sample, and you may proceed as described in how_to_run_a_sample.

There are two modules contained in this sample:

com.zfabrik.samples.spring-basic.services

This module has a classpath defined application context and exposes a bean from it as a service to be consumed from another module: The computations bean.

com.zfabrik.samples.spring-basic.frontend

This module has a Web application with an application context defined in WEB-INF/applicationContext. It uses Spring AspectJ based annotation driven configuration to inject dependencies into instances of ControllerServlet.

Updated by Henning Blohm over 11 years ago · 2 revisions