TOC PREV NEXT INDEX




Building and Deploying timezone2


If you got timezone1 to run, then your environment has been set up and is running correctly. From the command line, navigate to the <icefaces-install-dir>/tutorial/timezone2 directory and type:

ant install
 

or, to run using MyFaces, type:

ant -f build_myfaces.xml install
 

This should compile the source code, generate a .war file with all the required resources, and deploy it to a running Tomcat server. To interact with the application, point your web browser at the following URL, making adjustments for your environment as required.

http://localhost:8080/timezone2/timezone.iface
 
Note: The extension we are using now is .iface so that the request gets mapped to the ICEfaces PersistentFacesServlet.

This version of TimeZone looks identical to timezone1 and has no functional difference. However, with little effort, we've integrated ICEfaces into our JSF application. The components are now being rendered by the ICEfaces Direct-to-DOM (D2D) RenderKit and we are now ready to enrich this application with some dynamic, asynchronous updates.



Copyright 2005. ICEsoft Technologies, Inc.
http://www.icesoft.com

TOC PREV NEXT INDEX