SeamFramework.orgCommunity Documentation

Chapter 1. Installation

Most features of Seam Faces are installed automatically by including the seam-faces.jar and seam-faces-api.jar in the web application library folder. If you are using Maven as your build tool, you can add the following dependency to your pom.xml file:


<dependency>
    <groupId>org.jboss.seam.faces</groupId>
    <artifactId>seam-faces</artifactId>
    <version>${seam-faces-version}</version>
</dependency>

Tip

Replace ${seam-faces-version} with the most recent or appropriate version of Seam Faces.

In a Servlet 3.0 or Java EE 6 environment, your configuration is now complete; however, if you are still using Servlet 2.5 or Java EE 5, then you need to add the following code to your application's web.xml file:

<web-app>
	<listener>
		<listener-class>org.jboss.seam.faces.beanManager.BeanManagerServletContextListener</listener-class>
	</listener>
</web-app>