Advanced Graphics Components Using JavaServer Faces Technology. Christophe Jolif Architect ILOG S.A.

Size: px
Start display at page:

Download "Advanced Graphics Components Using JavaServer Faces Technology. Christophe Jolif Architect ILOG S.A."

Transcription

1 Advanced Graphics Components Using JavaServer Faces Technology Christophe Jolif Architect ILOG S.A.

2 Goal of the Session Learn how to build JavaServer Faces technology advanced graphics components Learn how to leverage DHTML and Scalable Vector Graphics technologies to build JavaServer Faces technology advanced graphics components to enrich your web application user interfaces

3 Simple UI Components are not Enough! For my web application simple UI components are not enough! How can I add interactive advanced graphics to this application while still using the standard JavaServer Faces (JSF) framework?

4 Agenda Introducing JSF, DHTML and SVG technologies Building JSF advanced 2D graphics components The chart component example with DHTML and SVG render kits Comparison between DHTML and SVG architectures Summary

5 Agenda Introducing JSF, DHTML and SVG technologies Building JSF advanced 2D graphics components The chart component example with DHTML and SVG render kits Comparison between DHTML and SVG architectures Summary

6 Introduction JSF A Server-side Component Framework A component framework for building user interfaces for web applications A set of APIs for representing UI components, managing state, handling events inputs and defining page navigation A JavaServer Pages (JSP) core tag library A set of predefined server-side components and an HTML render kit implementation

7 Introduction JSF How to Use it? Basic Use Develop the model objects and register them Create the JSP pages Define page navigation Customizing Extending Adding new render kits Defining new components

8 Introduction JSF Example: The Model Bean package mypackage; public class PresentationModel { private String title; public void settitle(string title) { this.title = title; public String gettitle() { return this.title;

9 Introduction JSF Example: The JSP Page <html> taglib uri= prefix= h %> <%@ taglib uri= prefix= f %> <body> <f:view> <h2>enter your presentation title</h2> <h:form id= titleform > <h:inputtext id= title value= #{PresentationModel.title <h:commandbutton action= success value= Submit Title /> </h:form> </f:view> </body> </html>

10 Introduction DHTML DHTML: Dynamic HTML Widespread technology Original core HTML enhanced with a scriptable document model Used to be incompatible between browsers Provides simple UI components

11 Introduction DHTML DHTML and Advanced Graphics Components Nearly everything can be displayed by heavily relying on layering ( <div> ) and raster images Some advanced interaction can be performed by relying on scripting

12 Introduction SVG Scalable Vector Graphics SVG is an XML syntax for rich, interactive and interoperable 2D vector and raster graphics SVG 1.1 is a World Wide Wide Consortium (W3C) Recommendation SVG 1.2 is under specification and will add more features to build web applications

13 Introduction SVG Code Sample <svg width="100%" height="100%"> <g transform="scale(2,2)"> <circle cx="100" cy="100" r="100" fill="rgb(204,51,51)" stroke="rgb(102,102,153)"/> <rect id="rect" x="0" y="0" width="200" height="200" fill="rgb(51,102,153)" stroke="rgb(153,51,0) opacity="1"> <animate attributename="opacity" fill="freeze to="0" dur="5s" begin="rect.click"/> </rect> </g> </svg>

14 Introduction SVG Good Match for Advanced Graphics Components SVG provides the needed drawing primitives Component s look can be designed by artists in drawing authoring tools Component logic can be developed by coders that have access to full DOM capabilities XML based, so integrates well in server-side workflows SVG is standardized and is accepted by a wide range of devices

15 Agenda Introducing JSF, DHTML and SVG technologies Building JSF advanced 2D graphics components The chart component example with DHTML and SVG render kits Comparison between DHTML and SVG architectures Summary

16 Advanced 2D Graphics Components Definition An advanced 2D graphics component goes beyond simple UI components to provide enhanced feedback and interaction to the user Examples: Charts components Map components Why should you care? To display new types of data To improve user experience on all kinds of data

17 Advanced 2D Graphics Components DHTML + Servlet/JSP Examples SVG + Servlet/JSP Examples

18 Advanced 2D Graphics Components Why JSF? DHTML or SVG components provide the client-side display and interaction JSF is the standardized server-side framework To generate the client representation To handle and validate the user inputs To manage the component state To synchronize with the business data model IDE support

19 Advanced 2D Graphics Components The Task List Create a JSP tag handler and its descriptor Create the server-side component classes Create the renderer(s) Register the components and the renderers

20 Agenda Introducing JSF, DHTML and SVG technologies Building JSF advanced 2D graphics components The chart component example with DHTML and SVG render kits Comparison between DHTML and SVG architectures Summary

21 Chart JSF Component Example Write an Abstract Tag Handler public abstract class ChartTag extends UIComponentTag { protected void setproperties(uicomponent c) { super.setproperties(c); if (url!= null) c.getattributes().put( url, url); //... public void seturl(string url) { this.url = url; public void setdatasourceid(string datasource) { this.datasource = datasource; public void settype(string type) { this.type = type; // PIE, BAR...

22 Chart JSF Component Example Create the Basic JSF Server-side Component public class ChartComponent extends UIGraphic { public void setdatasourceid(string datasource) { this.datasource = datasource; public Object savestate(facescontext ctx) { Object values[] = new Object[3]; values[0] = super.savestate(context); values[1] = datasource; //... return values; public void restorestate(facescontext ctx, Object state) { Object[] values = (Object[])state; super.restorestate(context, values[0]); setdatasource((string)values[1]); //...

23 Chart JSF Component Example DHTML Specific Tag Handler (and Component) public class HTMLChartTag extends ChartTag { public String getcomponenttype() { return HTMLChartComponent ; public String getrenderertype() { return HTMLChartRenderer ; protected void setproperties(uicomponent c) { super.setproperties(c); if (imageformat!= null) c.getattributes().put( imageformat, imageformat); //... public void setimageformat(string format) { this.format = format; // GIF, PNG, JPG...

24 Chart JSF Component Example Develop the DHTML Renderer public class HTMLChartRenderer extends Renderer { public void decode(facescontext ctx, UIComponent c) { super.decode(ctx, c); Map parametermap = ctx.getexternalcontext().getrequestparametermap(); String url = (String)map.get( url ); if (url!= null) ((HTMLChartComponent)c).setUrl(url); //... public void encodeend(facescontext ctx, UIComponent c) throws IOException { super.encodeend(ctx, c); HTMLChartComponent chart = (HTMLChartComponent)c; ResponseWriter writer = ctx.getresponsewriter(); writer.startelement( img ); writer.writeattribute( src, chart.geturl()); writer.endelement( img );

25 Chart JSF Component Example Leverage a Chart Raster Image Generator The image generator Servlet uses a Chart rendering engine that dumps drawings to a Graphics2D A Graphics2D is obtained from a BufferedImage and passed to the Chart engine The BufferedImage is encoded according to the required image type and sent back to the client

26 Chart JSF Component Example JSF/DHTML Usage Sample <html> <f:view> <h:form> <jch:chart id= thechart servlet= datasourceid= ds1 interactorid= pan type= bar imageformat= PNG /> <jch:paninteractor id= pan /> <jc:xmldatasource id= ds1 value= data/chart.xml /> <jc:memorydatasource id= ds2 value= #{Model.dataSource /> <h:selectonemenu onchange= thechart.setdatasourceid( this.options[this.selectedindex].value) > <f:selectitem itemlabel= ds1 itemvalue= ds1 /> <f:selectitem itemlabel= ds2 itemvalue= ds2 /> </h:selelectonemenu> </h:form> </f:view> </html>

27 Chart JSF Component Example Lessons Learned Use an additional Servlet for the image: Avoid full page roundtrip Avoid forcing JSF validation when unnecessary Use the session to communicate information between JSF and the image generator Servlet Create script objects for each component Leverage client-side actions Put local changes into hidden input tags to be saved in the JSF context

28 Chart JSF Component Example Develop the SVG Renderer public class SVGChartRenderer extends Renderer { public void encodeend(facescontext ctx, UIComponent c) throws IOException { super.encodeend(ctx, c); SVGChartComponent chart = (SVGChartComponent)c; ResponseWriter writer = ctx.getresponsewriter(); writer.startelement( image ); writer.writeattribute( xlink:href, chart.geturl()); writer.endelement( image );

29 Chart JSF Component Example SVG Chart Generation Simple solution similar to DHTML one leveraging Batik SVG Generator Smarter solution: Don t regenerate the whole SVG each time but use a client-side cache Transfer only the additional data Dynamically generate the client-side rendering

30 Chart JSF Component Example JSF/SVG Usage Sample <svg width= 100% height= 100% > <f:view> <js:form> <jcs:chart id= thechart interactorid= ds1 url= datasourceid= pan type= bar width= 80% height= 100% /> <jcs:paninteractor id= pan /> <jc:xmldatasource id= ds1 value= data/chart.xml /> <rect x= 80% y= 0% width= 20% height= 100% stroke= blue fill= none /> <jcs:legend chartid= thechart x= 80% y= 0% width= 20% height= 100% </js:form> </f:view> </svg>

31 Chart JSF Component Example Lessons Learned To fully leverage SVG: The entire chart should not be regenerated All actions that do not require roundtrip must be performed on the client An SVG <h:form> equivalent must be coded to submit data to JSF SVG brings better experience to the user by reducing server roundtrips and providing smarter interaction and display

32 Demo JSF Charts 32

33 Agenda Introducing JSF, DHTML and SVG technologies Building JSF advanced 2D graphics components The chart component example with DHTML and SVG render kits Comparison between DHTML and SVG architectures Summary

34 DHTML and SVG Architectures Comparison DHTML SVG Image partial updates No Yes Fully client-side actions No Yes High end interaction Difficult Yes Download size ~Fixed Proportional Plugin free Yes No Fully standardized No Yes Maintenance cost High Medium

35 DHTML and SVG Architectures What s Next DHTML has reached its maturity, compatibility across browsers may still improve SVG goes into the web application space with the SVG 1.2 draft specification Advanced graphics components would benefit from JSF built-in incremental update support

36 Agenda Introducing JSF, DHTML and SVG technologies Building JSF advanced 2D graphics components The chart component example with DHTML and SVG render kits Comparison between DHTML and SVG architectures Summary

37 Summary Advanced graphics components need a server-side framework such as JSF JSF based components can be easily assembled in JSF-enabled IDEs JSF lacks built-in incremental update support SVG brings: Advanced graphics and interaction capabilities The ability to limit roundtrip requests

38 If You Remember Only One Thing... Do not hesitate to extend JSF framework to build SVG or DHTML advanced graphics components to enrich your web application user interfaces

39 For More Information JavaServer Faces Technology Java and SVG Technologies Batik Toolkit: Bring SVG power to Java applications: svg ILOG JViews: SVG Adobe SVG Viewer:

40 40 Q&A

41 Advanced Graphics Components Using JavaServer Faces Technology Christophe Jolif Architect ILOG S.A.

White Paper AJAX. for Graphics-Intensive Web Applications

White Paper AJAX. for Graphics-Intensive Web Applications White Paper AJAX for Graphics-Intensive Web Applications AJAX for Graphics-Intensive Web Applications White Paper ILOG, May 2006 Do not duplicate without permission. ILOG, CPLEX and their respective logotypes

More information

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

JavaServer Faces Technology, AJAX, and Portlets: It s Easy if You Know How! TS-6824 JavaServer Faces Technology, AJAX, and Portlets: It s Easy if You Know How! Brendan Murray Software Architect IBM http://www.ibm.com 2007 JavaOne SM Conference Session TS-6824 Goal Why am I here?

More information

JSF. What is JSF (Java Server Faces)?

JSF. What is JSF (Java Server Faces)? JSF What is JSF (Java Server Faces)? It is application framework for creating Web-based user interfaces. It provides lifecycle management through a controller servlet and provides a rich component model

More information

HTML5 - SVG. SVG is mostly useful for vector type diagrams like Pie charts, Two-dimensional graphs in an X,Y coordinate system etc.

HTML5 - SVG. SVG is mostly useful for vector type diagrams like Pie charts, Two-dimensional graphs in an X,Y coordinate system etc. http://www.tutorialspoint.com/html5/html5_svg.htm HTML5 - SVG Copyright tutorialspoint.com SVG stands for Scalable Vector Graphics and it is a language for describing 2D-graphics and graphical applications

More information

CS474 MULTIMEDIA TECHNOLOGY

CS474 MULTIMEDIA TECHNOLOGY CS474 MULTIMEDIA TECHNOLOGY Pr. G. Tziritas, Spring 2018 SVG Animation Tutorial G. Simantiris (TA) OVERVIEW Introduction Definitions SVG Creating SVGs SVG basics Examples Animation using software Examples

More information

Oracle Developer Day

Oracle Developer Day Oracle Developer Day Sponsored by: J2EE Track: Session #3 Developing JavaServer Faces Applications Name Title Agenda Introduction to JavaServer Faces What is JavaServer Faces Goals Architecture Request

More information

Java TM. JavaServer Faces. Jaroslav Porubän 2008

Java TM. JavaServer Faces. Jaroslav Porubän 2008 JavaServer Faces Jaroslav Porubän 2008 Web Applications Presentation-oriented Generates interactive web pages containing various types of markup language (HTML, XML, and so on) and dynamic content in response

More information

AJAX in Apache MyFaces A New Approach To Web Applications

AJAX in Apache MyFaces A New Approach To Web Applications AJAX in Apache MyFaces A New Approach To Web Applications Gerald Müllan Matthias Weßendorf 1 Gerald Müllan Apache MyFaces contributor Web-Engineer with focus on JavaServer Faces Integration of AJAX into

More information

Contents. 1. JSF overview. 2. JSF example

Contents. 1. JSF overview. 2. JSF example Introduction to JSF Contents 1. JSF overview 2. JSF example 2 1. JSF Overview What is JavaServer Faces technology? Architecture of a JSF application Benefits of JSF technology JSF versions and tools Additional

More information

Three hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE. Date: Friday 21 st May Time:

Three hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE. Date: Friday 21 st May Time: COMP67032 Three hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE Building Web Applications Date: Friday 21 st May 2010 Time: 14.00 17.00 Answer Question 1 from Section A and TWO questions out

More information

Introduction to Java Server Faces(JSF)

Introduction to Java Server Faces(JSF) Introduction to Java Server Faces(JSF) Deepak Goyal Vikas Varma Sun Microsystems Objective Understand the basic concepts of Java Server Faces[JSF] Technology. 2 Agenda What is and why JSF? Architecture

More information

USING SVG XML FOR REPRESENTATION OF HISTORICAL GRAPHICAL DATA

USING SVG XML FOR REPRESENTATION OF HISTORICAL GRAPHICAL DATA Преглед НЦД 9 (2006), 39 45 Dušan Tošić, Vladimir Filipović, (Matematički fakultet, Beograd) Jozef Kratica (Matematički institut SANU, Beograd) USING SVG XML FOR REPRESENTATION OF HISTORICAL GRAPHICAL

More information

Server-Side Graphics

Server-Side Graphics Server-Side Graphics SET09103 Advanced Web Technologies School of Computing Napier University, Edinburgh, UK Module Leader: Uta Priss 2008 Copyright Napier University Graphics Slide 1/16 Outline Graphics

More information

USING SVG XML FOR REPRESENTATION OF HISTORICAL GRAPHICAL DATA

USING SVG XML FOR REPRESENTATION OF HISTORICAL GRAPHICAL DATA Преглед НЦД 9 (2006), 39 45 Dušan Tošić, Vladimir Filipović, (Matematički fakultet, Beograd) Jozef Kratica (Matematički institut SANU, Beograd) USING SVG XML FOR REPRESENTATION OF HISTORICAL GRAPHICAL

More information

Essentials on Performant JavaServer Faces Apps. Client Versus Server Side

Essentials on Performant JavaServer Faces Apps. Client Versus Server Side Essentials on Performant JavaServer Faces Apps Client Versus Server Side What can you expect? Understand the performance implications of state saving options in JSF Agenda 1. What is JSF state saving?

More information

Oracle Developer Day

Oracle Developer Day Oracle Developer Day Sponsored by: Session5 Focusing on the UI Speaker Speaker Title Page 1 1 Agenda Building the User Interface UI Development Page Flow A Focus on Faces Introducing Java Server Faces

More information

Fast Track to Java EE

Fast Track to Java EE Java Enterprise Edition is a powerful platform for building web applications. This platform offers all the advantages of developing in Java plus a comprehensive suite of server-side technologies. This

More information

Copyright Descriptor Systems, Course materials may not be reproduced in whole or in part without prior written consent of Joel Barnum

Copyright Descriptor Systems, Course materials may not be reproduced in whole or in part without prior written consent of Joel Barnum JEE application servers at version 5 or later include the required JSF libraries so that applications need not configure them in the Web app. Instead of using JSPs for the view, you can use an alternative

More information

Module 3 Web Component

Module 3 Web Component Module 3 Component Model Objectives Describe the role of web components in a Java EE application Define the HTTP request-response model Compare Java servlets and JSP components Describe the basic session

More information

State of the Open Web. Brad Neuberg, Google

State of the Open Web. Brad Neuberg, Google State of the Open Web Brad Neuberg, Google http://flickr.com/photos/jamespaullong/164875156/ Who is this guy? Ajax Image CC: jopemoro/flickr Who is this guy? Ajax Image CC: jopemoro/flickr Ajax Who is

More information

Radical GUI Makeover with Ajax Mashup

Radical GUI Makeover with Ajax Mashup Radical GUI Makeover with Ajax Mashup Terrence Barr Senior Technologist and Community Ambassador Java Mobile & Embedded Community TS-5733 Learn how to turn a 'plain old' Java Platform, Micro Edition (Java

More information

Vision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1

Vision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1 Umair Javed 2004 J2EE Based Distributed Application Architecture Overview Lecture - 2 Distributed Software Systems Development Why J2EE? Vision of J2EE An open standard Umbrella for anything Java-related

More information

Mastering JavaServer Faces

Mastering JavaServer Faces Mastering JavaServer Faces Bryan Basham Software Alchemist basham47@gmail.com http://www.linkedin.com/in/softwarealchemist Bryan Basham Mastering JavaServer Faces Slide 1 Topics Mind Map Introduction to

More information

Fact-Finding with MapViewer By Liujian Qian and Jayant Sharma

Fact-Finding with MapViewer By Liujian Qian and Jayant Sharma As Published In DEVELOPER: MapViewer Fact-Finding with MapViewer By Liujian Qian and Jayant Sharma May/June 2005 Map answers with Oracle Application Server 10g For years people have been able to enter

More information

Flash Ads. Tracking Clicks with Flash Clicks using the ClickTAG

Flash Ads. Tracking Clicks with Flash Clicks using the ClickTAG How-to Guide to Displaying and Tracking Rich-Media/Flash Ads Image advertising varies from standard GIF, JPG, PNG to more interactive ad technologies such as Flash, or rich-media (HTML Ads). Ad Peeps can

More information

More reading: A series about real world projects that use JavaServer Faces:

More reading: A series about real world projects that use JavaServer Faces: More reading: A series about real world projects that use JavaServer Faces: http://www.jsfcentral.com/trenches 137 This is just a revision slide. 138 Another revision slide. 139 What are some common tasks/problems

More information

Scalable Vector Graphics commonly known as SVG is a XML based format to draw vector images. It is used to draw twodimentional vector images.

Scalable Vector Graphics commonly known as SVG is a XML based format to draw vector images. It is used to draw twodimentional vector images. About the Tutorial Scalable Vector Graphics commonly known as SVG is a XML based format to draw vector images. It is used to draw twodimentional vector images. This tutorial will teach you basics of SVG.

More information

ECE 750 T11 Component Based Software Systems Project Presentation I Nilam Kaushik (Group 7) University of Waterloo Faculty of Engineering

ECE 750 T11 Component Based Software Systems Project Presentation I Nilam Kaushik (Group 7) University of Waterloo Faculty of Engineering ECE 750 T11 Component Based Software Systems Project Presentation I Nilam Kaushik (Group 7) University of Waterloo Faculty of Engineering Outline Introduction to SVG Proposed project Approach Expected

More information

Advanced Web Technology - Java Server Faces

Advanced Web Technology - Java Server Faces Berne University of Applied Sciences Advanced Web Technology - Java Server Faces Dr. E. Benoist Bibliography: Mastering Java Server Faces B.Dudney et al. - Wiley November 2005 1 Table of Contents Model

More information

Peter Norrhall. Callista Enterprise AB.

Peter Norrhall. Callista Enterprise AB. JavaServer Faces Peter Norrhall Callista Enterprise AB peter.norrhall@callista.se http://www.callista.se/enterprise CADEC 2004, JavaServer Faces, Slide 1 Rapid Application Development CADEC 2004, JavaServer

More information

JSF & Struts 1, 4, 7, 2, 5, 6, 3 2, 4, 3, 1, 6, 5, 7 1, 4, 2, 5, 6, 3, 7 1, 2, 4, 5, 6, 3, 7

JSF & Struts 1, 4, 7, 2, 5, 6, 3 2, 4, 3, 1, 6, 5, 7 1, 4, 2, 5, 6, 3, 7 1, 2, 4, 5, 6, 3, 7 1. Following are the steps required to create a RequestProcessor class specific to your web application. Which of the following indicates the correct sequence of the steps to achieve it? 1. Override the

More information

Sam Weinig Safari and WebKit Engineer. Chris Marrin Safari and WebKit Engineer

Sam Weinig Safari and WebKit Engineer. Chris Marrin Safari and WebKit Engineer Sam Weinig Safari and WebKit Engineer Chris Marrin Safari and WebKit Engineer 2 3 4 5 Simple presentation of complex data 6 Graphs can be interactive California County: San Francisco Population: 845,559

More information

AD105 Introduction to Application Development for the IBM Workplace Managed Client

AD105 Introduction to Application Development for the IBM Workplace Managed Client AD105 Introduction to Application Development for the IBM Workplace Managed Client Rama Annavajhala, IBM Workplace Software, IBM Software Group Sesha Baratham, IBM Workplace Software, IBM Software Group

More information

directive attribute1= value1 attribute2= value2... attributen= valuen %>

directive attribute1= value1 attribute2= value2... attributen= valuen %> JSP Standard Syntax Besides HTML tag elements, JSP provides four basic categories of constructors (markup tags): directives, scripting elements, standard actions, and comments. You can author a JSP page

More information

Combining Doclets with JDBC and JSP Technologies to Deliver the Next-Generation Documentation System for the Java Platform

Combining Doclets with JDBC and JSP Technologies to Deliver the Next-Generation Documentation System for the Java Platform Combining Doclets with JDBC and JSP Technologies to Deliver the Next-Generation Documentation System for the Java Platform Eitan Suez President UptoData, Inc. Primary Purpose Study the architecture and

More information

Building Web Applications With The Struts Framework

Building Web Applications With The Struts Framework Building Web Applications With The Struts Framework ApacheCon 2003 Session TU23 11/18 17:00-18:00 Craig R. McClanahan Senior Staff Engineer Sun Microsystems, Inc. Slides: http://www.apache.org/~craigmcc/

More information

Advanced Web Technologies 8) Facelets in JSF

Advanced Web Technologies 8) Facelets in JSF Berner Fachhochschule, Technik und Informatik Advanced Web Technologies 8) Facelets in JSF Dr. E. Benoist Fall Semester 2010/2011 1 Using Facelets Motivation The gap between JSP and JSF First Example :

More information

COURSE 9 DESIGN PATTERNS

COURSE 9 DESIGN PATTERNS COURSE 9 DESIGN PATTERNS CONTENT Applications split on levels J2EE Design Patterns APPLICATION SERVERS In the 90 s, systems should be client-server Today, enterprise applications use the multi-tier model

More information

04/29/2004. Step by Step Guide for Building a simple JSF Application (Guess a Number) - V1.0

04/29/2004. Step by Step Guide for Building a simple JSF Application (Guess a Number) - V1.0 Step by Step Guide for Building a simple JSF Application (Guess a Number) - V1.0 1 Sang Shin sang.shin@sun.com www.javapassion.com Java Technology Evangelist Sun Microsystems, Inc. 2 Disclaimer & Acknowledgments

More information

Oracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand)

Oracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand) Oracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand) Code: URL: D101074GC10 View Online The Developing Applications for the Java EE 7 Platform training teaches you how

More information

Author: Sascha Wolski Sebastian Hennebrueder Tutorials for Struts, EJB, xdoclet and eclipse.

Author: Sascha Wolski Sebastian Hennebrueder   Tutorials for Struts, EJB, xdoclet and eclipse. JavaServer Faces Developing custom converters This tutorial explains how to develop your own converters. It shows the usage of own custom converter tags and overriding standard converter of basic types.

More information

16. HTML5, HTML Graphics, & HTML Media 웹프로그래밍 2016 년 1 학기 충남대학교컴퓨터공학과

16. HTML5, HTML Graphics, & HTML Media 웹프로그래밍 2016 년 1 학기 충남대학교컴퓨터공학과 16. HTML5, HTML Graphics, & HTML Media 웹프로그래밍 2016 년 1 학기 충남대학교컴퓨터공학과 목차 HTML5 Introduction HTML5 Browser Support HTML5 Semantic Elements HTML5 Canvas HTML5 SVG HTML5 Multimedia 2 HTML5 Introduction What

More information

Viewer 2.0. Shared Media one of the exciting improvements! 2010 Linden Lab 2

Viewer 2.0. Shared Media one of the exciting improvements! 2010 Linden Lab 2 Viewer 2.0 Shared Media one of the exciting improvements! 2010 Linden Lab 2 Shared Media Brings the Web Into Second Life Web Pages Yes, Including Flash! Yes, even Flash video! Yes, on any surface! Yes,

More information

Specialized - Mastering JEE 7 Web Application Development

Specialized - Mastering JEE 7 Web Application Development Specialized - Mastering JEE 7 Web Application Development Code: Lengt h: URL: TT5100- JEE7 5 days View Online Mastering JEE 7 Web Application Development is a five-day hands-on JEE / Java EE training course

More information

CHAPTER 2 LIFECYCLE AND PAGE NAVIGATION

CHAPTER 2 LIFECYCLE AND PAGE NAVIGATION CHAPTER 2 LIFECYCLE AND PAGE NAVIGATION OBJECTIVES After completing Lifecycle and Page Navigation, you will be able to: Describe the JSF framework in terms of singleton objects that carry out tasks behind

More information

Enterprise Java Unit 1-Chapter 2 Prof. Sujata Rizal Java EE 6 Architecture, Server and Containers

Enterprise Java Unit 1-Chapter 2 Prof. Sujata Rizal Java EE 6 Architecture, Server and Containers 1. Introduction Applications are developed to support their business operations. They take data as input; process the data based on business rules and provides data or information as output. Based on this,

More information

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

Sun Java Studio Creator. Ken Paulsen Staff Engineer Sun Microsystems, Incorporated (Slides by: Craig R. McClanahan) Sun Java Studio Creator Ken Paulsen Staff Engineer Sun Microsystems, Incorporated (Slides by: Craig R. McClanahan) Agenda Background Developer characteristics Corporate developers Sun Java Studio Creator

More information

CMPT 165 Graphics Part 2. Nov 3 rd, 2015

CMPT 165 Graphics Part 2. Nov 3 rd, 2015 CMPT 165 Graphics Part 2 Nov 3 rd, 2015 Key concepts of Unit 5-Part 1 Image resolution Pixel, bits and bytes Colour info (intensity) vs. coordinates Colour-depth Color Dithering Compression Transparency

More information

Maurizio Tesconi 24 marzo 2015

Maurizio Tesconi 24 marzo 2015 Maurizio Tesconi 24 marzo 2015 Raster graphics images Lossy (jpeg, jpeg2000) Lossless (gif, png, >ff, ) Fixed resolu>on Can be very large Original informa>on is lost Difficult to add metadata Difficult

More information

Oracle Fusion Middleware 11g: Build Applications with ADF I

Oracle Fusion Middleware 11g: Build Applications with ADF I Oracle University Contact Us: +966 1 1 2739 894 Oracle Fusion Middleware 11g: Build Applications with ADF I Duration: 5 Days What you will learn This course is aimed at developers who want to build Java

More information

sessionx Desarrollo de Aplicaciones en Red EL (2) EL (1) Implicit objects in EL Literals José Rafael Rojano Cáceres

sessionx Desarrollo de Aplicaciones en Red EL (2) EL (1) Implicit objects in EL Literals José Rafael Rojano Cáceres sessionx Desarrollo de Aplicaciones en Red José Rafael Rojano Cáceres http://www.uv.mx/rrojano EL Expression Language Write the code in something else, just let EL call it. EL () EL stand for Expression

More information

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

Copyright 2012, Oracle and/or its affiliates. All rights reserved. 1 JSR344 (JSF 2.2) Status Update to JCP EC 11 September 2012 Edward Burns @edburns JCP Spec Lead 2 The following is intended to outline our general product direction. It is intended for information purposes

More information

CSC309: Introduction to Web Programming. Lecture 11

CSC309: Introduction to Web Programming. Lecture 11 CSC309: Introduction to Web Programming Lecture 11 Wael Aboulsaadat Servlets+JSP Model 2 Architecture 2 Servlets+JSP Model 2 Architecture = MVC Design Pattern 3 Servlets+JSP Model 2 Architecture Controller

More information

Web Programming. Lecture 11. University of Toronto

Web Programming. Lecture 11. University of Toronto CSC309: Introduction to Web Programming Lecture 11 Wael Aboulsaadat University of Toronto Servlets+JSP Model 2 Architecture University of Toronto 2 Servlets+JSP Model 2 Architecture = MVC Design Pattern

More information

JavaServer Pages. What is JavaServer Pages?

JavaServer Pages. What is JavaServer Pages? JavaServer Pages SWE 642, Fall 2008 Nick Duan What is JavaServer Pages? JSP is a server-side scripting language in Java for constructing dynamic web pages based on Java Servlet, specifically it contains

More information

Common-Controls Guided Tour TreeControl

Common-Controls Guided Tour TreeControl Common-Controls Guided Tour TreeControl Version 1.0.3 - Last changed: 01. August 2004 Herausgeber: SCC Informationssysteme GmbH 64367 Mühltal Tel: +49 (0) 6151 / 13 6 31 0 Internet www.scc-gmbh.com Product

More information

JSF - H:SELECTONEMENU

JSF - H:SELECTONEMENU JSF - H:SELECTONEMENU http://www.tutorialspoint.com/jsf/jsf_selectonemenu_tag.htm Copyright tutorialspoint.com The h:selectonemenu tag renders an HTML input element of the type "select" with size not specified.

More information

Imagery in a WebGIS. Wenxue Ju & Naila Khan

Imagery in a WebGIS. Wenxue Ju & Naila Khan Imagery in a WebGIS Wenxue Ju & Naila Khan What s in store for today s session Introduction to ArcGIS Image Services Capabilities of Image Services in ArcGIS Online and Portal for ArcGIS Imagery support

More information

Scalable Vector Graphics (SVG) vector image World Wide Web Consortium (W3C) defined with XML searched indexed scripted compressed Mozilla Firefox

Scalable Vector Graphics (SVG) vector image World Wide Web Consortium (W3C) defined with XML searched indexed scripted compressed Mozilla Firefox SVG SVG Scalable Vector Graphics (SVG) is an XML-based vector image format for twodimensional graphics with support for interactivity and animation. The SVG specification is an open standard developed

More information

Developing Web Applications with ArcGIS Server. Kevin Deege Educational Services ESRI-Washington DC

Developing Web Applications with ArcGIS Server. Kevin Deege Educational Services ESRI-Washington DC Developing Web Applications with ArcGIS Server Kevin Deege Educational Services ESRI-Washington DC Introductions Who am I? Who are you? ESRI Product Development Experience What development languages are

More information

20480C: Programming in HTML5 with JavaScript and CSS3. Course Code: 20480C; Duration: 5 days; Instructor-led. JavaScript code.

20480C: Programming in HTML5 with JavaScript and CSS3. Course Code: 20480C; Duration: 5 days; Instructor-led. JavaScript code. 20480C: Programming in HTML5 with JavaScript and CSS3 Course Code: 20480C; Duration: 5 days; Instructor-led WHAT YOU WILL LEARN This course provides an introduction to HTML5, CSS3, and JavaScript. This

More information

Java EE 6: Develop Web Applications with JSF

Java EE 6: Develop Web Applications with JSF Oracle University Contact Us: +966 1 1 2739 894 Java EE 6: Develop Web Applications with JSF Duration: 4 Days What you will learn JavaServer Faces technology, the server-side component framework designed

More information

CISC 1600 Lecture 3.1 Introduction to Processing

CISC 1600 Lecture 3.1 Introduction to Processing CISC 1600 Lecture 3.1 Introduction to Processing Topics: Example sketches Drawing functions in Processing Colors in Processing General Processing syntax Processing is for sketching Designed to allow artists

More information

Fast Track to Java EE 5 with Servlets, JSP & JDBC

Fast Track to Java EE 5 with Servlets, JSP & JDBC Duration: 5 days Description Java Enterprise Edition (Java EE 5) is a powerful platform for building web applications. The Java EE platform offers all the advantages of developing in Java plus a comprehensive

More information

D3js Tutorial. Tom Torsney-Weir Michael Trosin

D3js Tutorial. Tom Torsney-Weir Michael Trosin D3js Tutorial Tom Torsney-Weir Michael Trosin http://www.washingtonpost.com/wp-srv/special/politics Contents Some important aspects of JavaScript Introduction to SVG CSS D3js Browser-Demo / Development-Tools

More information

Oracle Fusion Middleware 11g: Build Applications with ADF I

Oracle Fusion Middleware 11g: Build Applications with ADF I Oracle University Contact Us: Local: 1800 103 4775 Intl: +91 80 4108 4709 Oracle Fusion Middleware 11g: Build Applications with ADF I Duration: 5 Days What you will learn Java EE is a standard, robust,

More information

Image Use and Manipulation with

Image Use and Manipulation with Image Use and Manipulation with PeopleTools Randall Groncki July 17, 2018 About Me Independent Consultant Northern VA, DC Area Tech since 1996 PeopleSoft (PSG), Hunter, Renaissance Employee: 7679 Safe

More information

Data Visualization (DSC 530/CIS )

Data Visualization (DSC 530/CIS ) Data Visualization (DSC 530/CIS 602-01) HTML, CSS, & SVG Dr. David Koop Data Visualization What is it? How does it differ from computer graphics? What types of data can we visualize? What tasks can we

More information

Distributed Multitiered Application

Distributed Multitiered Application Distributed Multitiered Application Java EE platform uses a distributed multitiered application model for enterprise applications. Logic is divided into components https://docs.oracle.com/javaee/7/tutorial/overview004.htm

More information

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

Tooling for Ajax-Based Development. Craig R. McClanahan Senior Staff Engineer Sun Microsystems, Inc. Tooling for Ajax-Based Development Craig R. McClanahan Senior Staff Engineer Sun Microsystems, Inc. 1 Agenda In The Beginning Frameworks Tooling Architectural Approaches Resources 2 In The Beginning 3

More information

HTML HTML. Chris Seddon CRS Enterprises Ltd 1

HTML HTML. Chris Seddon CRS Enterprises Ltd 1 Chris Seddon seddon-software@keme.co.uk 2000-12 CRS Enterprises Ltd 1 2000-12 CRS Enterprises Ltd 2 Reference Sites W3C W3C w3schools DevGuru Aptana GotAPI Dog http://www.w3.org/ http://www.w3schools.com

More information

Using Java with HTML5 and CSS3 (+ the whole HTML5 world: WebSockets, SVG, etc...)

Using Java with HTML5 and CSS3 (+ the whole HTML5 world: WebSockets, SVG, etc...) Using Java with HTML5 and CSS3 (+ the whole HTML5 world: WebSockets, SVG, etc...) Helder da Rocha Independent Java & Web professional Argo Navis Informatica Ltda. São Paulo, Brazil helder@argonavis.com.br

More information

Computer Games 2012 Game Development

Computer Games 2012 Game Development Computer Games 2012 Game Development Dr. Mathias Lux Klagenfurt University This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Agenda Game Loop Sprites & 2.5D Images

More information

UI Course HTML: (Html, CSS, JavaScript, JQuery, Bootstrap, AngularJS) Introduction. The World Wide Web (WWW) and history of HTML

UI Course HTML: (Html, CSS, JavaScript, JQuery, Bootstrap, AngularJS) Introduction. The World Wide Web (WWW) and history of HTML UI Course (Html, CSS, JavaScript, JQuery, Bootstrap, AngularJS) HTML: Introduction The World Wide Web (WWW) and history of HTML Hypertext and Hypertext Markup Language Why HTML Prerequisites Objective

More information

The JSF Tools Project

The JSF Tools Project The JSF Tools Project Eclipse Webinar Presentation Presenters Raghu Srinivasan, Project Lead, Oracle Inc. Cameron Bateman, Committer, Oracle Inc January 23, 2007 2007 by Raghu Srinivasan, Oracle Inc; made

More information

Developing Applications with Java EE 6 on WebLogic Server 12c

Developing Applications with Java EE 6 on WebLogic Server 12c Developing Applications with Java EE 6 on WebLogic Server 12c Duration: 5 Days What you will learn The Developing Applications with Java EE 6 on WebLogic Server 12c course teaches you the skills you need

More information

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

jmaki Overview Sang Shin Java Technology Architect Sun Microsystems, Inc. jmaki Overview Sang Shin Java Technology Architect Sun Microsystems, Inc. sang.shin@sun.com www.javapassion.com Agenda What is and Why jmaki? jmaki widgets Using jmaki widget - List widget What makes up

More information

SESM Components and Techniques

SESM Components and Techniques CHAPTER 2 Use the Cisco SESM web application to dynamically render the look-and-feel of the user interface for each subscriber. This chapter describes the following topics: Using SESM Web Components, page

More information

<Insert Picture Here> Productive JavaEE 5.0 Development

<Insert Picture Here> Productive JavaEE 5.0 Development Productive JavaEE 5.0 Development Frank Nimphius Principle Product Manager Agenda Introduction Annotations EJB 3.0/JPA Dependency Injection JavaServer Faces JAX-WS Web Services Better

More information

Oracle Developer Day

Oracle Developer Day Oracle Developer Day Sponsored by: Session 2 Oracle Application Development Framework Speaker Speaker Title Page 1 1 Agenda Development Environment Expectations Challenges Oracle ADF Architecture Business

More information

A Red Hat Perspective

A Red Hat Perspective TITLE JSR-314: SLIDE: JavaServer HEADLINE Faces 2.0 Presenter A Red Hat Perspective name Title, Red Hat Date Dan Allen Senior Software Engineer, RedHat JSR-314 Expert Group Member October 8, 2009 1 Roadmap

More information

CS506 Web Design & Development Final Term Solved MCQs with Reference

CS506 Web Design & Development Final Term Solved MCQs with Reference with Reference I am student in MCS (Virtual University of Pakistan). All the MCQs are solved by me. I followed the Moaaz pattern in Writing and Layout this document. Because many students are familiar

More information

Etanova Enterprise Solutions

Etanova Enterprise Solutions Etanova Enterprise Solutions Front End Development» 2018-09-23 http://www.etanova.com/technologies/front-end-development Contents HTML 5... 6 Rich Internet Applications... 6 Web Browser Hardware Acceleration...

More information

Format Type Support Thru. vector (with embedded bitmaps)

Format Type Support Thru. vector (with embedded bitmaps) 1. Overview of Graphics Support The table below summarizes the theoretical support for graphical formats within FOP. In other words, within the constraints of the limitations listed here, these formats

More information

DATABASE SYSTEMS. Introduction to web programming. Database Systems Course, 2016

DATABASE SYSTEMS. Introduction to web programming. Database Systems Course, 2016 DATABASE SYSTEMS Introduction to web programming Database Systems Course, 2016 AGENDA FOR TODAY Client side programming HTML CSS Javascript Server side programming: PHP Installing a local web-server Basic

More information

SAP NetWeaver J2EE Preview: User Interfaces with JSF

SAP NetWeaver J2EE Preview: User Interfaces with JSF SDN Contribution SAP NetWeaver J2EE Preview: User Interfaces with JSF Applies to: SAP NetWeaver J2EE Preview Summary Learn how to develop JSF-based front end. Author(s): SAP NetWeaver Product Management

More information

JSF Tools Reference Guide. Version: M5

JSF Tools Reference Guide. Version: M5 JSF Tools Reference Guide Version: 3.3.0.M5 1. Introduction... 1 1.1. Key Features of JSF Tools... 1 2. 3. 4. 5. 1.2. Other relevant resources on the topic... 2 JavaServer Faces Support... 3 2.1. Facelets

More information

Advanced Topics in WebSphere Portal Development Graham Harper Application Architect IBM Software Services for Collaboration

Advanced Topics in WebSphere Portal Development Graham Harper Application Architect IBM Software Services for Collaboration Advanced Topics in WebSphere Portal Development Graham Harper Application Architect IBM Software Services for Collaboration 2012 IBM Corporation Ideas behind this session Broaden the discussion when considering

More information

Visualizing Information with

Visualizing Information with Visualizing Information with HTML5 @synodinos 35,000 years ago Chauvet cave, southern France By far the oldest paintings ever discovered Hundreds of paintings At least 13 different species Viubk source

More information

PGT T3CHNOLOGY SCOUTING. Google Webtoolkit. JSF done right?

PGT T3CHNOLOGY SCOUTING. Google Webtoolkit. JSF done right? Google Webtoolkit JSF done right? Session topics Web 2.0, Ajax GWT What is it? Java EE and the Web GWT and Java EE JSF done right? Time for a demo? 2 2008 Dipl.-Wing. P. G. Taboada Web 2.0 Hard to define

More information

Session 24. Introduction to Java Server Faces (JSF) Robert Kelly, Reading.

Session 24. Introduction to Java Server Faces (JSF) Robert Kelly, Reading. Session 24 Introduction to Java Server Faces (JSF) 1 Reading Reading IBM Article - www.ibm.com/developerworks/java/library/jjsf2fu1/index.html Reference Sun Tutorial (chapters 4-9) download.oracle.com/javaee/6/tutorial/doc/

More information

Get in Touch Module 1 - Core PHP XHTML

Get in Touch Module 1 - Core PHP XHTML PHP/MYSQL (Basic + Advanced) Web Technologies Module 1 - Core PHP XHTML What is HTML? Use of HTML. Difference between HTML, XHTML and DHTML. Basic HTML tags. Creating Forms with HTML. Understanding Web

More information

J2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format.

J2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format. J2EE Development Detail: Audience www.peaksolutions.com/ittraining Java developers, web page designers and other professionals that will be designing, developing and implementing web applications using

More information

IT6503 WEB PROGRAMMING. Unit-I

IT6503 WEB PROGRAMMING. Unit-I Department of Information Technology Question Bank- Odd Semester 2015-2016 IT6503 WEB PROGRAMMING Unit-I SCRIPTING 1. What is HTML? Write the format of HTML program. 2. Differentiate HTML and XHTML. 3.

More information

Standards and the Portals Project

Standards and the Portals Project Standards and the Portals Project Carsten Ziegeler cziegeler@apache.org Competence Center Open Source S&N AG, Germany Member of the Apache Software Foundation Committer in some Apache Projects Cocoon,

More information

SAS Web Infrastructure Kit 1.0. Overview

SAS Web Infrastructure Kit 1.0. Overview SAS Web Infrastructure Kit 1.0 Overview The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2004. SAS Web Infrastructure Kit 1.0: Overview. Cary, NC: SAS Institute Inc.

More information

Table of Contents. Introduction... xxi

Table of Contents. Introduction... xxi Introduction... xxi Chapter 1: Getting Started with Web Applications in Java... 1 Introduction to Web Applications... 2 Benefits of Web Applications... 5 Technologies used in Web Applications... 5 Describing

More information

Introduction to HTML 5. Brad Neuberg Developer Programs, Google

Introduction to HTML 5. Brad Neuberg Developer Programs, Google Introduction to HTML 5 Brad Neuberg Developer Programs, Google The Web Platform is Accelerating User Experience XHR CSS DOM HTML iphone 2.2: Nov 22, 2008 canvas app cache database SVG Safari 4.0b: Feb

More information

JSF Building input forms with the h library

JSF Building input forms with the h library JSF Building input forms with the h library We ve already seen some of the most commonly used tags: h:form No ACTION specified (it is current page automatically) You must use POST h:inputtext NAME generated

More information

Developing Advanced Web Applications Which Utilize Image Services and the JS API. Naila Khan, Wenxue Ju

Developing Advanced Web Applications Which Utilize Image Services and the JS API. Naila Khan, Wenxue Ju Developing Advanced Web Applications Which Utilize Image Services and the JS API Naila Khan, Wenxue Ju What are we talking about today ArcGIS Online and Portal for ArcGIS ArcGIS API for JavaScript Web

More information