The previous long-running conversation example gives us a good overview of how to use several features of the Seam framework together in a real-world scenario. Just like the Facelets framework provides a debug page that can be used to look "under the hood" to make sure that our JSF application is working as expected, Seam also provides a debug page that provides insightful information for developers. To enable the Seam debug page, first we must ensure that the JAR file names jboss-seam-debug.jar
is located only in the WEB-INF/lib
folder, and not in the EAR file lib directory. Next, we need to set the debug
attribute to true in our components.xml
file as follows:
META-INF/components.xml
<?xml version="1.0" encoding="UTF-8"?> <components xmlns=http://jboss.com/products/seam/components xmlns:core=http://jboss.com/products/seam/core xmlns:persistence=http://jboss.com/products/seam/persistence xmlns:security=http://jboss.com/products/seam/security xmlns:drools...