36.7. XML Configuration
Seam 2 provides an XML configuration layer that allows:
- selected types of metadata to be overridden for an existing bean (scope, precedence etc.)
- registration of new beans
- initial values of a bean to be specified
This is done either in the global
components.xml file or in fine-grained configuration files.
Java EE 6 does not have anything similar.
36.7.1. Other methods of configuration
Seam 2 configuration can be overridden using property settings. These settings can be read from system properties, servlet context parameters and the
seam.properties file.
There is no full replacement for this in Java EE 6, however DeltaSpike features a flexible configuration mechanism that reads configuration from system properties, environment properties, JNDI values, properties files, or other custom sources.