Getting Started

You are viewing an old version (v. 3) of this page.
The latest version is v. 30, last edited on Jan 20, 2012 (view differences | )
<< View previous version | view page history | view next version >>

Getting Started

This section describes where to get ICEfaces 2.0, how to run the examples, and how to get started using ICEfaces 2.0 to develop your own applications.

Downloading ICEfaces 2.0

The latest official release of all ICEfaces products, including ICEfaces 2.0, can be found on the ICEfaces Downloads page.

Supported Platforms

The current release of ICEfaces 2.0 has been tested to run on the following application servers:

  • Glassfish 3
  • Tomcat 6

ICEfaces Libraries

ICEfaces 2.0 provides the following libraries:

icefaces.jar: This is the ICEfaces 2.0 core framework and is required for all applications.
icefaces-compat-components.jar, icefaces-compat.jar: These libraries contain the ICEfaces 1.8.x version of the component suite and the compatibility layer that is compatible with ICEfaces 2.0. You should include these libraries if you want to use components other than the standard components or if you are porting an existing ICEfaces 1.8.x application to ICEfaces 2.0. See the [Compatibility] section for more information.
icepush.jar: This is the library that provides Ajax Push functionality for ICEfaces 2.0.

Running the Examples

Configuring an ICEfaces Application

Include the necessary libraries
  • icefaces.jar is always required.
  • icefaces-compat-component.jar and icefaces-compat.jar if you are using more than the standard components.
  • icepush.jar you are using Ajax Push.
  • jsf-api.jar and jsf-impl.jar if the platform does not already supply them
Configuration

ICEfaces 2.0 does not require an additional configuration beyond what JSF 2.0 requires. Simply ensure you have the FacesServlet declared appropriately in your web.xml file:

    <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© Copyright 2017 ICEsoft Technologies Canada Corp.