My Account Log in

2 options

WebSphere Studio 5.1.2 JavaServer Faces and Service Data Objects / [Ueli Wahi ... et al.].

Ebook Central Academic Complete Available online

View online

Ebook Central College Complete Available online

View online
Format:
Book
Contributor:
Wahli, Ueli.
International Business Machines Corporation. International Technical Support Organization.
Series:
IBM redbooks.
IBM redbooks
Language:
English
Subjects (All):
Application software--Development.
Application software.
Web site development.
WebSphere.
Physical Description:
xxiv, 566 p. : ill.
Edition:
1st ed.
Place of Publication:
San Jose, CA : IBM, International Technical Support Organization, 2004.
Language Note:
English
Contents:
Front cover
Contents
Notices
Trademarks
Preface
The team that wrote this redbook
Acknowledgments
Become a published author
Comments welcome
Part 1 Introduction to JavaServer Faces
Chapter 1. JavaServer Faces overview
Introduction
Model-view-controller architecture
Development user roles
Rapid application development
JavaServer Faces scenario
JSF specification
Concepts
JSF application
Container independence
Faces servlet
Restore Component Tree
Apply Request Values
Process Validations
Update Model Values
Invoke Application
Render Response
Common Event Processing
Example Faces Request
Faces configuration file
Navigation
Sample navigation scenario
Managed beans
UI components
Events
Binding
Converters and validators
JSF component libraries
UI component tree
JavaServer Faces page example
Summary
Chapter 2. JSF support in WebSphere Studio
JSF support in WebSphere Studio
Overview
Creating a JSF project
Project organization
Creating a JSF page
New Faces JSP File wizard
JSF page structure
Page code
UI components in page code
Managed beans in page code
PageCodeBase class
Page templates and fragments
Web perspective
Page Designer
Page Designer modes
Context menu
Palette
Faces components drawer
Data drawer
Drag and drop
Customization
Attributes view
Value binding
Action binding
Navigation tab
Format tab
Validation tab
All tab
Page Data view
Data objects
JSP scripting
Action list
Tree view
Client Data view
Quick Edit view
Java events
JavaScript events
Snippets
Page initialization
Testing, debugging, and deploying the JSF project
Server targeting
Test environment.
Considerations and guidelines
Creating a JSF page and managed beans
Renaming a JSF page
Navigation rules
Scope variables
Broken link warning
Deleting a JSF page
Moving a JSF page to another folder
Moving the page code to another package
Recreating a JSF page
Refactoring managed beans
Deleting components
Deleting managed beans
Renaming a project
Creating a welcome page
Chapter 3. JSF calculator example
Simple example that shows the basic facilities
Calculator
Preparation
Development steps
Creating a new Web project
Import the calculator bean
Creating a JSF page for the calculator
Let's examine what has been generated
Creating the base layout
Implementing component attributes and validation
Testing the validation
Binding the frontend to the calculator
Testing the binding
Invoking the business logic of the calculator
Implementing an error page
Implementing page navigation
Implementing a validator
Implementing a value change event
Implementing internationalization
Implementing page initialization
Complete solution
Chapter 4. JSF components
Component model
Renderers
JSF libraries
Standard JSF libraries
Using Faces in Studio
Studio operations
Component attributes and events
Common attributes
Method binding
Common attribute editors
Common events
Logic with Quick Edit
Component libraries
Libraries included with WebSphere Studio
Core library
HTML library
Form: &lt
h:form&gt
Output: &lt
h:outputText&gt
Output - Formatted Text: &lt
h:outputFormat&gt
Input: &lt
h:inputText&gt
Input - Password: &lt
h:inputSecret&gt
Input - Hidden: &lt
h:inputHidden&gt
Input - Text Area: &lt.
h:inputTextArea&gt
Display Error: &lt
h:message&gt
Display Errors: &lt
h:messages&gt
Label: &lt
h:outputLabel&gt
Command - Hyperlink: &lt
h:commandLink&gt
Radio Button Group: &lt
h:selectOneRadio&gt
Check Box: &lt
h:selectBooleanCheckBox&gt
Check Box Group: &lt
h:selectManyCheckBox&gt
Combo Box: &lt
h:selectOneMenu&gt
List Box - Single Select: &lt
h:selectOneListBox&gt
List Box - Multiple Select: &lt
h:selectManyListBox&gt
Data Table: &lt
h:dataTable&gt
IBM Extension Library
Command - Button: &lt
hx:commandExButton&gt
Link: &lt
hx:outputLinkEx&gt
Image: &lt
hx:graphicImageEx&gt
File Upload: &lt
hx:fileUpload&gt
Horizontal Rule: &lt
hx:outputSeparator&gt
Panel Group Box - HTML Panel: &lt
hx:jspPanel&gt
Panel Group Box - Snap to Border: &lt
hx:panelLayout&gt
Panel Group Box - List: &lt
hx:panelBox&gt
Panel Menu Bar: &lt
hx:panelActionbar&gt
Panels - Tabbed: &lt
odc:tabbedPannel&gt
Rich Text Area: &lt
r:inputRichText&gt
Media - Generic A/V Player: &lt
hx:playerGenericPlayer&gt
Media - Macromedia Flash Player: &lt
hx:playerFlash&gt
Media - Macromedia Shockwave Player: &lt
hx:playerShockwave&gt
Media - RealOne Player: &lt
hx:playerRealPlayer&gt
Media - Windows Media Player: &lt
hx:playerMediaPlayer&gt
Data Table component extensions
Part 2 JSF application development
Chapter 5. JSF banking application
Banking application overview
JSF banking application architecture
Model
Bank
Customer
Account
TransRecord
Banking
Model implementation
Controller
Exceptions
View
Implementation details
EJBBANK database.
Sample data
Implementing the banking application with JSF
Define a utility project
Create an enterprise application
Create a Web project for the banking application
Preparing managed beans with customer and transaction data
Creating the home page
Implementing the action
Testing the home page and customer retrieval
Implementing the error page
Implementing the list of accounts
Test the design
Implement navigation
Define the account managed bean
Defining a hyperlink
Test account selection
Implementing the account details page
Navigation logic
Test account management
Implementing the transfer result page
Test transfer
Implementing the transaction list
Test list transactions
Implementing paging and transaction details
Test the paging and transaction details
Implementing custom validation
Test the validation
Displaying the customer image
Running the JSF banking application
Chapter 6. JSF application design and common patterns
Roles
Page author
Application developer
Component developer
Application architect
Tools vendor
Application architecture
Goals and principles
N-tier architecture
Presentation tier
Business logic tier
Data access tier
Database tier
Design considerations
Web-tier and the MVC design pattern
Designing for portability
Other considerations
Session scope management
Data conversion
Data validation
Internationalization
Custom components
Custom renderers for other client platforms
What are patterns?
Create, read, update, delete (CRUD)
Master to detail
Form to form wizard
List to list
Example problem
Setting up you development environment for patterns
Create, read, update and delete (CRUD) pattern
Pattern design.
Read
Create, update and delete
Creating the table of products
Creating CRUD pages
Read page with relational record list
Displaying the table
Apply style changes
Adding navigation to CRUD
Building the update/delete part of CRUD
Building the create part of CRUD
Testing the CRUD application
Implementing concurrency
Updating the update/delete function
Testing concurrency
Improving error messages
Form wizard pattern
Pattern design
Building the form wizard pattern
Creating the JavaBean
Creating the form pages
Defining the form address page
Adding navigation
Completing the other pages of the Wizard
Order page
Delivery address
Adding business logic
Completing the form wizard pattern
Testing of form wizard pattern
Master to detail pattern
Working pattern
Building the master to detail pattern
Creating the queries for the pattern
Laying out the page
Adding event logic
Testing
Chapter 7. JSF and Web services
Web services concepts
Documentation
Discovering and importing a Web service
Client code generation
Using Web services with JSF pages
Example Web service application
Creating the project
Finding the Web service
Invoking the Web service from JSF
Input page
Output page
Test the Web service invocation
Best practices
Chapter 8. JSF and Struts
Introduction to Struts
Comparing JSF and Struts
Choosing Struts and/or JSF
Combining JSF and Struts
Struts-Faces request
Adding Faces support to a Struts application
Creating a new Struts-Faces page
Converting a Struts page into a Struts-Faces page
Part 3 Service Data Objects
Chapter 9. SDO concepts
Introduction to SDO
Data object
Data graph.
Data mediator.
Notes:
"July 2004."
"SG24-6361-00."
Includes bibliographical references and index.
OCLC:
61397352

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account