Configuration - mareknovotny/seam-migration GitHub Wiki
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.
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’s no full replacement for this in Java EE 6, however, DeltaSpike features a flexible configuration mechanism which reads configuration from system properties, environment properties, JNDI values, properties files, or other custom sources.