Chapter 33. Dependencies

This chapter both lists the compile-time and runtime dependencies for Seam. Where the scope is listed as ear, the library should be included in the /lib directory of your application's ear file. Where the scope is listed as war, the library should be placed in the /WEB-INF/lib directory of your application's war file. If no scope is listed, then the library is either a compile-time dependency only, or is generally included by the container. For brevity, the specific version numbers have been removed from the filenames on this page.

33.1. Core

Table 33.1. Core dependencies

Name

Scope

Provided by JBoss AS 4.2.x

Notes

commons-codec.jar

ear

yes

Required by Seam Security when using Digest authentication.

jboss-seam.jar

ear

no

The core Seam library, always required.

jboss-seam-debug.jar

war

no

Include during development when enabling Seam's debug feature

jboss-seam-ioc.jar

war

no

Required when using Seam with Spring

jboss-seam-pdf.jar

war

no

Required when using Seam's PDF features

jboss-seam-remoting.jar

war

no

Required when using Seam Remoting

jboss-seam-ui.jar

war

no

Required to use the Seam JSF controls

jsf-api.jar

yes

JSF Reference Implementation

jsf-impl.jar

yes

JSF Reference Implementation

jsf-facelets.jar

war

no

Facelets

thirdparty.jar

no

Third party libraries, including:

  • ANTLR

  • Java concurrency library

  • Trove - high performance collections library

  • Javassist - Java Bytecode Manipulation

  • javax.xml packages

  • CGLIB

  • Apache Commons Collections

  • Apache Log4J

  • Apache Xerces

  • DOM4J

  • HSQLDB

  • Quartz

urlrewrite.jar

war

no

URL Rewrite library

jcaptcha-all.jar

ear

no

Required for Captcha support

quartz.jar

ear

yes

Required when you wish to use Quartz with Seam's asynchronous features

33.2. RichFaces

Table 33.2. RichFaces dependencies

Name

Scope

Provided by JBoss AS 4.2.x

Notes

richfaces-api.jar

ear

no

Required to use RichFaces. Provides API classes that you may wish to use from your application e.g. to create a tree

richfaces-impl.jar

war

no

Required to use RichFaces.

richfaces-ui.jar

war

no

Required to use RichFaces. Provides all the UI components.

33.3. Seam Mail

Table 33.3. Seam Mail Dependencies

Name

Scope

Provided by JBoss AS 4.2.x

Notes

activation.jar

ear

no

Required for attachment support

mail.jar

ear

no

Required for outgoing mail support

mail-ra.jar

ear

no

Required for incoming mail support

jboss-seam-mail.jar

war

no

Seam Mail core library

33.4. Seam PDF

Table 33.4. Seam PDF Dependencies

Name

Scope

Provided by JBoss AS 4.2.x

Notes

itext.jar

ear

no

PDF Library

jfreechart.jar

ear

no

Charting library

jcommon.jar

ear

no

Required by JFreeChart

jboss-seam-pdf.jar

ear

no

Seam PDF core library

33.5. JBoss Rules

The JBoss Rules libraries can be found in the drools/lib directory in Seam.

Table 33.5. JBoss Rules Dependencies

Name

Scope

Provided by JBoss AS 4.2.x

Notes

antlr-runtime.jar

ear

no

ANTLR Runtime Library

core.jar

ear

no

Eclipse JDT

drools-compiler.jar

ear

no

drools-core.jar

ear

no

janino.jar

ear

no

mvel.jar

ear

no

33.6. JBPM

Table 33.6. JBPM dependencies

Name

Scope

Provided by JBoss AS 4.2.x

Notes

jbpm.jar

ear

no

33.7. GWT

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

Table 33.7. GWT dependencies

Name

Scope

Provided by JBoss AS 4.2.x

Notes

gwt-servlet.jar

war

no

The GWT Servlet libs

33.8. Spring

These libraries are required if you with to use the Spring Framework with your Seam application.

Table 33.8. Spring Framework dependencies

Name

Scope

Provided by JBoss AS 4.2.x

Notes

spring.jar

ear

no

The Spring Framework library

33.9. Groovy

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

Table 33.9. Groovy dependencies

Name

Scope

Provided by JBoss AS 4.2.x

Notes

groovy-all.jar

ear

no

The Groovy libs