|
At the heart of eQ! is the XML configuration
file. This guide and reference will walk through the
configuration file and explain what is required, what
is optional and what each tag/section represents.
The configuration file contains 6 main sections:
- bc-config - Assigns a logical name to a
particular business object class. Currently only
required for Struts applications
- struts-config - Maps business objects to
a given HTML form
- script-manager - Defines the location and
name of the XML script file
- set-manager - Defines sets of business
objects. A snippet was provided in the relationships
section.
- connection-pools - Sets up a connection
pool if internal connection pooling is desired.
Connection pools can be handled outside eQ!
as well, such as a J2EE server
- persistence-manager - Defines datastores
and all of the persisters used in the application
- datastores - The persisters are
matched to a datastore configuration.
If internal connection pooling is used,
then the <pool-name> element must
point to a defined connection pool. If
outside pooling is used, eQ! will
use the JNDI properties provided to look
up a javax.sql.DataSource object.
- persisters - Persisters for individual
objects are defined in this section
- set-persisters - SetPersisters
are defined in this section
|