SlideShare a Scribd company logo
Exadel




Hands-on with RichFaces

JavaOne 2010
September 20th, 2010

Max Katz
Exadel
Exadel




Who is this guy?
● Senior Systems     Engineer, RIA strategist at
 Exadel
   ◦ http://mkblog.exadel.com
   ◦ http://twitter.com/maxkatz
● JSF/RichFaces consulting, training
● Leads   a number of projects:
  ◦   Exadel Tiggr
  ◦   Exadel Flamingo
  ◦   Exadel Fiji
  ◦   Exadel JavaFX Plug-in for Eclipse
Exadel




    Author of         Co-author of RichFaces
Practical RichFaces       DZone Refcard
     (Apress)
Exadel




Exadel
● Products        and services company
● Founded in 1998, headquarters in
  Concord, CA
● 350+        employees
           City         Country        Year
 Concord             California, USA   1998
 Moscow                  Russia        1999
 Minsk                  Belarus        2002
 Vitebsk                Belarus        2005
 Donetsk, Kharkov       Ukraine        2006
Exadel




Products
● Open    Source with JBoss
  ◦ RichFaces
  ◦ JBoss Tools/JBoss Developer Studio
● Tiggr   – create and share mockups online
● Flamingo
● Fiji   (JSF – JavaFX/Flex integration)
● jsf4birt   (JSF – BIRT/Actuate integration)
● JavaFX     Plug-in for Eclipse
Exadel




Services
● Rich enterprise application
 development
● Eclipse development
● Custom rich   component development
● Mobile   development
● Training
● Most projects   are done in Eastern
 Europe
Exadel




The Plan
● Ajax features in   JSF 2
● The   new RichFaces 4
Exadel




JSF 2
● JSF   2 is a major upgrade over JSF 1.x
● Many features, ideas taken from
 projects such as Seam and RichFaces,
 and others
Exadel




JSF 2 new features
● Facelets             ● New    scopes
● Composite              ◦ Flash, View,
 components                custom
● Navigation           ● Configuration

● GET   support          ◦ Annotations
                       ● BeanValidation
  ◦ Page parameters
                        support
  ◦ h:link, h:button
                       ● Ajax
● Resource   loading
Exadel




JSF 2 <f:ajax>
● Basic Ajax   functionality
● Greatyinspired by RichFaces 3
 <a4j:support> tag
● Ajax in   JSF in 3 easy steps:
  ◦ How to send an Ajax request
  ◦ Partial view processing
  ◦ Partial view rendering
Exadel



2. What to execute on the
server:
● @all                                 1. <f:ajax> and event takes
● @this (default)                      care of firing the Ajax
● @form                                request
● @none

● Id's

● EL




            <h:commandButton>
              <f:ajax event="click"
                    execute="@form"
                    render="@form id1 id2"/>
            <h:commandButton>
                                       3. Partial view rendering:
                                       ● @all

                                       ● @this

                                       ● @form

                                       ● @none (default)

                                       ● Id's

                                       ● EL
Exadel




        Using <f:ajax>
<h:commandButton value="Submit" action="#{bean.action}" >
   <f:ajax event="focus" execute="@form" render="output"/>
</h:commandButton>
<h:panelGrid id="output">
 ...                                             Attaching to button,
                                                 specifying event
</h:panelGrid>


<h:commandButton value="Submit" action="#{bean.action}" >
   <f:ajax execute="@form" render="output output2"/>
</h:commandButton>
<h:panelGrid id="output">
 ...
</h:panelGrid>
<h:panelGrid id="output2">
 ...                                       No event specified,
</h:panelGrid>                             using default event
Exadel




       Using <f:ajax>
                                                  Default event is onchange

<h:inputText value="#{bean.text}" >
   <f:ajax event="keyup" render="text"/>
</h:inputText>
<h:outputText id="text" value="#{bean.text}" />

                                         No event specified so using default

<h:selectOneListbox id="list" value="#{bean.choice}" >
   <f:selectItems value="#{cean.choiceList}" />
   <f:ajax render="info" listener="#{bean.change}"/>
</h:selectOneListbox>

<h:panelGrid id="info">
 ...
</h:panelGrid>
Exadel

<f:ajax>
  <h:panelGrid>               No default event, no Ajax added
    <h:selectBooleanCheckbox>                                       onchange
    <h:inputText>                                      onchange
    <h:commandButton>                                       onclick
  </h:panelGrid>
</f:ajax>

<f:ajax event="click">
  <h:panelGrid>                                       onclick
    <h:selectBooleanCheckbox>                                             onclick
    <h:inputText>                                          onclick
    <h:commandButton>                             onclick and onfocus
     <f:ajax event="focus"/>
    </h:commanButton>
  </h:panelGrid>
</f:ajax>

<f:ajax event="valueChange">
  <h:panelGrid>                                 No Ajax added
    <h:selectBooleanCheckbox>                                           onchange
    <h:inputText>                                     onchange
    <h:commandButton>                                        onfocus
     <f:ajax event="focus"/>
    </h:commanButton>
  </h:panelGrid>
</f:ajax>
Exadel




   That's good, but a rich
component framework is still
  need to build real-world
     Ajax applications.
Exadel



RichFaces 4 – rich JSF
framework
● JSF   2 based
● Ajax components

  ◦ a4j:* tag library (core)
  ◦ rich:* tag library (UI)
● Skins and themes
● CDK –   Component Development Kit
Exadel




 RichFaces versions


       Version             JSF 1.1       JSF 1.2   JSF 2

RichFaces 3.1.x               •
RichFaces 3.3.3*                            •       •
RichFaces 4                                         •
* Note: RichFaces 3.3.3 has basic JSF 2 support
Exadel




What about deployment?

       Any server

 All browsers (even IE 6)
Exadel




RichFaces history
2005: started by Alexander Smirnov
2005-2007: Developed by Exadel
           Ajax4jsf – open source, free
           RichFaces - commercial
2007: JBoss takes over
      Exadel team continues to develop
      the framework
Exadel




Just tell me when RichFaces 4
   is going to be released?
Exadel




RichFaces 4


 JavaScript in RichFaces is
 now entirely based on the
  popular jQuery library.
Exadel




RichFaces 4
● All components are reviewed for
 consistency, usability
● Redesigned following    semantic
 HTML principles
● Server-side
           and client-side
 performance optimization
● Strict   code clean-up and review
Exadel




RichFaces 4
● Newand easy to use CDK
 (Component Development Kit)
● Quickly build your   own custom rich
 components
Exadel




Google App Engine
● DeployRichFaces application in
 Google App Engine (GAE)
● Special maven-based   plug-in
 available
Exadel




RichFaces <a4j:ajax>
● 100% based on     standard <f:ajax>
● Just replacef: with a4j: and get
 exactly the same functionality
● But,   you get extra features...
Exadel



  <a4j:ajax> attributes
         Attribute                 Description

onbegin              JavaScript to execute before Ajax request
                     JavaScript to execute after response
onbeforedomupdate
                     comes back but before DOM update
oncomplete           JavaScript to execute after DOM update
                     Skips Update Model and Invoke
bypassUpdates        Application phases, useful for form
                     validation
                     Skips all a4j:outputPanel
limitRender          ajaxRender=”true” areas. Only renders
                     what is set in current render
status               Status to display during Ajax request

                     Sets focus on component after Ajax
focus
                     request
Exadel




RichFaces 4
That's not all, there are more RichFaces
                 goodies...
Exadel



RichFaces 4 core action –
fire an Ajax request
● a4j:ajax
● a4j:commandButton
● a4j:commandLink
● a4j:jsFunction
● a4j:poll
● a4j:push
Exadel



      <a4j:commandButton> –
      Ajax button
/* standard button with f:ajax */
<h:commandButton value="Save" action="#{bean.action}">
   <f:ajax execute="@form"
           render="output"/>
</h:commandButton>



/* RichFaces button */
<a4j:commandButton value="Save"
     execute="@form"
     render="output"
     action="#{bean.action}" />
Exadel


      <a4j:jsFunction> – fire Ajax
      request from any JavaScript
      function
<table>
   ...
   <td onmouseover="update('yellow')"/>
   ...
</table>
<a4j:jsFunction name="update"
                action="#{bean.change}"
                reRender="panel">
  <a4j:param value="param1" assignTo="#{bean.color}"/>
</a4j:jsFunction>
Exadel



      <a4j:poll> – periodically
      send an Ajax request

<a4j:poll interval="1000"
          action="#{bean.count}"
          render="output"
          enabled="#{bean.pollEnabled}" />

<h:panelGrid id="output">
...
</h:panelGrid>
Exadel



RichFace 4 core – output,
panels
● a4j:outputPanel
● a4j:status
● a4j:region
● a4j:queue
● a4j:repeat
● a4j:log
Exadel



      <a4j:outputPanel> – auto
      rendered panel

<h:selectOneMenu value="#{bean.fruit}">
   <a4j:ajax listener="#{bean.change}"/>
</<h:selectOneMenu>
<a4j:outputPanel ajaxRendered="true">
   <h:panelGrid>
      ...
   </h:panelGrid>                        Rendered on every
   <h:panelGrid>                         Ajax request
      ...
   </h:panelGrid>
</a4j:outputPanel>
Exadel



      <a4j:status> – Ajax request
      status

<a4j:status name="ajaxSpecial">
  <f:facet name="start">
    <h:graphicImage value="ajaxStatus.jpg"/>
  </f:facet>
</a4j:status>

<h:form>
   <inputText />
   <inputText />
   <a4j:commandButton status="ajaxSpecial"/>
</h:form>
Exadel



<a4j:region> – declaratively
define execute region
<h:form>                                    Execute options:
                                            @all●

  <a4j:region>                              @this (default)
                                                ●

     <h:inputText />                        @form
                                                ●


     <h:inputText />                        @none
                                                ●

                                            Id's●

     <a4j:commandButton execute="@region"/> EL  ●

  <a4j:region>                              @region
                                                ●


</h:form>

<h:form>
  <a4j:region>
     <h:inputText />
     <h:inputText />
     <a4j:commandButton />
  <a4j:region>
</h:form>
Exadel



<a4j:log> – Ajax request
information
● Levels:

  ◦ debug, info, warn, error
Exadel




      JavaScript interactions
<h:commandLink value="Link"
   <f:ajax onevent="ajaxFunction();">
</h:commandLink>
                                Called three times:
                                1) begin
                                2) success
                                3) complete



<a4j:commandLink value="Link"
   onbegin="alert('Link clicked')"
   onbeforedomupdate="alert('Response received')"
   oncomplete="alert('DOM updated')">
</a4j:commandLink>

                                Events are separated
Exadel




      Advanced rendering options

<a4j:commandButton render="output"/>
<a4j:commandButton render="output" limitRender="true"/>

<h:panelGrid id="output">
                               Turns off all auto rendered panels,
...
                               only renders what is set in current
</h:panelGrid>                 render

<a4j:outputPanel ajaxRendered="true">
...
</a4j:outputPanel>
Exadel


Skipping
phases
when
validating
1.Restore View
2.Apply Request Values
3.Process Validation
4.Update Model
5.Invoke Application
6.Render Response


 <h:inputText id="name" value="#{bean.name}"/>
    <a4j:ajax event="blur" bypassUpdates="true"/>
 </h:inputText>
 <rich:message for="name"/>
Exadel




JSF 2 queue
● JSF2 has very basic queue
 functionality
● Events   are queued and fired one at a
 time
● Only one request is processed on the
 server at a time
Exadel




RichFaces queue upgrades
● Delay firing   of a request
● Combine requests      from one or more controls
● Cancel DOM       updates if the same request was
 fired
● Define   queue as:
  ◦   Global (all views have queue)
  ◦   View-based
  ◦   Form-based
  ◦   Named (used by particular components only)
Exadel




      RichFaces <a4j:queue>
<a4j:queue requestDelay="2000"/>
...                                    Delay request
                                       by 2 seconds
<a4j:commandButton value="Button1"/>
<a4j:commandButton value="Button2"/>




<a4j:queue requestDelay="2000"/>
...                                           Overwrite default
<a4j:commandButton>                           delay request
                                              by 1 second
   <a4j:attachQueue requestDelay="1000"/>
</a4j:commmandButton>
<a4j:commandButton />
Exadel



      a4j:queue – “combining”
      events

<a4j:queue requestDelay="2000"/>
...
<a4j:commandButton>
   <a4j:attachQueue requestGroupingId="mainGroup"/>
</a4j:commmandButton>
<a4j:commandButton>
   <a4j:attachQueue requestGroupingId="mainGroup"/>
</a4j:commmandButton>
Exadel



      a4j:queue – ignoring “stale”
      responses
<a4j:queue requestDelay="2000
           ingoreDupResponses="true"/>

<h:inputText value="#{bean.state}">
   <a4j:ajax event="keyup"
             listener="#{bean.load}"
             render="states"/>
</h:inputText>

<rich:dataTable id="states">
  <rich:column/>
</rich:dataTable>
Exadel




RichFaces UI components
● Data iteration
● Output,   panels
● Input
● Menu
● Trees
● Selects
● Layout
● Client side   validation
● Miscellaneous
Exadel




       Rich data iteration
● a4j:repeat                       ● rich:dataScroller
● rich:dataTable                   ● rich:column
● rich:extendedDataTable           ● Columnand row
● rich:subTable                     spanning
                                   ● Filtering,   sorting
  ◦   rich:subTableToggleControl
● rich:list
● rich:dataGrid
Exadel




             Partial update

                         render="@column"
                                                              render="@header"

render="@row"
                                                               render="@body"

                                                              render="@footer"



                                            render="cellId"
 To render from outside the table:
 render="tableId@header"
 render="tableId@body"
 render="tableId@footer"
Exadel




              Partial update
render="tableId:#{bean.rowsSet}"




render="tableId:#{bean.rowsSet}:cellId"
Exadel




Rich output, panels
● rich:panel              ● rich:message(s)
● rich:togglePanel        ● rich:paint2D
● rich:accordion          ● rich:separator
● rich:popupPanel
                          ● rich:toolBar
● rich:tabPanel
                          ● rich:toolTip
● rich:panelBar

● rich:panelMenu

● rich:collapsiblePanel
Exadel




Rich input
● rich:autocomplete
● rich:inputNumberSlider
● rich:inputNumberSpinner
● rich:inplaceInput
● rich:calendar
● rich:colorPicker
● rich:editor
● rich:fileUpload
Exadel




Rich menu
● rich:contextMenu
● rich:dropDownMenu
Exadel




Rich tree
● rich:tree
● rich:treeNode
● Listeners
Exadel




Rich selects
● rich:orderingList
● rich:pickList
● rich:listShuttle
● rich:selectBox
● rich:inplaceSelect
Exadel




Rich layout
● rich:page
● rich:layout

  ◦ rich:layoutPanel
● rich:splitter
Exadel




      Bean Validation (JSR 303)
       ● JSF 2 has support for Bean Validation
         (on the server)
public class Bean {
  @Email
  private String email;
}



<h:inputText id="email" value="#{bean.email}">
   <a4j:ajax event="blur"/>
</h:inputText>
<rich:message for="email"/>
Exadel




      RichFaces client validation

Public class Bean {
  @Email
  private String email;
}


<h:inputText id="email" value="#{bean.email}">
   <rich:clientValidator event="blur"/>
</h:inputText>
<rich:message for="email"/>
Exadel




         RichFaces client functions
         Function                        Description

rich:client(id)           returns component client id
rich:element(id)          returns DOM element
                          returns RichFaces client component
rich:component(id)
                          instance to call JS API method
rich:isUserInRole(role)   returns if the user has specified role
                          returns component instance for given
rich:findComponent(id)
                          short id
Exadel




      rich:component(id) function
       ● Allows   to call JS API on a component

<input type="button"
       onclick="#{rich:component('popup')}.show();"
       value="Open" />

<rich:popupPanel id="popup">
   <h:outputLink value="#"
        onclick="#{rich:component('popup')}.hide();
           return false;">
          <h:outputText value="Close"/>
    </h:outputLink>
</rich:popupPanel>
Exadel




Rich miscellaneous
● rich:componentControl
● rich:jQuery
● rich:hotKey
● rich:gmap
● rich:virtualEarth
Exadel




      <rich:componentControl>
       ● Allows  to call JS API on a component
         in declarative fashion
<h:outputLink id="openLink" value="#">
   <h:outputText value="Open" />
   <rich:componentControl event="click"
                          operation="show"
                          target="popup" />
</h:outputLink>

<rich:popupPanel id="popup">
...
</rich:popupPanel>
Exadel




      <rich:jQuery>
<input type="button" id="changeButton"
                      value="Change title" />
<rich:jQuery selector="#changeButton"
 query="click(function(){
   $('#panel #panel_header').text('Capital of Russia');
})"/>


<rich:panel header="Moscow" id="panel">
   Moscow is the capital, the most populous ...
</rich:panel>
Exadel




Skins
Exadel




Skins
● Lightweight   extension on top of CSS
● Change
       look and feel of all Rich
 component with a few minor changes
● Can
    be applied to standard JSF and
 HTML tags as well
Exadel




Ready-to-use skins
● classic
● emeraldTown
● blueSky
● ruby

● wine
● deepMarine
● plain
● japanCherry

● laguna        <context-param>
                  <param-name>org.richfaces.skin</param-name>
● glassX          <param-value>ruby</param-value>
                </context-param>
● darkX
Exadel




      Skin file (properties file)
#Colors
headerBackgroundColor=#900000
headerGradientColor=#DF5858
headerTextColor=#FFFFFF
headerWeightFont=bold

generalBackgroundColor=#f1f1f1
generalTextColor=#000000
generalSizeFont=11px
generalFamilyFont=Arial, Verdana, sans-serif

controlTextColor=#000000
controlBackgroundColor=#ffffff
additionalBackgroundColor=#F9E4E4
Exadel




Skins
● Modify   existing or create your own
  <context-param>
    <param-name>org.richfaces.skin</param-name>
    <param-value>myCustomSkin</param-value>
  </context-param>

● Change   skins in runtime
  <context-param>
    <param-name>org.richfaces.skin</param-name>
    <param-value>#{bean.skin}</param-value>
  </context-param>
Exadel




      Overwriting skins
<style>
 .rf-p-hr {
    // your custom style, applied to all panels on
    // on page
  }
 .panelHeader {
    // custom header style
  }
</style>

<rich:panel id="panel1">
...
</rich:panel id="panel2">
<rich:panel headerClass="panelHeader">
...
</rich:panel>
Exadel




Examples
Exadel




That's it for RichFaces, there
 is one more thing I want to
           show you.
Exadel


A peek at the future: Going
Beyond JavaServer Faces 2.0
with RichFaces 4

Tuesday, September 21
9:30am
Golden Gate 6/7

Jay Balunas, Red Hat
Alexander Smirnov, Exadel
Exadel




Exadel Tiggr
Exadel
Exadel




Exadel Tiggr
● Create, collaborate and share
 mockups online
● RichFaces    palette
● Upcoming features

  ◦ HTML generation
  ◦ More widgets and controls
● Give   it a try - http://tiggr.exadel.com
Exadel




http://tiggr.exadel.com
Exadel



How can we help with
RichFaces
● Webapplication development with
 RichFaces
● Custom component    development
● Training:
        Training      Days
  JSF 1.2, 2          1-2
  RichFaces 3, 4      1-2
  JSF and RichFaces   2-3
  RichFaces 3 to 4    1-2
Exadel




Thank you!
● max@exadel.com
● http://mkblog.exadel.com
● http://twitter.com/maxkatz
● http://exadel.org

More Related Content

What's hot

Universal JavaScript Web Applications with React - Luciano Mammino - Codemoti...
Universal JavaScript Web Applications with React - Luciano Mammino - Codemoti...Universal JavaScript Web Applications with React - Luciano Mammino - Codemoti...
Universal JavaScript Web Applications with React - Luciano Mammino - Codemoti...
Codemotion
 
Tokyo React.js #3: Missing Pages: ReactJS/Flux/GraphQL/RelayJS
Tokyo React.js #3: Missing Pages: ReactJS/Flux/GraphQL/RelayJSTokyo React.js #3: Missing Pages: ReactJS/Flux/GraphQL/RelayJS
Tokyo React.js #3: Missing Pages: ReactJS/Flux/GraphQL/RelayJS
Khor SoonHin
 
Angular를 활용한 웹 프론트단 개발과 2.0에서 달라진점
Angular를 활용한 웹 프론트단 개발과 2.0에서 달라진점Angular를 활용한 웹 프론트단 개발과 2.0에서 달라진점
Angular를 활용한 웹 프론트단 개발과 2.0에서 달라진점
Jeado Ko
 
Seven Versions of One Web Application
Seven Versions of One Web ApplicationSeven Versions of One Web Application
Seven Versions of One Web Application
Yakov Fain
 
Vuejs testing
Vuejs testingVuejs testing
Vuejs testing
Greg TAPPERO
 
Promises are so passé - Tim Perry - Codemotion Milan 2016
Promises are so passé - Tim Perry - Codemotion Milan 2016Promises are so passé - Tim Perry - Codemotion Milan 2016
Promises are so passé - Tim Perry - Codemotion Milan 2016
Codemotion
 
Building and deploying React applications
Building and deploying React applicationsBuilding and deploying React applications
Building and deploying React applications
Astrails
 
Test Driven Development with JavaFX
Test Driven Development with JavaFXTest Driven Development with JavaFX
Test Driven Development with JavaFX
Hendrik Ebbers
 
AngularJs Crash Course
AngularJs Crash CourseAngularJs Crash Course
AngularJs Crash Course
Keith Bloomfield
 
JavaOne - The JavaFX Community and Ecosystem
JavaOne - The JavaFX Community and EcosystemJavaOne - The JavaFX Community and Ecosystem
JavaOne - The JavaFX Community and Ecosystem
Alexander Casall
 
Zend server 6 using zf2, 2013 webinar
Zend server 6 using zf2, 2013 webinarZend server 6 using zf2, 2013 webinar
Zend server 6 using zf2, 2013 webinar
Yonni Mendes
 
Angular 2 어디까지 왔을까
Angular 2 어디까지 왔을까Angular 2 어디까지 왔을까
Angular 2 어디까지 왔을까
장현 한
 
The JavaFX Ecosystem
The JavaFX EcosystemThe JavaFX Ecosystem
The JavaFX Ecosystem
Andres Almiray
 
준비하세요 Angular js 2.0
준비하세요 Angular js 2.0준비하세요 Angular js 2.0
준비하세요 Angular js 2.0
Jeado Ko
 
DataFX - JavaOne 2013
DataFX - JavaOne 2013DataFX - JavaOne 2013
DataFX - JavaOne 2013
Hendrik Ebbers
 
Step By Step Guide For Buidling Simple Struts App
Step By Step Guide For Buidling Simple Struts AppStep By Step Guide For Buidling Simple Struts App
Step By Step Guide For Buidling Simple Struts App
Syed Shahul
 
Workshop 14: AngularJS Parte III
Workshop 14: AngularJS Parte IIIWorkshop 14: AngularJS Parte III
Workshop 14: AngularJS Parte III
Visual Engineering
 
Checkout Customizations in Magento 2 - MageTitansMCR 2017
Checkout Customizations in Magento 2 - MageTitansMCR 2017Checkout Customizations in Magento 2 - MageTitansMCR 2017
Checkout Customizations in Magento 2 - MageTitansMCR 2017
Max Pronko
 
The Road to Native Web Components
The Road to Native Web ComponentsThe Road to Native Web Components
The Road to Native Web Components
Mike North
 
JavaFX Pitfalls
JavaFX PitfallsJavaFX Pitfalls
JavaFX Pitfalls
Alexander Casall
 

What's hot (20)

Universal JavaScript Web Applications with React - Luciano Mammino - Codemoti...
Universal JavaScript Web Applications with React - Luciano Mammino - Codemoti...Universal JavaScript Web Applications with React - Luciano Mammino - Codemoti...
Universal JavaScript Web Applications with React - Luciano Mammino - Codemoti...
 
Tokyo React.js #3: Missing Pages: ReactJS/Flux/GraphQL/RelayJS
Tokyo React.js #3: Missing Pages: ReactJS/Flux/GraphQL/RelayJSTokyo React.js #3: Missing Pages: ReactJS/Flux/GraphQL/RelayJS
Tokyo React.js #3: Missing Pages: ReactJS/Flux/GraphQL/RelayJS
 
Angular를 활용한 웹 프론트단 개발과 2.0에서 달라진점
Angular를 활용한 웹 프론트단 개발과 2.0에서 달라진점Angular를 활용한 웹 프론트단 개발과 2.0에서 달라진점
Angular를 활용한 웹 프론트단 개발과 2.0에서 달라진점
 
Seven Versions of One Web Application
Seven Versions of One Web ApplicationSeven Versions of One Web Application
Seven Versions of One Web Application
 
Vuejs testing
Vuejs testingVuejs testing
Vuejs testing
 
Promises are so passé - Tim Perry - Codemotion Milan 2016
Promises are so passé - Tim Perry - Codemotion Milan 2016Promises are so passé - Tim Perry - Codemotion Milan 2016
Promises are so passé - Tim Perry - Codemotion Milan 2016
 
Building and deploying React applications
Building and deploying React applicationsBuilding and deploying React applications
Building and deploying React applications
 
Test Driven Development with JavaFX
Test Driven Development with JavaFXTest Driven Development with JavaFX
Test Driven Development with JavaFX
 
AngularJs Crash Course
AngularJs Crash CourseAngularJs Crash Course
AngularJs Crash Course
 
JavaOne - The JavaFX Community and Ecosystem
JavaOne - The JavaFX Community and EcosystemJavaOne - The JavaFX Community and Ecosystem
JavaOne - The JavaFX Community and Ecosystem
 
Zend server 6 using zf2, 2013 webinar
Zend server 6 using zf2, 2013 webinarZend server 6 using zf2, 2013 webinar
Zend server 6 using zf2, 2013 webinar
 
Angular 2 어디까지 왔을까
Angular 2 어디까지 왔을까Angular 2 어디까지 왔을까
Angular 2 어디까지 왔을까
 
The JavaFX Ecosystem
The JavaFX EcosystemThe JavaFX Ecosystem
The JavaFX Ecosystem
 
준비하세요 Angular js 2.0
준비하세요 Angular js 2.0준비하세요 Angular js 2.0
준비하세요 Angular js 2.0
 
DataFX - JavaOne 2013
DataFX - JavaOne 2013DataFX - JavaOne 2013
DataFX - JavaOne 2013
 
Step By Step Guide For Buidling Simple Struts App
Step By Step Guide For Buidling Simple Struts AppStep By Step Guide For Buidling Simple Struts App
Step By Step Guide For Buidling Simple Struts App
 
Workshop 14: AngularJS Parte III
Workshop 14: AngularJS Parte IIIWorkshop 14: AngularJS Parte III
Workshop 14: AngularJS Parte III
 
Checkout Customizations in Magento 2 - MageTitansMCR 2017
Checkout Customizations in Magento 2 - MageTitansMCR 2017Checkout Customizations in Magento 2 - MageTitansMCR 2017
Checkout Customizations in Magento 2 - MageTitansMCR 2017
 
The Road to Native Web Components
The Road to Native Web ComponentsThe Road to Native Web Components
The Road to Native Web Components
 
JavaFX Pitfalls
JavaFX PitfallsJavaFX Pitfalls
JavaFX Pitfalls
 

Viewers also liked

Pr Krasnaya Roza#@ Optim Idea
Pr Krasnaya Roza#@ Optim IdeaPr Krasnaya Roza#@ Optim Idea
Pr Krasnaya Roza#@ Optim Idearonzin
 
Building Mobile Apps With jQuery For Any Device In The Cloud
Building Mobile Apps With jQuery For Any Device In The Cloud Building Mobile Apps With jQuery For Any Device In The Cloud
Building Mobile Apps With jQuery For Any Device In The Cloud
Max Katz
 
Building RIA Applications with RichFaces
Building RIA Applications with RichFacesBuilding RIA Applications with RichFaces
Building RIA Applications with RichFaces
Max Katz
 
Presentation
PresentationPresentation
Presentation
WillingtonMedia
 
Ajax Applications with RichFaces and JSF 2
Ajax Applications with RichFaces and JSF 2Ajax Applications with RichFaces and JSF 2
Ajax Applications with RichFaces and JSF 2
Max Katz
 
RichFaces 4 webinar #1: Everything You Need To Know
RichFaces 4 webinar #1: Everything You Need To KnowRichFaces 4 webinar #1: Everything You Need To Know
RichFaces 4 webinar #1: Everything You Need To Know
Max Katz
 
Presentazione Acqua
Presentazione AcquaPresentazione Acqua
Presentazione Acqua
francescosforza
 
Using cloud tools to build enterprise mobile apps with APIs fast
Using cloud tools to build enterprise mobile apps with APIs fast Using cloud tools to build enterprise mobile apps with APIs fast
Using cloud tools to build enterprise mobile apps with APIs fast
Max Katz
 

Viewers also liked (8)

Pr Krasnaya Roza#@ Optim Idea
Pr Krasnaya Roza#@ Optim IdeaPr Krasnaya Roza#@ Optim Idea
Pr Krasnaya Roza#@ Optim Idea
 
Building Mobile Apps With jQuery For Any Device In The Cloud
Building Mobile Apps With jQuery For Any Device In The Cloud Building Mobile Apps With jQuery For Any Device In The Cloud
Building Mobile Apps With jQuery For Any Device In The Cloud
 
Building RIA Applications with RichFaces
Building RIA Applications with RichFacesBuilding RIA Applications with RichFaces
Building RIA Applications with RichFaces
 
Presentation
PresentationPresentation
Presentation
 
Ajax Applications with RichFaces and JSF 2
Ajax Applications with RichFaces and JSF 2Ajax Applications with RichFaces and JSF 2
Ajax Applications with RichFaces and JSF 2
 
RichFaces 4 webinar #1: Everything You Need To Know
RichFaces 4 webinar #1: Everything You Need To KnowRichFaces 4 webinar #1: Everything You Need To Know
RichFaces 4 webinar #1: Everything You Need To Know
 
Presentazione Acqua
Presentazione AcquaPresentazione Acqua
Presentazione Acqua
 
Using cloud tools to build enterprise mobile apps with APIs fast
Using cloud tools to build enterprise mobile apps with APIs fast Using cloud tools to build enterprise mobile apps with APIs fast
Using cloud tools to build enterprise mobile apps with APIs fast
 

Similar to Hands On With Rich Faces 4 - JavaOne 2010

Ajax Applications with JSF 2 and New RichFaces 4 - TSSJS
Ajax Applications with JSF 2 and New RichFaces 4 - TSSJSAjax Applications with JSF 2 and New RichFaces 4 - TSSJS
Ajax Applications with JSF 2 and New RichFaces 4 - TSSJS
Max Katz
 
Ajax Applications with JSF 2 and New RichFaces 4 - JAX/JSF Summit
Ajax Applications with JSF 2 and New RichFaces 4 - JAX/JSF SummitAjax Applications with JSF 2 and New RichFaces 4 - JAX/JSF Summit
Ajax Applications with JSF 2 and New RichFaces 4 - JAX/JSF Summit
Max Katz
 
RichFaces 4: Rich Ajax Components For Your JSF Applications
RichFaces 4: Rich Ajax Components For Your JSF ApplicationsRichFaces 4: Rich Ajax Components For Your JSF Applications
RichFaces 4: Rich Ajax Components For Your JSF Applications
Max Katz
 
RichFaces 4 Webinar - New and Advanced Features
RichFaces 4 Webinar - New and Advanced FeaturesRichFaces 4 Webinar - New and Advanced Features
RichFaces 4 Webinar - New and Advanced Features
Max Katz
 
RichFaces 4 webinar #2: RichFaces 3 toRichFaces 4
RichFaces 4 webinar #2: RichFaces 3 toRichFaces 4RichFaces 4 webinar #2: RichFaces 3 toRichFaces 4
RichFaces 4 webinar #2: RichFaces 3 toRichFaces 4
Max Katz
 
What You Need To Build Cool Enterprise Applications With JSF
What You Need To Build Cool Enterprise Applications With JSFWhat You Need To Build Cool Enterprise Applications With JSF
What You Need To Build Cool Enterprise Applications With JSF
Max Katz
 
Introduction to RichFaces
Introduction to RichFacesIntroduction to RichFaces
Introduction to RichFaces
Max Katz
 
RichFaces: rich:* component library
RichFaces: rich:* component libraryRichFaces: rich:* component library
RichFaces: rich:* component library
Max Katz
 
Going Above JSF 2.0 with RichFaces and Seam
Going Above JSF 2.0 with RichFaces and SeamGoing Above JSF 2.0 with RichFaces and Seam
Going Above JSF 2.0 with RichFaces and Seam
Lincoln III
 
Spark IT 2011 - Simplified Web Development using Java Server Faces 2.0
Spark IT 2011 - Simplified Web Development using Java Server Faces 2.0Spark IT 2011 - Simplified Web Development using Java Server Faces 2.0
Spark IT 2011 - Simplified Web Development using Java Server Faces 2.0
Arun Gupta
 
A Peek At The Future: Going Beyond JavaServer Faces 2.0 With RichFaces 4
A Peek At The Future: Going Beyond JavaServer Faces 2.0 With RichFaces 4A Peek At The Future: Going Beyond JavaServer Faces 2.0 With RichFaces 4
A Peek At The Future: Going Beyond JavaServer Faces 2.0 With RichFaces 4
balunasj
 
Primefaces Nextgen Lju
Primefaces Nextgen LjuPrimefaces Nextgen Lju
Primefaces Nextgen Lju
Skills Matter
 
Primefaces Nextgen Lju
Primefaces Nextgen LjuPrimefaces Nextgen Lju
Primefaces Nextgen Lju
Skills Matter
 
The JavaFX Ecosystem
The JavaFX EcosystemThe JavaFX Ecosystem
The JavaFX Ecosystem
Andres Almiray
 
In The Brain of Cagatay Civici: Exploring JavaServer Faces 2.0 and PrimeFaces
In The Brain of Cagatay Civici: Exploring JavaServer Faces 2.0 and PrimeFaces In The Brain of Cagatay Civici: Exploring JavaServer Faces 2.0 and PrimeFaces
In The Brain of Cagatay Civici: Exploring JavaServer Faces 2.0 and PrimeFaces
Skills Matter
 
The JavaFX Ecosystem
The JavaFX EcosystemThe JavaFX Ecosystem
The JavaFX Ecosystem
Andres Almiray
 
Extending eZ Platform v2 with Symfony and React
Extending eZ Platform v2 with Symfony and ReactExtending eZ Platform v2 with Symfony and React
Extending eZ Platform v2 with Symfony and React
eZ Systems
 
Hyperproductive JSF 2.0 @ JavaOne Brazil 2010
Hyperproductive JSF 2.0 @ JavaOne Brazil 2010Hyperproductive JSF 2.0 @ JavaOne Brazil 2010
Hyperproductive JSF 2.0 @ JavaOne Brazil 2010
Arun Gupta
 
Introduction to Palm's Mojo SDK
Introduction to Palm's Mojo SDKIntroduction to Palm's Mojo SDK
Introduction to Palm's Mojo SDK
Brendan Lim
 
vJUG - The JavaFX Ecosystem
vJUG - The JavaFX EcosystemvJUG - The JavaFX Ecosystem
vJUG - The JavaFX Ecosystem
Andres Almiray
 

Similar to Hands On With Rich Faces 4 - JavaOne 2010 (20)

Ajax Applications with JSF 2 and New RichFaces 4 - TSSJS
Ajax Applications with JSF 2 and New RichFaces 4 - TSSJSAjax Applications with JSF 2 and New RichFaces 4 - TSSJS
Ajax Applications with JSF 2 and New RichFaces 4 - TSSJS
 
Ajax Applications with JSF 2 and New RichFaces 4 - JAX/JSF Summit
Ajax Applications with JSF 2 and New RichFaces 4 - JAX/JSF SummitAjax Applications with JSF 2 and New RichFaces 4 - JAX/JSF Summit
Ajax Applications with JSF 2 and New RichFaces 4 - JAX/JSF Summit
 
RichFaces 4: Rich Ajax Components For Your JSF Applications
RichFaces 4: Rich Ajax Components For Your JSF ApplicationsRichFaces 4: Rich Ajax Components For Your JSF Applications
RichFaces 4: Rich Ajax Components For Your JSF Applications
 
RichFaces 4 Webinar - New and Advanced Features
RichFaces 4 Webinar - New and Advanced FeaturesRichFaces 4 Webinar - New and Advanced Features
RichFaces 4 Webinar - New and Advanced Features
 
RichFaces 4 webinar #2: RichFaces 3 toRichFaces 4
RichFaces 4 webinar #2: RichFaces 3 toRichFaces 4RichFaces 4 webinar #2: RichFaces 3 toRichFaces 4
RichFaces 4 webinar #2: RichFaces 3 toRichFaces 4
 
What You Need To Build Cool Enterprise Applications With JSF
What You Need To Build Cool Enterprise Applications With JSFWhat You Need To Build Cool Enterprise Applications With JSF
What You Need To Build Cool Enterprise Applications With JSF
 
Introduction to RichFaces
Introduction to RichFacesIntroduction to RichFaces
Introduction to RichFaces
 
RichFaces: rich:* component library
RichFaces: rich:* component libraryRichFaces: rich:* component library
RichFaces: rich:* component library
 
Going Above JSF 2.0 with RichFaces and Seam
Going Above JSF 2.0 with RichFaces and SeamGoing Above JSF 2.0 with RichFaces and Seam
Going Above JSF 2.0 with RichFaces and Seam
 
Spark IT 2011 - Simplified Web Development using Java Server Faces 2.0
Spark IT 2011 - Simplified Web Development using Java Server Faces 2.0Spark IT 2011 - Simplified Web Development using Java Server Faces 2.0
Spark IT 2011 - Simplified Web Development using Java Server Faces 2.0
 
A Peek At The Future: Going Beyond JavaServer Faces 2.0 With RichFaces 4
A Peek At The Future: Going Beyond JavaServer Faces 2.0 With RichFaces 4A Peek At The Future: Going Beyond JavaServer Faces 2.0 With RichFaces 4
A Peek At The Future: Going Beyond JavaServer Faces 2.0 With RichFaces 4
 
Primefaces Nextgen Lju
Primefaces Nextgen LjuPrimefaces Nextgen Lju
Primefaces Nextgen Lju
 
Primefaces Nextgen Lju
Primefaces Nextgen LjuPrimefaces Nextgen Lju
Primefaces Nextgen Lju
 
The JavaFX Ecosystem
The JavaFX EcosystemThe JavaFX Ecosystem
The JavaFX Ecosystem
 
In The Brain of Cagatay Civici: Exploring JavaServer Faces 2.0 and PrimeFaces
In The Brain of Cagatay Civici: Exploring JavaServer Faces 2.0 and PrimeFaces In The Brain of Cagatay Civici: Exploring JavaServer Faces 2.0 and PrimeFaces
In The Brain of Cagatay Civici: Exploring JavaServer Faces 2.0 and PrimeFaces
 
The JavaFX Ecosystem
The JavaFX EcosystemThe JavaFX Ecosystem
The JavaFX Ecosystem
 
Extending eZ Platform v2 with Symfony and React
Extending eZ Platform v2 with Symfony and ReactExtending eZ Platform v2 with Symfony and React
Extending eZ Platform v2 with Symfony and React
 
Hyperproductive JSF 2.0 @ JavaOne Brazil 2010
Hyperproductive JSF 2.0 @ JavaOne Brazil 2010Hyperproductive JSF 2.0 @ JavaOne Brazil 2010
Hyperproductive JSF 2.0 @ JavaOne Brazil 2010
 
Introduction to Palm's Mojo SDK
Introduction to Palm's Mojo SDKIntroduction to Palm's Mojo SDK
Introduction to Palm's Mojo SDK
 
vJUG - The JavaFX Ecosystem
vJUG - The JavaFX EcosystemvJUG - The JavaFX Ecosystem
vJUG - The JavaFX Ecosystem
 

More from Max Katz

Wolters Kluwer Tech. Conference: Disrupting Mobile Development
Wolters Kluwer Tech. Conference: Disrupting Mobile DevelopmentWolters Kluwer Tech. Conference: Disrupting Mobile Development
Wolters Kluwer Tech. Conference: Disrupting Mobile Development
Max Katz
 
Tiggzi at DC jQuery Meetup
Tiggzi at DC jQuery MeetupTiggzi at DC jQuery Meetup
Tiggzi at DC jQuery Meetup
Max Katz
 
Learn How to Build Mobile Apps Using Cloud Services
Learn How to Build Mobile Apps Using Cloud ServicesLearn How to Build Mobile Apps Using Cloud Services
Learn How to Build Mobile Apps Using Cloud Services
Max Katz
 
Tiggr Mobile Apps Builder at Silicon Valley HTML5 Group Meetup
Tiggr Mobile Apps Builder at Silicon Valley HTML5 Group MeetupTiggr Mobile Apps Builder at Silicon Valley HTML5 Group Meetup
Tiggr Mobile Apps Builder at Silicon Valley HTML5 Group Meetup
Max Katz
 
Tiggr - Web-based IDE for Mobile Web And Native Apps
Tiggr - Web-based IDE for Mobile Web And Native AppsTiggr - Web-based IDE for Mobile Web And Native Apps
Tiggr - Web-based IDE for Mobile Web And Native Apps
Max Katz
 
Mobile Development Choices: Native Apps vs. Web Apps at JAX 2011
Mobile Development Choices: Native Apps vs. Web Apps at JAX 2011Mobile Development Choices: Native Apps vs. Web Apps at JAX 2011
Mobile Development Choices: Native Apps vs. Web Apps at JAX 2011
Max Katz
 
Devoxx2010 - Mobile Development Choices: Native Apps vs Web Apps
Devoxx2010 - Mobile Development Choices: Native Apps vs Web AppsDevoxx2010 - Mobile Development Choices: Native Apps vs Web Apps
Devoxx2010 - Mobile Development Choices: Native Apps vs Web Apps
Max Katz
 
RichFaces skins
RichFaces skinsRichFaces skins
RichFaces skins
Max Katz
 
RichFaces: more concepts and features
RichFaces: more concepts and featuresRichFaces: more concepts and features
RichFaces: more concepts and features
Max Katz
 
Rich Enterprise Applications with JavaFX
Rich Enterprise Applications with JavaFXRich Enterprise Applications with JavaFX
Rich Enterprise Applications with JavaFX
Max Katz
 
Building RIA Applications with JavaFX
Building RIA Applications with JavaFXBuilding RIA Applications with JavaFX
Building RIA Applications with JavaFX
Max Katz
 

More from Max Katz (11)

Wolters Kluwer Tech. Conference: Disrupting Mobile Development
Wolters Kluwer Tech. Conference: Disrupting Mobile DevelopmentWolters Kluwer Tech. Conference: Disrupting Mobile Development
Wolters Kluwer Tech. Conference: Disrupting Mobile Development
 
Tiggzi at DC jQuery Meetup
Tiggzi at DC jQuery MeetupTiggzi at DC jQuery Meetup
Tiggzi at DC jQuery Meetup
 
Learn How to Build Mobile Apps Using Cloud Services
Learn How to Build Mobile Apps Using Cloud ServicesLearn How to Build Mobile Apps Using Cloud Services
Learn How to Build Mobile Apps Using Cloud Services
 
Tiggr Mobile Apps Builder at Silicon Valley HTML5 Group Meetup
Tiggr Mobile Apps Builder at Silicon Valley HTML5 Group MeetupTiggr Mobile Apps Builder at Silicon Valley HTML5 Group Meetup
Tiggr Mobile Apps Builder at Silicon Valley HTML5 Group Meetup
 
Tiggr - Web-based IDE for Mobile Web And Native Apps
Tiggr - Web-based IDE for Mobile Web And Native AppsTiggr - Web-based IDE for Mobile Web And Native Apps
Tiggr - Web-based IDE for Mobile Web And Native Apps
 
Mobile Development Choices: Native Apps vs. Web Apps at JAX 2011
Mobile Development Choices: Native Apps vs. Web Apps at JAX 2011Mobile Development Choices: Native Apps vs. Web Apps at JAX 2011
Mobile Development Choices: Native Apps vs. Web Apps at JAX 2011
 
Devoxx2010 - Mobile Development Choices: Native Apps vs Web Apps
Devoxx2010 - Mobile Development Choices: Native Apps vs Web AppsDevoxx2010 - Mobile Development Choices: Native Apps vs Web Apps
Devoxx2010 - Mobile Development Choices: Native Apps vs Web Apps
 
RichFaces skins
RichFaces skinsRichFaces skins
RichFaces skins
 
RichFaces: more concepts and features
RichFaces: more concepts and featuresRichFaces: more concepts and features
RichFaces: more concepts and features
 
Rich Enterprise Applications with JavaFX
Rich Enterprise Applications with JavaFXRich Enterprise Applications with JavaFX
Rich Enterprise Applications with JavaFX
 
Building RIA Applications with JavaFX
Building RIA Applications with JavaFXBuilding RIA Applications with JavaFX
Building RIA Applications with JavaFX
 

Recently uploaded

Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
Fwdays
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
Neo4j
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
Ajin Abraham
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
ScyllaDB
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
Pablo Gómez Abajo
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
DianaGray10
 
Principle of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptxPrinciple of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptx
BibashShahi
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
operationspcvita
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 

Recently uploaded (20)

Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
 
Principle of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptxPrinciple of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptx
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 

Hands On With Rich Faces 4 - JavaOne 2010

  • 1. Exadel Hands-on with RichFaces JavaOne 2010 September 20th, 2010 Max Katz Exadel
  • 2. Exadel Who is this guy? ● Senior Systems Engineer, RIA strategist at Exadel ◦ http://mkblog.exadel.com ◦ http://twitter.com/maxkatz ● JSF/RichFaces consulting, training ● Leads a number of projects: ◦ Exadel Tiggr ◦ Exadel Flamingo ◦ Exadel Fiji ◦ Exadel JavaFX Plug-in for Eclipse
  • 3. Exadel Author of Co-author of RichFaces Practical RichFaces DZone Refcard (Apress)
  • 4. Exadel Exadel ● Products and services company ● Founded in 1998, headquarters in Concord, CA ● 350+ employees City Country Year Concord California, USA 1998 Moscow Russia 1999 Minsk Belarus 2002 Vitebsk Belarus 2005 Donetsk, Kharkov Ukraine 2006
  • 5. Exadel Products ● Open Source with JBoss ◦ RichFaces ◦ JBoss Tools/JBoss Developer Studio ● Tiggr – create and share mockups online ● Flamingo ● Fiji (JSF – JavaFX/Flex integration) ● jsf4birt (JSF – BIRT/Actuate integration) ● JavaFX Plug-in for Eclipse
  • 6. Exadel Services ● Rich enterprise application development ● Eclipse development ● Custom rich component development ● Mobile development ● Training ● Most projects are done in Eastern Europe
  • 7. Exadel The Plan ● Ajax features in JSF 2 ● The new RichFaces 4
  • 8. Exadel JSF 2 ● JSF 2 is a major upgrade over JSF 1.x ● Many features, ideas taken from projects such as Seam and RichFaces, and others
  • 9. Exadel JSF 2 new features ● Facelets ● New scopes ● Composite ◦ Flash, View, components custom ● Navigation ● Configuration ● GET support ◦ Annotations ● BeanValidation ◦ Page parameters support ◦ h:link, h:button ● Ajax ● Resource loading
  • 10. Exadel JSF 2 <f:ajax> ● Basic Ajax functionality ● Greatyinspired by RichFaces 3 <a4j:support> tag ● Ajax in JSF in 3 easy steps: ◦ How to send an Ajax request ◦ Partial view processing ◦ Partial view rendering
  • 11. Exadel 2. What to execute on the server: ● @all 1. <f:ajax> and event takes ● @this (default) care of firing the Ajax ● @form request ● @none ● Id's ● EL <h:commandButton> <f:ajax event="click" execute="@form" render="@form id1 id2"/> <h:commandButton> 3. Partial view rendering: ● @all ● @this ● @form ● @none (default) ● Id's ● EL
  • 12. Exadel Using <f:ajax> <h:commandButton value="Submit" action="#{bean.action}" > <f:ajax event="focus" execute="@form" render="output"/> </h:commandButton> <h:panelGrid id="output"> ... Attaching to button, specifying event </h:panelGrid> <h:commandButton value="Submit" action="#{bean.action}" > <f:ajax execute="@form" render="output output2"/> </h:commandButton> <h:panelGrid id="output"> ... </h:panelGrid> <h:panelGrid id="output2"> ... No event specified, </h:panelGrid> using default event
  • 13. Exadel Using <f:ajax> Default event is onchange <h:inputText value="#{bean.text}" > <f:ajax event="keyup" render="text"/> </h:inputText> <h:outputText id="text" value="#{bean.text}" /> No event specified so using default <h:selectOneListbox id="list" value="#{bean.choice}" > <f:selectItems value="#{cean.choiceList}" /> <f:ajax render="info" listener="#{bean.change}"/> </h:selectOneListbox> <h:panelGrid id="info"> ... </h:panelGrid>
  • 14. Exadel <f:ajax> <h:panelGrid> No default event, no Ajax added <h:selectBooleanCheckbox> onchange <h:inputText> onchange <h:commandButton> onclick </h:panelGrid> </f:ajax> <f:ajax event="click"> <h:panelGrid> onclick <h:selectBooleanCheckbox> onclick <h:inputText> onclick <h:commandButton> onclick and onfocus <f:ajax event="focus"/> </h:commanButton> </h:panelGrid> </f:ajax> <f:ajax event="valueChange"> <h:panelGrid> No Ajax added <h:selectBooleanCheckbox> onchange <h:inputText> onchange <h:commandButton> onfocus <f:ajax event="focus"/> </h:commanButton> </h:panelGrid> </f:ajax>
  • 15. Exadel That's good, but a rich component framework is still need to build real-world Ajax applications.
  • 16. Exadel RichFaces 4 – rich JSF framework ● JSF 2 based ● Ajax components ◦ a4j:* tag library (core) ◦ rich:* tag library (UI) ● Skins and themes ● CDK – Component Development Kit
  • 17. Exadel RichFaces versions Version JSF 1.1 JSF 1.2 JSF 2 RichFaces 3.1.x • RichFaces 3.3.3* • • RichFaces 4 • * Note: RichFaces 3.3.3 has basic JSF 2 support
  • 18. Exadel What about deployment? Any server All browsers (even IE 6)
  • 19. Exadel RichFaces history 2005: started by Alexander Smirnov 2005-2007: Developed by Exadel Ajax4jsf – open source, free RichFaces - commercial 2007: JBoss takes over Exadel team continues to develop the framework
  • 20. Exadel Just tell me when RichFaces 4 is going to be released?
  • 21. Exadel RichFaces 4 JavaScript in RichFaces is now entirely based on the popular jQuery library.
  • 22. Exadel RichFaces 4 ● All components are reviewed for consistency, usability ● Redesigned following semantic HTML principles ● Server-side and client-side performance optimization ● Strict code clean-up and review
  • 23. Exadel RichFaces 4 ● Newand easy to use CDK (Component Development Kit) ● Quickly build your own custom rich components
  • 24. Exadel Google App Engine ● DeployRichFaces application in Google App Engine (GAE) ● Special maven-based plug-in available
  • 25. Exadel RichFaces <a4j:ajax> ● 100% based on standard <f:ajax> ● Just replacef: with a4j: and get exactly the same functionality ● But, you get extra features...
  • 26. Exadel <a4j:ajax> attributes Attribute Description onbegin JavaScript to execute before Ajax request JavaScript to execute after response onbeforedomupdate comes back but before DOM update oncomplete JavaScript to execute after DOM update Skips Update Model and Invoke bypassUpdates Application phases, useful for form validation Skips all a4j:outputPanel limitRender ajaxRender=”true” areas. Only renders what is set in current render status Status to display during Ajax request Sets focus on component after Ajax focus request
  • 27. Exadel RichFaces 4 That's not all, there are more RichFaces goodies...
  • 28. Exadel RichFaces 4 core action – fire an Ajax request ● a4j:ajax ● a4j:commandButton ● a4j:commandLink ● a4j:jsFunction ● a4j:poll ● a4j:push
  • 29. Exadel <a4j:commandButton> – Ajax button /* standard button with f:ajax */ <h:commandButton value="Save" action="#{bean.action}"> <f:ajax execute="@form" render="output"/> </h:commandButton> /* RichFaces button */ <a4j:commandButton value="Save" execute="@form" render="output" action="#{bean.action}" />
  • 30. Exadel <a4j:jsFunction> – fire Ajax request from any JavaScript function <table> ... <td onmouseover="update('yellow')"/> ... </table> <a4j:jsFunction name="update" action="#{bean.change}" reRender="panel"> <a4j:param value="param1" assignTo="#{bean.color}"/> </a4j:jsFunction>
  • 31. Exadel <a4j:poll> – periodically send an Ajax request <a4j:poll interval="1000" action="#{bean.count}" render="output" enabled="#{bean.pollEnabled}" /> <h:panelGrid id="output"> ... </h:panelGrid>
  • 32. Exadel RichFace 4 core – output, panels ● a4j:outputPanel ● a4j:status ● a4j:region ● a4j:queue ● a4j:repeat ● a4j:log
  • 33. Exadel <a4j:outputPanel> – auto rendered panel <h:selectOneMenu value="#{bean.fruit}"> <a4j:ajax listener="#{bean.change}"/> </<h:selectOneMenu> <a4j:outputPanel ajaxRendered="true"> <h:panelGrid> ... </h:panelGrid> Rendered on every <h:panelGrid> Ajax request ... </h:panelGrid> </a4j:outputPanel>
  • 34. Exadel <a4j:status> – Ajax request status <a4j:status name="ajaxSpecial"> <f:facet name="start"> <h:graphicImage value="ajaxStatus.jpg"/> </f:facet> </a4j:status> <h:form> <inputText /> <inputText /> <a4j:commandButton status="ajaxSpecial"/> </h:form>
  • 35. Exadel <a4j:region> – declaratively define execute region <h:form> Execute options: @all● <a4j:region> @this (default) ● <h:inputText /> @form ● <h:inputText /> @none ● Id's● <a4j:commandButton execute="@region"/> EL ● <a4j:region> @region ● </h:form> <h:form> <a4j:region> <h:inputText /> <h:inputText /> <a4j:commandButton /> <a4j:region> </h:form>
  • 36. Exadel <a4j:log> – Ajax request information ● Levels: ◦ debug, info, warn, error
  • 37. Exadel JavaScript interactions <h:commandLink value="Link" <f:ajax onevent="ajaxFunction();"> </h:commandLink> Called three times: 1) begin 2) success 3) complete <a4j:commandLink value="Link" onbegin="alert('Link clicked')" onbeforedomupdate="alert('Response received')" oncomplete="alert('DOM updated')"> </a4j:commandLink> Events are separated
  • 38. Exadel Advanced rendering options <a4j:commandButton render="output"/> <a4j:commandButton render="output" limitRender="true"/> <h:panelGrid id="output"> Turns off all auto rendered panels, ... only renders what is set in current </h:panelGrid> render <a4j:outputPanel ajaxRendered="true"> ... </a4j:outputPanel>
  • 39. Exadel Skipping phases when validating 1.Restore View 2.Apply Request Values 3.Process Validation 4.Update Model 5.Invoke Application 6.Render Response <h:inputText id="name" value="#{bean.name}"/> <a4j:ajax event="blur" bypassUpdates="true"/> </h:inputText> <rich:message for="name"/>
  • 40. Exadel JSF 2 queue ● JSF2 has very basic queue functionality ● Events are queued and fired one at a time ● Only one request is processed on the server at a time
  • 41. Exadel RichFaces queue upgrades ● Delay firing of a request ● Combine requests from one or more controls ● Cancel DOM updates if the same request was fired ● Define queue as: ◦ Global (all views have queue) ◦ View-based ◦ Form-based ◦ Named (used by particular components only)
  • 42. Exadel RichFaces <a4j:queue> <a4j:queue requestDelay="2000"/> ... Delay request by 2 seconds <a4j:commandButton value="Button1"/> <a4j:commandButton value="Button2"/> <a4j:queue requestDelay="2000"/> ... Overwrite default <a4j:commandButton> delay request by 1 second <a4j:attachQueue requestDelay="1000"/> </a4j:commmandButton> <a4j:commandButton />
  • 43. Exadel a4j:queue – “combining” events <a4j:queue requestDelay="2000"/> ... <a4j:commandButton> <a4j:attachQueue requestGroupingId="mainGroup"/> </a4j:commmandButton> <a4j:commandButton> <a4j:attachQueue requestGroupingId="mainGroup"/> </a4j:commmandButton>
  • 44. Exadel a4j:queue – ignoring “stale” responses <a4j:queue requestDelay="2000 ingoreDupResponses="true"/> <h:inputText value="#{bean.state}"> <a4j:ajax event="keyup" listener="#{bean.load}" render="states"/> </h:inputText> <rich:dataTable id="states"> <rich:column/> </rich:dataTable>
  • 45. Exadel RichFaces UI components ● Data iteration ● Output, panels ● Input ● Menu ● Trees ● Selects ● Layout ● Client side validation ● Miscellaneous
  • 46. Exadel Rich data iteration ● a4j:repeat ● rich:dataScroller ● rich:dataTable ● rich:column ● rich:extendedDataTable ● Columnand row ● rich:subTable spanning ● Filtering, sorting ◦ rich:subTableToggleControl ● rich:list ● rich:dataGrid
  • 47. Exadel Partial update render="@column" render="@header" render="@row" render="@body" render="@footer" render="cellId" To render from outside the table: render="tableId@header" render="tableId@body" render="tableId@footer"
  • 48. Exadel Partial update render="tableId:#{bean.rowsSet}" render="tableId:#{bean.rowsSet}:cellId"
  • 49. Exadel Rich output, panels ● rich:panel ● rich:message(s) ● rich:togglePanel ● rich:paint2D ● rich:accordion ● rich:separator ● rich:popupPanel ● rich:toolBar ● rich:tabPanel ● rich:toolTip ● rich:panelBar ● rich:panelMenu ● rich:collapsiblePanel
  • 50. Exadel Rich input ● rich:autocomplete ● rich:inputNumberSlider ● rich:inputNumberSpinner ● rich:inplaceInput ● rich:calendar ● rich:colorPicker ● rich:editor ● rich:fileUpload
  • 52. Exadel Rich tree ● rich:tree ● rich:treeNode ● Listeners
  • 53. Exadel Rich selects ● rich:orderingList ● rich:pickList ● rich:listShuttle ● rich:selectBox ● rich:inplaceSelect
  • 54. Exadel Rich layout ● rich:page ● rich:layout ◦ rich:layoutPanel ● rich:splitter
  • 55. Exadel Bean Validation (JSR 303) ● JSF 2 has support for Bean Validation (on the server) public class Bean { @Email private String email; } <h:inputText id="email" value="#{bean.email}"> <a4j:ajax event="blur"/> </h:inputText> <rich:message for="email"/>
  • 56. Exadel RichFaces client validation Public class Bean { @Email private String email; } <h:inputText id="email" value="#{bean.email}"> <rich:clientValidator event="blur"/> </h:inputText> <rich:message for="email"/>
  • 57. Exadel RichFaces client functions Function Description rich:client(id) returns component client id rich:element(id) returns DOM element returns RichFaces client component rich:component(id) instance to call JS API method rich:isUserInRole(role) returns if the user has specified role returns component instance for given rich:findComponent(id) short id
  • 58. Exadel rich:component(id) function ● Allows to call JS API on a component <input type="button" onclick="#{rich:component('popup')}.show();" value="Open" /> <rich:popupPanel id="popup"> <h:outputLink value="#" onclick="#{rich:component('popup')}.hide(); return false;"> <h:outputText value="Close"/> </h:outputLink> </rich:popupPanel>
  • 59. Exadel Rich miscellaneous ● rich:componentControl ● rich:jQuery ● rich:hotKey ● rich:gmap ● rich:virtualEarth
  • 60. Exadel <rich:componentControl> ● Allows to call JS API on a component in declarative fashion <h:outputLink id="openLink" value="#"> <h:outputText value="Open" /> <rich:componentControl event="click" operation="show" target="popup" /> </h:outputLink> <rich:popupPanel id="popup"> ... </rich:popupPanel>
  • 61. Exadel <rich:jQuery> <input type="button" id="changeButton" value="Change title" /> <rich:jQuery selector="#changeButton" query="click(function(){ $('#panel #panel_header').text('Capital of Russia'); })"/> <rich:panel header="Moscow" id="panel"> Moscow is the capital, the most populous ... </rich:panel>
  • 63. Exadel Skins ● Lightweight extension on top of CSS ● Change look and feel of all Rich component with a few minor changes ● Can be applied to standard JSF and HTML tags as well
  • 64. Exadel Ready-to-use skins ● classic ● emeraldTown ● blueSky ● ruby ● wine ● deepMarine ● plain ● japanCherry ● laguna <context-param> <param-name>org.richfaces.skin</param-name> ● glassX <param-value>ruby</param-value> </context-param> ● darkX
  • 65. Exadel Skin file (properties file) #Colors headerBackgroundColor=#900000 headerGradientColor=#DF5858 headerTextColor=#FFFFFF headerWeightFont=bold generalBackgroundColor=#f1f1f1 generalTextColor=#000000 generalSizeFont=11px generalFamilyFont=Arial, Verdana, sans-serif controlTextColor=#000000 controlBackgroundColor=#ffffff additionalBackgroundColor=#F9E4E4
  • 66. Exadel Skins ● Modify existing or create your own <context-param> <param-name>org.richfaces.skin</param-name> <param-value>myCustomSkin</param-value> </context-param> ● Change skins in runtime <context-param> <param-name>org.richfaces.skin</param-name> <param-value>#{bean.skin}</param-value> </context-param>
  • 67. Exadel Overwriting skins <style> .rf-p-hr { // your custom style, applied to all panels on // on page } .panelHeader { // custom header style } </style> <rich:panel id="panel1"> ... </rich:panel id="panel2"> <rich:panel headerClass="panelHeader"> ... </rich:panel>
  • 69. Exadel That's it for RichFaces, there is one more thing I want to show you.
  • 70. Exadel A peek at the future: Going Beyond JavaServer Faces 2.0 with RichFaces 4 Tuesday, September 21 9:30am Golden Gate 6/7 Jay Balunas, Red Hat Alexander Smirnov, Exadel
  • 73. Exadel Exadel Tiggr ● Create, collaborate and share mockups online ● RichFaces palette ● Upcoming features ◦ HTML generation ◦ More widgets and controls ● Give it a try - http://tiggr.exadel.com
  • 75. Exadel How can we help with RichFaces ● Webapplication development with RichFaces ● Custom component development ● Training: Training Days JSF 1.2, 2 1-2 RichFaces 3, 4 1-2 JSF and RichFaces 2-3 RichFaces 3 to 4 1-2
  • 76. Exadel Thank you! ● max@exadel.com ● http://mkblog.exadel.com ● http://twitter.com/maxkatz ● http://exadel.org