Professional Documents
Culture Documents
John Strano
Technology Evangelist
AGENDA
3
Java Server Faces:
In General
4
Background
5
What is Java Server Faces?
6
Why JSF?
7
Component Control
8
Rendering Model
Component Rendered As
command_button
command_hyperlink
9
Sybase Workspace
Web Application Development
10
Objective
11
Objective
12
Architecture
Integration
Web Application Development Tool
DataWindow
Painter
Eclipse
Graphical Editing Web Tool Workspace Java DataStore
Modeling
Framework Platform Service
Framework
(GEF) (WTP) Framework
(EMF)
Eclipse
13
Components of the WAD IDE
14
Feature Set: In the Interest of Time…
Just One Sample
• Databinding View
– Resource Bundle Binding: use key to bind to UI component;
– Service Binding: generate managed bean to wrap service
invocation;
– Java Class Binding: generate managed bean with getter/setter
– EJB Binding: generate bean to lookup ejbs and create bean
instances
– Database Binding: support JSF DataWindow, or hibernate
15
JSF Web DataWindow
16
DataWindow and the JSF Technology
• Java DataStore
– A pure java package which provides the DataWindow
functionality to the Java world
• JSF DataWindow Component
– A custom UI component written to fit the JSF model
• DataWindow Java Bean
– A Java Bean non-UI component written to fit the JSF model
• JSF DataWindow tag library
– A tld file containing the attributes of the DataWindow for a
JSP page
17
DataWindow and the JSF Technology
DataWindow
JSF tag library
DataWindow
JSF
Component
Java
JSF Web Datastore
Application
DataWindow
Bean
Faces-
Config.xml
18
Java DataStore INTERFACE
19
JSF DataWindow in Design Time
20
JSF DataWindow Properties, Methods and Events
21
JSF DataWindow Properties, Methods and Events
22
JSF DataWindow Properties, Methods and Events
23
JSF DataWindow Properties, Methods and Events
24
JSF DataWindow Properties, Methods and Events
25
JSF Web DataWindow
Demo
26