80 likes | 192 Views
ICEFaces is an open-source Ajax framework designed for Java developers to build asynchronous web applications. By leveraging JavaServer Faces (JSF), ICEFaces enables seamless retrieval of data from servers, enhancing user experience without disrupting the page's current display. Developers need only the Java 2 Standard Platform, Ant, and Tomcat for setup. The framework allows coding JSP pages that directly reference back-end Java components, simplifying development without the need for JavaScript. This guide provides an overview of ICEFaces, its usage, and code examples.
E N D
ICE faces BY Isaac Parenteau Advanced Web Development
Agenda • What is ICEFaces? • How is it used • Sample Code • Questions
What Is ICEFaces? • Open source Ajax framework • Asynchronous JavaScript and XML • Data is retrieved from servers asynchronously as not to interfere with display and behavior of the current page • Enables Java developers to easily create and deploy server-based Rich Internet Applications in pure Java • No applets or browser plug-ins required • ICEFaces are Java Server Faces applications • Java developers do not need to do any JavaScript related programming.
Prerequisite Software • Java 2 standard platform • Ant • Required to build and link the files • Tomcat • Required to view Java Server Faces (JSP) pages • ICEFaces
How is it used • Developer programs back end java applications • Then the jsp page is coded up referencing the java code’s members by using the ice: keyword in front of the method call • Example: <ice:inputText value = “Hello”/> • Output(XHTML) <input type = “text” value = “Hello”/> • The build.xml is written to link everything together • Ant compiles these files together and creates a .war file • Import the .war file into tomcat to display the contents
Code • Sample Code
References • www.wikipedia.org • www.icefaces.org
Questions • Questions?