An update on the latest strategies for building Ajax applications with JavaServer Faces

Similar documents
Ajax and JSF: Natural Synergy

Happy Birthday, Ajax4jsf! A Progress Report

Tooling for Ajax-Based Development. Craig R. McClanahan Senior Staff Engineer Sun Microsystems, Inc.

Java EE 6: Develop Web Applications with JSF

JavaServer Faces Technology, AJAX, and Portlets: It s Easy if You Know How!

JSF 2.0: Insight and Opinion

Seam 3. Pete Muir JBoss, a Division of Red Hat

Improve and Expand JavaServer Faces Technology with JBoss Seam

JSF 2.0: Insight and Opinion

jmaki Overview Sang Shin Java Technology Architect Sun Microsystems, Inc.

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

If you wish to make an improved product, you must already be engaged in making an inferior one.

Comparing Java Web Frameworks

Delivering Rich Internet Applications with Ajax4jsf

Oracle Fusion Middleware 11g: Build Applications with ADF Accel

GWT and jmaki: Expanding the GWT Universe. Carla Mott, Staff Engineer, Sun Microsystems Greg Murray, Ajax Architect, Sun Microsystems

Oracle Developer Day

PGT T3CHNOLOGY SCOUTING. Google Webtoolkit. JSF done right?

Oracle Fusion Middleware 11g: Build Applications with ADF I

eclipse rich ajax platform (rap)

Best Practices for JSF Portlet Migration and Development

Unveiling Zend Studio 8.0

Contents. 1. JSF overview. 2. JSF example

ICIT. Brian Hiller ESRI Account Manger. What s new in ArcGIS 10

Oracle Middleware 12c: Build Rich Client Applications with ADF Ed 1 LVC

Oracle Fusion Middleware 11g: Build Applications with ADF I

Oracle Developer Day

Rails powered by GlassFish & jmaki

<Insert Picture Here> Advanced ADF Faces. Frank Nimphius Principal Product Manager

Oracle Application Development Framework Overview

Comparing Web Frameworks JSF, Spring MVC, Stripes, Struts 2, Tapestry and Wicket

<Insert Picture Here> Accelerated Java EE Development: The Oracle Way

AD406: What s New in Digital Experience Development with IBM Web Experience Factory

RIA Security - Broken By Design. Joonas Lehtinen IT Mill - CEO

AJAX Workshop. Karen A. Coombs University of Houston Libraries Jason A. Clark Montana State University Libraries

Services Interoperability With Java Technology and.net: Technologies for Web 2.0

Android Programming A Step By Step Guide For Beginners Create Your Own Apps

Full Stack Web Developer

Outline. AJAX for Libraries. Jason A. Clark Head of Digital Access and Web Services Montana State University Libraries

AJAX, Rich Internet Applications, And Web Development For Programmers (Deitel Developer Series) PDF

VTRemote An Android Application for the VirtuTrace 3D Simulator

Mix It Up: Visual Studio 2010 and ASP.NET 4.0. Singapore 25 March 2009

Jboss Enterprise Platform & Red Hat Partnering

dotnettips.com 2009 David McCarter 1

Steps to Set Up the Environment of Xamarin in Visual

FlexJS. OmPrakash Apache Flex PMC Member Advisory Software Engineer, IBM

Developing Applications with Java EE 6 on WebLogic Server 12c

Developing Cross Device Mobile Applications

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Ajax and Web 2.0 Related Frameworks and Toolkits. Dennis Chen Director of Product Engineering / Potix Corporation

Tools for Mobile Web Eclipse Day Paul Beusterien Symbian Foundation August 26, 2010

Developing Applications for IBM WebSphere Portal 7.0

Simple AngularJS thanks to Best Practices

Angular 2 and Hexo. Static Meets Dynamic For the Best of Both Worlds! Copyright 2016 Code Career Academy

Performance evaluation of J2EE

WEB SECURITY WORKSHOP TEXSAW Presented by Solomon Boyd and Jiayang Wang

Jakarta Struts: An MVC Framework

Where Do We Go From Here? Why Many IT Staff are Living in the Past

Developing Ajax Web Apps with GWT. Session I

Tools to Develop New Linux Applications

Seam Tools Tutorial. Version: Final-SNAPSHOT

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Setup and Getting Startedt Customized Java EE Training:

Expert Guidance on Migrating from Magento 1 to Magento 2

Ben Livshits and Úlfar Erlingsson. Microsoft Research

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. RichFaces

(p t y) lt d. 1995/04149/07. Course List 2018

Integrating Seam and GWT

A Closer Look at XPages in IBM Lotus Domino Designer 8.5 Ray Chan Advisory I/T Specialist Lotus, IBM Software Group

Introduction to AngularJS

But before understanding the Selenium WebDriver concept, we need to know about the Selenium first.

Sun Java Studio Creator. Ken Paulsen Staff Engineer Sun Microsystems, Incorporated (Slides by: Craig R. McClanahan)

Portlets and Ajax: Building More Dynamic Web Apps

Building Mashups Using the ArcGIS APIs for FLEX and JavaScript. Shannon Brown Lee Bock

0.9: Faster, Leaner and Dijit? July 25, 2007 Dylan Schiemann. presented by

Overview. Principal Product Manager Oracle JDeveloper & Oracle ADF

Oracle Forms Modernization Through Automated Migration. A Technical Overview

CHAPTER 9: Super Jumper: A 2D OpenGL ES Game

JavaScript: Getting Started

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Handbook Design Templates For Website Html5 And Css3 And Jquery

Pick A Winner! In What Tool Should I Develop My Next App?

From RPG OA to PHP: IBM i Modernization and Mobile Approaches

Website Development Lecture 18: Working with JQuery ================================================================================== JQuery

Read & Download (PDF Kindle) PHP Ajax Cookbook

P a g e 1. Danish Technological Institute. Scripting and Web Languages Online Course k Scripting and Web Languages

The course also includes an overview of some of the most popular frameworks that you will most likely encounter in your real work environments.

XPages development practices: developing a common Tree View Cust...

ADF OAF Who Cares? You Do! Oracle Applications Framework / Application Development Framework - Which way do I go?

AJAX Programming Chris Seddon

AngularJS Fundamentals

IBM Rational Developer for System z Version 7.5

Building Java Applications Using the ArcGIS Server Web ADF and AJAX

EUCOM/AFRICOM DEFENSE USER GROUP MEETING MARCH 2010 STUTTGART WELCOME!

HOW REACT NATIVE AND NATIVESCRIPT CHANGE YOUR MOBILE STRATEGY SEBASTIAN

Merging Ajax and Accessibility

RAP (The Rich Ajax Platform)

Etanova Enterprise Solutions

Mastering JavaServer Faces

<Insert Picture Here> The Oracle Fusion Development Platform: Oracle JDeveloper and Oracle ADF Overview

Transcription:

JSF and Ajax An update on the latest strategies for building Ajax applications with JavaServer Faces Chris Schalk Co-Author of JSF: The Complete Reference / Google Developer Advocate

The Basics - A bit of review for JSF JSF s original goals (from 2001) Provide an easy to use component based Web application development framework Make it easy to integrate with IDEs Encourage OpenSource community to contribute libraries of components 2

The Basics - A bit of review for JSF So are we there yet? Yes Numerous IDEs support visual development of JSF Applications (Studio Creator/Netbeans, Eclipse, JDeveloper, Exadel..) Many Component libraries now exist.. JSFCentral.com has a good list 3

JSF and Ajax - do they work together? So what about Ajax? Is it possible to build Ajax applications with JSF? Yes, but there are different approaches.. 4

JSF and Ajax development development approaches How JSF and Ajax can work together 1. Just use Ajax JavaScript in your page templates 2. Code your Ajax JavaScript into JSF components 3. Leverage from a growing collection of Ajax-JSF frameworks 5

1. Placing JS in your template pages The most practical/easy way to inject some Web 2.0 functionality into your JSF UI Can add your own JS, or leverage from existing Ajax JavaScript toolkits/frameworks Dojo Yahoo UI JQuery Prototype, Scriptaculous 6

Placing JS in your template pages - Pros/Cons Pros Technically straight forward Easy for simple/small stuff Cons Working with more advanced JavaScript can be challenging for Java crowd. i.e. you have to get your hands dirty with client script. Can be hard to debug application Look for errors on both server and client 7

2. Code your Ajax JavaScript into JSF components By using JSF UI component technology it is possible to writing your own components that render JavaScript into the client This is doable because JSF can render any markup on the client // Render customized Javascript for slider writer.write("<script language=\"javascript\" src=\"" + contextpath + "/js/jsslider.js\"></script>"); 8

Doing your own JSF Ajax components - Pros/Cons Pros Architecturally solid End user/application developer can easily use - instead of dealing with JS. Cons Can be challenging to build from a technical standpoint Have to be an Ajax/client expert as well as an serverside/jsf expert Hard to debug when developing components 9

3. Leverage from existing JSF Ajax Components Can now download various JSF component libraries which are largely OS Can plug and go! IDE support is also available for many Exadel, JDeveloper The most interesting ones are: JMaki RichFaces IceFaces ADF Faces (Trinidad) Rich Client 10

Leverage existing JSF Ajax Components - Pros/Cons Pros Easiest approach Don t have to deal with JavaScript complexities Can pick from a growing collection of libraries Cons If everything works, great! Can still be hard to debug on the client This is because client code is rendered from client - you have little or no control over this 11

Ajax JSF Components Demos Checkout these components JBoss RichFaces (Ajax4JSF) Jmaki IceFaces ADF Faces Rich Client 12

What about the future of JSF? JSF 2.0 in the works Being architected to make Ajax programming easier Easier to bypass full JSF lifecycle For Ajax requests/partial component tree traversal Build tree/render tree Bookmarkable JSF pages Easier to build custom components Easier configuration Standard component set will include rich components (datepicker, tree, tabview etc.) Targeted for Java EE 08 13

More Info JSF The Complete Reference Chris Schalk/Ed Burns Covers Ajax JSF component Development Blog: http://jroller.com/page/cschalk 14