Library dependencies and versions

To use Apache MyFaces in your own webapplication you need to add several third party libraries. This page gives an overview over the necessary libraries and their version for the current stable release (which is 1.1.0 at the time of this writing).

See also Getting started with Apache MyFaces and Using_MyFaces_in_a_Project_built_with_Maven

Required third party libraries

MyFaces version 1.1.0:

Library

Version

Notes

Jakarta Commons BeanUtils

1.6.1

Jakarta Commons Codec

1.2

Jakarta Commons Collections

3.1

Jakarta Commons Digester

1.5

Jakarta Commons EL

1.0

Jakarta Commons FileUpload

1.0

Required only if you are uploading files

Jakarta Commons Logging

1.0.4

Jakarta Commons Validator

1.2.0-dev

Which snapshot is used for testing???

Jakarta ORO

???

You can use the one from the Myfaces 1.0.9 binary distribution in the lib-directory

log4J

1.2.12

Required only if you have commons-logging configured to use log4j. Version 1.2.8 might do as well

myfaces-impl.jar

1.1.0

Alternatively use myfaces-all.jar

myfaces-api.jar

1.1.0

Alternatively use myfaces-all.jar

tomahawk.jar

1.1.0

If you want to use MyFaces extensions. Alternatively use myfaces-all.jar

Apache Struts struts.jar

1.2.7

Required only if you are doing tiles work, will change to the tile.jar file once tiles is pulled from struts.

portlet-api.jar

implementation specific

Only needed for compile time. Portal implementation provides this API at run time.

Installation

Alternatively you can add the libraries to the classpath of your Servlet container (check the documentation of your container).

Typically the first approach is recommended, as it allows you (a) to have different versions of libraries in different webapplication within the same container, and (b) to distribute your application as a whole without others having to install the libraies into their Servlet container.

Library_dependencies (last edited 2009-09-20 23:00:38 by localhost)