35.2. Project Dependencies

This section both lists the compile-time and runtime dependencies for Seam. Where the type is listed as ear, the library should be included in the /lib directory of your application's ear file. Where the type is listed as war, the library should be placed in the /WEB-INF/lib directory of your application's war file. The scope of the dependency is either all, runtime or provided (by Red Hat JBoss Enterprise Application Platform 6).
Up to date version information and complete dependency information is not included in the documentation, but you can generate it from the Maven pom.xml files from Seam sources. You can generate this file for instance into /tmp/seam-dependencies.txt file by running:
mvn dependency:tree -DappendOutput=true -DoutputFile=/tmp/seam-dependencies.txt

35.2.1. Core

Table 35.1. 

Name
Scope
Type
Notes
jboss-seam.jar
all
ear
The core Seam library, always required.
jboss-seam-debug.jar
runtime
war
Include during development when enabling Seam's debug feature
jboss-seam-ioc.jar
runtime
war
Required when using Seam with Spring
jboss-seam-pdf.jar
runtime
war
Required when using Seam's PDF features
jboss-seam-excel.jar
runtime
war
Required when using Seam's Microsoft® Excel® features
jboss-seam-remoting.jar
runtime
war
Required when using Seam Remoting
jboss-seam-ui.jar
runtime
war
Required to use the Seam JSF controls
jsf-api.jar
provided
JSF API
jsf-impl.jar
provided
JSF Reference Implementation
urlrewritefilter.jar
runtime
war
URL Rewrite library
quartz.jar
runtime
ear
Required when you wish to use Quartz with Seam's asynchronous features

35.2.2. RichFaces

Table 35.2. RichFaces dependencies

Name
Scope
Type
Notes
richfaces-a4j.jar
runtime
war
a4j componenent library
richfaces-core.jar
all
war
RichFaces core library, always required
richfaces-rich.jar
runtime
war
rich component library

35.2.3. Seam PDF

Table 35.3. Seam PDF Dependencies

Name
Scope
Type
Notes
itext.jar
runtime
war
PDF Library
jfreechart.jar
runtime
war
Charting library
jcommon.jar
runtime
war
Required by JFreeChart
jboss-seam-pdf.jar
runtime
war
Seam PDF core library

35.2.4. Seam Microsoft®Excel®

Table 35.4. Seam Microsoft®Excel® Dependencies

Name
Scope
Type
Notes
jxl.jar
runtime
war
JExcelAPI library
jboss-seam-excel.jar
runtime
war
Seam Microsoft® Excel® core library

35.2.5. Drools

The Drools libraries can be found in the lib directory in Seam.

Table 35.5. Drools Dependencies

Name
Scope
Type
Notes
antlr-runtime.jar
runtime
ear
ANTLR Runtime Library
ecj.jar
runtime
ear
Eclipse Compiler for Java
knowledge-api.jar
runtime
ear
drools-compiler.jar
runtime
ear
Drools compiler
drools-core.jar
runtime
ear
drools-decisiontables.jar
runtime
ear
drools-templates.jar
runtime
ear
mvel2.jar
runtime
ear

35.2.6. GWT

These libraries are required if you with to use the Google Web Toolkit (GWT) with your Seam application.

Table 35.6. GWT dependencies

Name
Scope
Type
Notes
gwt-servlet.jar
runtime
war
The GWT Servlet libs
gwt-user.jar
provided
war
The GWT User libs

35.2.7. Groovy

These libraries are required if you with to use Groovy with your Seam application.

Table 35.7. Groovy dependencies

Name
Scope
Type
Notes
groovy-all.jar
runtime
ear
The Groovy libs