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

 

K

L

LDAP, Java Naming and Directory Interface
life cycle of a JavaServer Faces page, The Life Cycle of a JavaServer Faces Page
action and value-change event processing, Event and Listener Model
apply request values phase
Apply Request Values Phase
Performing Decoding
custom converters
Creating a Custom Converter
Creating a Custom Converter
immediate attribute, Understanding the JSP Page
invoke application phase, Invoke Application Phase
process validations phase, Process Validations Phase
render response phase, Render Response Phase
getRendererType method, Identifying the Renderer Type
performing encoding, Performing Encoding
tag handler, Creating the Component Tag Handler
Validator interface, Implementing the Validator Interface
renderResponse method
The Life Cycle of a JavaServer Faces Page
Apply Request Values Phase
Process Validations Phase
Update Model Values Phase
responseComplete method
The Life Cycle of a JavaServer Faces Page
Apply Request Values Phase
Process Validations Phase
Update Model Values Phase
restore view phase
Restore View Phase
Creating the Renderer Class
saving state, Saving and Restoring State
updateModels method, Update Model Values Phase
views, Restore View Phase
listener classes, Handling Servlet Life-Cycle Events
defining, Defining the Listener Class
examples, Defining the Listener Class
listener interfaces, Defining the Listener Class
listeners
HTTP, Securing the Application Server
IIOP, Securing the Application Server
local interfaces, defined, Local Clients
local names, Adding Content to the Body
local transactions, JMS, Using JMS API Local Transactions
localization, Internationalizing and Localizing Web Applications
login modules, Using Login Modules

M

mail sessions, creating, Creating a Mail Session
managed bean creation facility
Configuring Model Data
Configuring Beans
initializing properties with managed-property elements, Initializing Properties Using the managed-property Element
managed bean declarations
See managed bean declarations
managed bean declarations
Adding Managed Bean Declarations
Configuring Model Data
key-class element, Initializing Map Properties
list-entries element, Initializing Properties Using the managed-property Element
managed-bean element
Using the managed-bean Element
Initializing Managed Bean Properties
managed-bean-name element
Configuring a Bean
Using the managed-bean Element
managed-bean-scope element, Using the managed-bean Element
managed-property element, Initializing Properties Using the managed-property Element
map-entries element
Initializing Properties Using the managed-property Element
Initializing Map Properties
map-entry element, Initializing Map Properties
message-bean-name element, Binding a Component Value to a Property
null-value elements, Initializing Properties Using the managed-property Element
property-name element
Configuring a Bean
Binding a Component Value to a Property
value element, Initializing Properties Using the managed-property Element
MapMessage interface, Message Bodies
mapping of Java types, XmlAdapter Field Example
mapping XML content into/out of custom Hashmap, XmlAdapter Field Example
marshalling content, More about Marshalling
message acknowledgment, JMS
bean-managed transactions, Managing Distributed Transactions
introduction, Controlling Message Acknowledgment
message-driven beans, Using Message-Driven Beans to Receive Messages Asynchronously
message bodies, JMS, Message Bodies
message consumers, JMS, JMS Message Consumers
message consumption, JMS
asynchronous
Message Consumption
A Simple Example of Asynchronous Message Consumption
introduction, Message Consumption
synchronous
Message Consumption
A Simple Example of Synchronous Message Receives
message-driven beans
Enterprise JavaBeans Technology
What Is a Message-Driven Bean?
accessing, What Makes Message-Driven Beans Different from Session Beans?
coding
The Message-Driven Bean Class
Coding the Message-Driven Bean: MessageBean.java
Coding the Message-Driven Beans for the clientmdbentity Example
Coding the Message-Driven Bean: ReplyMsgBean.java
defined, What Is a Message-Driven Bean?
examples
A Message-Driven Bean Example
A Java EE Application That Uses the JMS API with a Session Bean
A Java EE Application That Uses the JMS API with an Entity
An Application Example That Consumes Messages from a Remote Server
An Application Example That Deploys a Message-Driven Bean on Two Servers
garbage collection, The Life Cycle of a Message-Driven Bean
introduction, Using Message-Driven Beans to Receive Messages Asynchronously
onMessage method
What Makes Message-Driven Beans Different from Session Beans?
The onMessage Method
requirements, The Message-Driven Bean Class
transactions
Container-Managed Transactions
Bean-Managed Transactions
Bean-Managed Transactions
message headers, JMS, Message Headers
message IDs, JMSMessageID message header field, Message Headers
Message interface, Message Bodies
message listeners, JMS, What Is a Message-Driven Bean?
message listeners, JMS
examples
Writing the Client Programs for the Asynchronous Receive Example
Coding the Application Client: HumanResourceClient.java
Coding the Application Client: MultiAppServerClient.java
introduction, JMS Message Listeners
message producers, JMS, JMS Message Producers
message properties, JMS, Message Properties
message security, Securing the Application Server
message selectors, JMS, introduction, JMS Message Selectors
MessageConsumer interface, JMS Message Consumers
MessageFactory class, Creating a Message
MessageListener interface, JMS Message Listeners
MessageProducer interface, JMS Message Producers
messages
creating messages with the MessageFactory class, Creating a Message with a Message Factory
FacesMessage class, Localizing Messages
getMessage(FacesContext, String, Object), Implementing the Validator Interface
getMessage(FacesContext, String, Object) method, Creating a Message with a Message Factory
integrity, HTTPS Client Authentication
localizing messages, Localizing Messages
message factory pattern, Localizing Messages
MessageFactory class
Creating a Message with a Message Factory
Creating a Message with a Message Factory
Implementing the Validator Interface
MessageFormat pattern
Using the Core Tags
Displaying a Formatted Message with the outputFormat Tag
outputFormat tag, Displaying a Formatted Message with the outputFormat Tag
param tag, Displaying a Formatted Message with the outputFormat Tag
parameter substitution tags
See JavaServer Faces core tag library
param tag, Using the Core Tags
queueing messages
Writing a Method to Perform Validation
Registering Custom Error Messages
securing, Message-Layer Security
security, Securing the Application Server
using the FacesMessage class to create a message, Using FacesMessage to Create a Message
messages, JMS
body formats, Message Bodies
browsing, JMS Queue Browsers
definition, JMS API Architecture
delivery modes, Specifying Message Persistence
expiration, Allowing Messages to Expire
headers, Message Headers
introduction, JMS Messages
persistence, Specifying Message Persistence
priority levels, Setting Message Priority Levels
properties, Message Properties
messages, SAAJ
accessing elements, Accessing Elements of a Message
adding body content, Adding Content to the Body
attachments, What Is in a Message?
creating, Creating a Message
getting the content, Getting the Content of a Message
overview, SAAJ Messages
messaging, definition, What Is Messaging?
messaging domains, JMS, Messaging Domains
common interfaces, Programming with the Common Interfaces
point-to-point, Point-to-Point Messaging Domain
publish/subscribe, Publish/Subscribe Messaging Domain
metadata annotations
security, Using Annotations
web applications, Securing Web Applications
method binding, Using Text Components
method-binding expressions
Navigation Model
Using Text Components
Configuring Navigation Rules
method expressions
Referencing a Backing Bean Method
Referencing a Method That Performs Navigation
Implementing Action Listeners
Enabling Component Properties to Accept Expressions
MethodBinding class, Enabling Component Properties to Accept Expressions
method element, Specifying Method Permissions
method expressions
Unified Expression Language
Event and Listener Model
method-permission element
Specifying Method Permissions
Using Enterprise Bean Security Deployment Descriptor Elements
method permissions, Defining a Security View of Enterprise Beans
annotations, Specifying Method Permissions
deployment descriptor, Specifying Method Permissions
specifying, Specifying Method Permissions
MIME, headers, SAAJ and DOM
mutual authentication, Enabling Mutual Authentication over SSL
MVC architecture, The Example JSP Pages