ic efaces glass fish ted goddard

13
www.icefaces.org

Upload: eduardo-pelegri-llopart

Post on 18-May-2015

1.278 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Ic Efaces Glass Fish Ted Goddard

www.icefaces.org

Page 2: Ic Efaces Glass Fish Ted Goddard

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.

Page 3: Ic Efaces Glass Fish Ted Goddard

www.icefaces.org

Ajax Push Illustrated

Ted

Deryk

Server

Page 4: Ic Efaces Glass Fish Ted Goddard

www.icefaces.org

Ajax Push Illustrated

Ted

Deryk

Server

AjaxRequest

Page 5: Ic Efaces Glass Fish Ted Goddard

www.icefaces.org

Server

Ajax Push Illustrated

Ted

Deryk

JSF Lifecycle +DOM diff

Page 6: Ic Efaces Glass Fish Ted Goddard

www.icefaces.org

Ajax Push Illustrated

AjaxResponse

Deryk

Server

AjaxPush

Ted

Page 7: Ic Efaces Glass Fish Ted Goddard

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

Page 8: Ic Efaces Glass Fish Ted Goddard

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”);

Page 9: Ic Efaces Glass Fish Ted Goddard

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

Page 10: Ic Efaces Glass Fish Ted Goddard

www.icefaces.org

GlassFish Suite + ICEfaces

Standards-based Java EE/JSF Development Model

GlassFish Server Client Browser

Page 11: Ic Efaces Glass Fish Ted Goddard

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

Page 12: Ic Efaces Glass Fish Ted Goddard

www.icefaces.org

Multiple Applications and Browser Connection Limits

ICEfacesApplication

Ajax PushServer

Glassfish

Asyn

chro

nous

Con

nect

ions

ICEfacesApplicationJMS

Grizzly

http:// host / ajaxpush /

Page 13: Ic Efaces Glass Fish Ted Goddard

www.icefaces.org13

The End

Contact Us:Toll Free: +1 877 263 3822 USAInternational: +1 403 663 [email protected]