The following ICE Component sample applications are included in the ICEfaces distribution bundle:
The ICEfaces Showcase example provides a comprehensive set of ICE component demonstrations.
This sample is located in:
[icefaces.dir]/icefaces/samples/showcase/showcase/
From that directory, you can use ant to build the ICEfaces Showcase. The strategy is to build a .war file for the platform you are running on. All of the content-related files are located in:
[icefaces.dir]/icefaces/samples/showcase/showcase/src
So to build an showcase.war file for Tomcat 6.0 or 7.0 (non-JEE6 container), you would run the following ant command from the showcase directory:
showcase > ant clean servlet-profile
Alternatively, to build an showcase.war file for a JEE6 container, which includes the JSF libraries, you would run the following ant command from the showcase directory:
showcase > ant clean web-profile
The resulting showcase.war is located in:
[icefaces.dir]/icefaces/samples/dist/showcase.war
This .war file can be deployed to the Tomcat "webapps" directory.
The Auction Monitor simulates the tracking of live auctions and illustrates the following dynamic web application features; ticking clocks, real-time bid updates, dynamically rendered buttons, the ability to hide and show table rows on demand, and an integrated chat section. It is located in:
[icefaces.dir]/icefaces/samples/compat/auctionMonitor
From that directory, you can use ant to build the Auction Monitor. The strategy is to build a .war file for the platform you are running on. All of the content-related files are located in:
[icefaces.dir]/icefaces/samples/compat/auctionMonitor/src
So to build an auctionMonitor.war file for Tomcat 6.0 or 7.0 (non-JEE6 container), you would run the following ant command from the auctionMonitor directory:
auctionMonitor > ant clean servlet-profile
Alternatively, to build an auctionMonitor.war file for a JEE6 container, which includes the JSF libraries, you would run the following ant command from the auctionMonitor directory:
auctionMonitor > ant clean web-profile
The resulting auctionMonitor.war is located in:
[icefaces.dir]/icefaces/samples/dist/auctionMonitor.war
This .war file can be deployed to the Tomcat "webapps" directory.