Document Information

Preface

Part I Introduction

1.  Overview

2.  Using the Tutorial Examples

Part II The Web Tier

3.  Getting Started with Web Applications

4.  Java Servlet Technology

5.  JavaServer Pages Technology

6.  JavaServer Pages Documents

7.  JavaServer Pages Standard Tag Library

8.  Custom Tags in JSP Pages

9.  Scripting in JSP Pages

10.  JavaServer Faces Technology

11.  Using JavaServer Faces Technology in JSP Pages

12.  Developing with JavaServer Faces Technology

13.  Creating Custom UI Components

14.  Configuring JavaServer Faces Applications

15.  Internationalizing and Localizing Web Applications

Part III Web Services

16.  Building Web Services with JAX-WS

17.  Binding between XML Schema and Java Classes

18.  Streaming API for XML

19.  SOAP with Attachments API for Java

Part IV Enterprise Beans

20.  Enterprise Beans

21.  Getting Started with Enterprise Beans

22.  Session Bean Examples

23.  A Message-Driven Bean Example

Part V Persistence

24.  Introduction to the Java Persistence API

25.  Persistence in the Web Tier

26.  Persistence in the EJB Tier

27.  The Java Persistence Query Language

Part VI Services

28.  Introduction to Security in the Java EE Platform

29.  Securing Java EE Applications

30.  Securing Web Applications

31.  The Java Message Service API

32.  Java EE Examples Using the JMS API

33.  Transactions

34.  Resource Connections

35.  Connector Architecture

Part VII Case Studies

36.  The Coffee Break Application

37.  The Duke's Bank Application

Part VIII Appendixes

A.  Java Encoding Schemes

B.  About the Authors

Index

 

V

validate method, Attribute Validation
validating input, See validation model
validating XML documents, More about Validation
validation model
User Interface Component Model
Validation Model
Validation Model
Validation Model
referencing a method that performs validation, Referencing a Method That Performs Validation
validator attribute
Referencing a Backing Bean Method
Writing a Method to Perform Validation
and backing bean methods, Referencing a Backing Bean Method
referencing backing bean methods, Referencing a Method That Performs Validation
text components, Using Text Components
Validator class
Writing the Tag Handler
Writing Backing Bean Methods
Validator implementation, Validation Model
custom validators, Using a Custom Validator
Validator interface
Validation Model
Writing a Method to Perform Validation
custom validator tags, Creating a Custom Tag
implementing, Implementing the Validator Interface
validator classes, Using the Standard Validators
validator tag
custom objects, Using Custom Objects
validators
See validators
writing a backing bean method to perform validation, Writing a Method to Perform Validation
Validator implementation classes
Validation Model
Using the Standard Validators
DoubleRangeValidator class
Using the Core Tags
Using the Standard Validators
LengthValidator class
Using the Core Tags
Using the Standard Validators
LongRangeValidation implementation, Displaying Error Messages
LongRangeValidator class
Using the Core Tags
Using the Standard Validators
Using the LongRangeValidator
validator tags
Using the Core Tags
Using the Core Tags
validateDoubleRange tag, Using the Standard Validators
validateLength tag, Using the Standard Validators
validateLongRange tag
Using the Standard Validators
Using the LongRangeValidator
validator tag
Validation Model
Creating a Custom Tag
validators
JavaServer Faces Technology User Interface
User Interface Component Model
Restore View Phase
custom validators
Using the Core Tags
Using a Custom Validator
value binding
Binding Component Values and Instances to External Data Sources
Writing Properties Bound to Component Values
a component instance to a bean property
See component binding
a component value to a backing-bean property, Binding a Component Value to a Property
a component value to an implicit object, Binding a Component Value to an Implicit Object
acceptable types of component values, Writing Properties Bound to Component Values
component values and instances to external data sources, Binding Component Values and Instances to External Data Sources
value attribute
backing beans, Developing the Beans
binding to a backing-bean property
Binding a Component Value to a Property
Writing Bean Properties
commandButton tag, Rendering a Button with the commandButton Tag
external data sources, Binding Component Values and Instances to External Data Sources
graphicImage tag, Adding Graphics and Images with the graphicImage Tag
model data, Configuring Model Data
outputFormat tag, Displaying a Formatted Message with the outputFormat Tag
outputLabel tag, Rendering a Label with the outputLabel Tag
selectItems tag, Using the selectItems Tag
text fields, Adding a Text Field
value-binding expressions, Binding Component Values and Instances to External Data Sources
value expressions
Adding a Label Component
Binding a Component Instance to a Bean Property
UIData Properties
Enabling Component Properties to Accept Expressions
value-change events
Event and Listener Model
Event and Listener Model
Registering a Value-Change Listener on a Component
Implementing an Event Listener
processValueChange(ValueChangeEvent) method, Implementing Value-Change Listeners
processValueChangeEvent(ValueChangeEvent) method, Writing a Method to Handle a Value-Change Event
referencing methods that handle value-change events, Referencing a Method That Handles a Value-change Event
type attribute, Registering a Value-Change Listener on a Component
ValueChangeEvent class
Registering a Value-Change Listener on a Component
Implementing an Event Listener
Implementing Value-Change Listeners
valueChangeListener attribute
Using Text Components
Referencing a Backing Bean Method
Referencing a Backing Bean Method
Writing a Method to Handle a Value-Change Event
ValueChangeListener class
Registering a Value-Change Listener on a Component
Implementing an Event Listener
Writing a Method to Handle a Value-Change Event
ValueChangeListener implementation, Implementing Value-Change Listeners
valueChangeListener tag
Using the Core Tags
Registering a Value-Change Listener on a Component
When to Use a Custom Component
writing a backing bean method to handle value-change events, Writing a Method to Handle a Value-Change Event
value expressions, Using the Unified EL to Reference Backing Beans
ValueExpression class, Using the Unified EL to Reference Backing Beans
verifier tool, Tools
VeriSign certificate authority, Working with Digital Certificates

W

W3C
Building Web Services with JAX-WS
Further Information about JAX-WS
WAR file, Basic Requirements of a JavaServer Faces Application
WAR files, JavaBeans components in, Web Modules
web applications, Web Modules
accessing databases from
Accessing Databases from Web Applications
Accessing Databases from Web Applications
accessing tag library implementations, Including the Tag Library Implementation
configuring
Web Applications
Configuring Web Applications
Overview of Web Application Security
establishing the locale, Establishing the Locale
internationalizing
Java EE Blueprints, Further Information about Internationalizing Web Applications
internationalizing and localizing, Internationalizing and Localizing Web Applications
maintaining state across requests, Maintaining Client State
making tag handlers available to, Including Tag Handlers in Web Applications
parsing and formatting localized dates and numbers, Date and Number Formatting
presentation-oriented, Getting Started with Web Applications
providing localized messages, Providing Localized Messages and Labels
retrieving localized messages, Retrieving Localized Messages
securing, Securing Web Applications
security
overview, Overview of Web Application Security
service oriented, Getting Started with Web Applications
setting the resource bundle, Setting the Resource Bundle
specifying initialization parameters, Setting Initialization Parameters
specifying welcome files, Declaring Welcome Files
web clients
Web Clients
Getting Started with Web Applications
Duke’s Bank
Web Client
Design Strategies
custom tags, Design Strategies
JavaBeans components, Design Strategies
request processing, Request Processing
running, Running the Duke's Bank Web Client
examples, Creating the converter Web Client
web components
Web Components
Web Applications
See also Java EE components
accessing databases from, Accessing Databases
applets bundled with, Web Components
concurrent access to shared resources, Controlling Concurrent Access to Shared Resources
encoding of requests delivered to, Request Encoding
forwarding to other web components, Transferring Control to Another Web Component
including other web resources, Including Other Resources in the Response
invoking other web resources, Invoking Other Web Resources
Web components, JMS and, Using the JMS API with Application Clients and Web Components
web components
mapping exceptions to error screens, Mapping Errors to Error Screens
mapping filters to, Specifying Filter Mappings
response encoding, Response Encoding
scope objects, Using Scope Objects
securing, Securing Web Applications
setting the request encoding, Request Encoding
setting the response encoding, Response Encoding
sharing information, Sharing Information
specifying aliases, Setting the Component Alias
specifying initialization parameters, Setting Initialization Parameters
transactions
Accessing Databases
Updating Data in the Database
Transactions in Web Components
types, Web Components
utility classes bundled with, Web Components
web context, Accessing the Web Context
web containers, Container Types
loading and initializing servlets, Servlet Life Cycle
mapping URLs to web components, Mapping URLs to Web Components
web modules
Packaging Applications
Web Modules
deploying, Deploying a WAR File
packaged
Deploying a Packaged Web Module
Deploying a Packaged Web Module
dynamic reloading
Dynamic Reloading
Dynamic Reloading
undeploying, Undeploying Web Modules
updating
Updating Web Modules
Updating Web Modules
packaged, Updating a Packaged Web Module
viewing deployed, Listing Deployed Web Modules
web resource collection, Setting Up Security Roles
web-resource-collection element, Setting Up Security Roles
web resources, Web Modules
Duke’s Bank
protecting, Protecting the Web Client Resources
mapping filters to
Specifying Filter Mappings
Specifying Filter Mappings
Specifying Filter Mappings
unprotected, Specifying Security Constraints
web services, Web Services Support
EJB.
See enterprise beans, web services
endpoint implementation classes, The Web Service Endpoint Implementation Class
example, The Coffee Break Application
examples
Creating a Simple Web Service and Client with JAX-WS
A Web Service Example: helloservice
web.xml file
Example: Using Form-Based Authentication with a JSP Page
Example: Basic Authentication with a Servlet
Adding Security Elements to the Deployment Descriptor
work flows, When to Use Session Beans
Writer, StAX example, Writer Example
writing backing bean methods, Writing Backing Bean Methods
for handling action events, Writing a Method to Handle an Action Event
for handling value-change events, Writing a Method to Handle a Value-Change Event
for performing navigation, Writing a Method to Handle Navigation
for performing validation, Writing a Method to Perform Validation
writing backing-bean methods, for performing validation, Using Text Components
WSDL
WSDL Standard Format
Building Web Services with JAX-WS
Further Information about JAX-WS
wsgen tool
Tools
Creating a Simple Web Service and Client with JAX-WS
wsimport tool, Tools