Chapter 3. Configuring Seam components

Chapter 3. Configuring Seam components

3.1. Configuring components via property settings
3.2. Configuring components via components.xml
3.3. Fine-grained configuration files
3.4. Configurable property types
3.5. Using XML Namespaces

The philosophy of minimizing XML-based configuration is extremely strong in Seam. Nevertheless, there are various reasons why we might want to configure a Seam component using XML: to isolate deployment-specific information from the Java code, to enable the creation of re-usable frameworks, to configure Seam's built-in functionality, etc. Seam provides two basic approaches to configuring components: configuration via property settings in a properties file or web.xml, and configuration via components.xml.