Post on 28-May-2015
Building AJAX Enabled JSF Componentsajax and the dojo - myfaces integration
Bill DudneyVirtuas Open Source Solutions
Colorado Software Summit: October 22 – 27, 2006 © Copyright 2006, Virtuas Open Source Solutions
Bill Dudney — Building AJAX Enabled JSF Components — ajax and the dojo - myfaces integration Page 1
AJAX
hysteria, hype or real stuff?
Colorado Software Summit: October 22 – 27, 2006 © Copyright 2006, Virtuas Open Source Solutions
Bill Dudney — Building AJAX Enabled JSF Components — ajax and the dojo - myfaces integration Page 2
Stats
157,000,000 hits (google ‘ajax’)
102,000 hits (google ‘ajax library’)
40,400 hits (google ‘ajax conference’)
21,800 hits (google ‘ajax component’)
154,000,000 hits (google `ajax !cleaner`)
Colorado Software Summit: October 22 – 27, 2006 © Copyright 2006, Virtuas Open Source Solutions
Bill Dudney — Building AJAX Enabled JSF Components — ajax and the dojo - myfaces integration Page 3
AJAX?
Colorado Software Summit: October 22 – 27, 2006 © Copyright 2006, Virtuas Open Source Solutions
Bill Dudney — Building AJAX Enabled JSF Components — ajax and the dojo - myfaces integration Page 4
Compare
Java - WebStart
Thin Client
RCP (Eclipse)
Platform (NetBeans)
Flex
Colorado Software Summit: October 22 – 27, 2006 © Copyright 2006, Virtuas Open Source Solutions
Bill Dudney — Building AJAX Enabled JSF Components — ajax and the dojo - myfaces integration Page 5
JSF
Colorado Software Summit: October 22 – 27, 2006 © Copyright 2006, Virtuas Open Source Solutions
Bill Dudney — Building AJAX Enabled JSF Components — ajax and the dojo - myfaces integration Page 6
JSP
Colorado Software Summit: October 22 – 27, 2006 © Copyright 2006, Virtuas Open Source Solutions
Bill Dudney — Building AJAX Enabled JSF Components — ajax and the dojo - myfaces integration Page 7
Bean
Colorado Software Summit: October 22 – 27, 2006 © Copyright 2006, Virtuas Open Source Solutions
Bill Dudney — Building AJAX Enabled JSF Components — ajax and the dojo - myfaces integration Page 8
Configuration
Colorado Software Summit: October 22 – 27, 2006 © Copyright 2006, Virtuas Open Source Solutions
Bill Dudney — Building AJAX Enabled JSF Components — ajax and the dojo - myfaces integration Page 9
RequestFaces Servlet Restore View
Apply Request Values
Process Validations
Update Model Values
Invoke Application
Render Response
Response
Each of these phases can optionally skip to
Render Response
Colorado Software Summit: October 22 – 27, 2006 © Copyright 2006, Virtuas Open Source Solutions
Bill Dudney — Building AJAX Enabled JSF Components — ajax and the dojo - myfaces integration Page 10
Custom Components
Colorado Software Summit: October 22 – 27, 2006 © Copyright 2006, Virtuas Open Source Solutions
Bill Dudney — Building AJAX Enabled JSF Components — ajax and the dojo - myfaces integration Page 11
<<UIComponent>>HtmlFishEyeNavigationMenu
<<tag>>HtmlFishEyeNavigationMenuTag
<<render>>HtmlFishEyeNavigationMenuRenderer
Colorado Software Summit: October 22 – 27, 2006 © Copyright 2006, Virtuas Open Source Solutions
Bill Dudney — Building AJAX Enabled JSF Components — ajax and the dojo - myfaces integration Page 12
<<render>>HtmlFishEyeNavigationMenuRenderer
Colorado Software Summit: October 22 – 27, 2006 © Copyright 2006, Virtuas Open Source Solutions
Bill Dudney — Building AJAX Enabled JSF Components — ajax and the dojo - myfaces integration Page 13
<<UIComponent>>HtmlFishEyeNavigationMenu
Colorado Software Summit: October 22 – 27, 2006 © Copyright 2006, Virtuas Open Source Solutions
Bill Dudney — Building AJAX Enabled JSF Components — ajax and the dojo - myfaces integration Page 14
<<tag>>HtmlFishEyeNavigationMenuTag
Colorado Software Summit: October 22 – 27, 2006 © Copyright 2006, Virtuas Open Source Solutions
Bill Dudney — Building AJAX Enabled JSF Components — ajax and the dojo - myfaces integration Page 15
dojo
Colorado Software Summit: October 22 – 27, 2006 © Copyright 2006, Virtuas Open Source Solutions
Bill Dudney — Building AJAX Enabled JSF Components — ajax and the dojo - myfaces integration Page 16
dojo <=> MyFaces
Colorado Software Summit: October 22 – 27, 2006 © Copyright 2006, Virtuas Open Source Solutions
Bill Dudney — Building AJAX Enabled JSF Components — ajax and the dojo - myfaces integration Page 17
MyFaces Fisheye
Demo
Colorado Software Summit: October 22 – 27, 2006 © Copyright 2006, Virtuas Open Source Solutions
Bill Dudney — Building AJAX Enabled JSF Components — ajax and the dojo - myfaces integration Page 18