ic efaces glass fish ted goddard
TRANSCRIPT
www.icefaces.org
www.icefaces.org
ICEfaces is…
Easy Ajax for Java developers
ICEfaces is an Ajax framework that allows developers to easily create rich Internet applications (RIA) in pure Java.
• Open source
• Standards-based
• Extends JavaServer Faces
• Develop RIAs in pure Java, not JavaScript
• Integrated with GlassFish Suite– Provides NetBeans IDE Plugin
• Endorsed migration for Woodstock users
– Supports Ajax Push applications via Grizzly
– Leverages enterprise capabilities of GlassFish• Security, Scalability: Clustering, Load Balancing and Failover
– Integrates with 3rd Party frameworks and middleware• WebSynergy, WebStack, etc.
www.icefaces.org
Ajax Push Illustrated
Ted
Deryk
Server
www.icefaces.org
Ajax Push Illustrated
Ted
Deryk
Server
AjaxRequest
www.icefaces.org
Server
Ajax Push Illustrated
Ted
Deryk
JSF Lifecycle +DOM diff
www.icefaces.org
Ajax Push Illustrated
AjaxResponse
Deryk
Server
AjaxPush
Ted
www.icefaces.org
Ajax Programming, Ideally.
public class PageBean { String message;
public String getMessage() { return message; }
public void setMessage(String message) { this.message = message; }
}
<f:view xmlns:f=“http://java.sun.com/jsf/core” xmlns:h="http://java.sun.com/jsf/html“ >
<html> <body> <h:form> <h:inputText value=“#{pageBean.message}” /> </h:form> </body> </html>
</f:view>
Presentation Model Declarative User Interface
PageBean.java Page.xhtml
www.icefaces.org
Ajax Push Programming
presentation.setCurrentSlide(7);SessionRenderer.render(“slides”);
Asynchronously and elsewhere in the application ...
To keep track of groups of users:
SessionRenderer.addCurrentSession(“slides”);
www.icefaces.org
• Automatic Ajax updates
• No JavaScript Development
• Easy Ajax Component Suite
– No JavaScript component wiring
– No manually defined update regions
• Ajax transport handled by ICEfaces
• Woodstock conversion: utilities and compatible components
• ---
– Asynchronous application-driven browser updates
– All 50+ components are Ajax Push aware
Ajax Components with ICEfaces
www.icefaces.org
GlassFish Suite + ICEfaces
Standards-based Java EE/JSF Development Model
GlassFish Server Client Browser
www.icefaces.org
Direct-to-DOM (D2D)
Direct-to-DOM isolates Java developers from JavaScript and more…
DOM(Server)
DOM(Client)
Incremental DOM Updates
Ajax Bridge
GlassFish Server Client Browser
www.icefaces.org
Multiple Applications and Browser Connection Limits
ICEfacesApplication
Ajax PushServer
Glassfish
Asyn
chro
nous
Con
nect
ions
ICEfacesApplicationJMS
Grizzly
http:// host / ajaxpush /
www.icefaces.org13
The End
Contact Us:Toll Free: +1 877 263 3822 USAInternational: +1 403 663 [email protected]