You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ted Husted <hu...@apache.org> on 2002/06/12 15:26:25 UTC
[ANNOUNCE] Artimus .04 example app posted
An updated version of the Artimus example application is now available
at:
http://www.husted.com/struts/resources/artimus.zip
See the README.TXT to get started.
This application demonstrates some of the design strategies discussed on
the list recently
* The business tier is represented by a set of "ProcessBeans",
dispatched using the Command pattern.
* A framework Action is used to dispatch the ProcessBeans. The bean type
is specified using the parameter property.
* The framework Action (ProcessAction) returns a data transfer object
(ResultList), designed for use by the presentation layer.
Other goodies include
* SQL commands are stored in external properties files and can be
changed without recompiling.
* All SQL commands are processed through a pair of easy-to-use static
methods.
* ResultSets are automatically transferred to a collection of beans.
* A connection pool adapter allows use of the Struts connection pool
from the business tier (and I said it couldn't be done :o). Other pools
(Poolman, Resin, et cetera) may be configured through the web.xml.
* Lucene is used side-by-side with JDBC to provide better searching when
appropriate.
* A helper servlet is used to load custom resources so ActionServlet
does not need to be subclassed.
* Appication settings can be configured through the web.xml or a
properties file.
Most of these come out of the updated Scaffold package that is bundled
in this distribution. The versions of Artimus and Scaffold in the
Apache-Struts CVS will be updated shortly.
There will be another posting soon that will feature Tiles and the
Struts-Validator, among other things.
-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/services
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>