Document Information


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




EAR files, Packaging Applications
UDDI and ebXML Standard Formats
Java API for XML Registries
Connector Architecture
Common Client Interface
EIS tier, Enterprise Information System Tier
security, Securing EIS Applications
EJB, security, Securing Enterprise Beans
EJB containers, Container Types
container-managed transactions, Container-Managed Transactions
message-driven beans, Using Message-Driven Beans to Receive Messages Asynchronously
onMessage method, invoking, The onMessage Method
Enterprise Beans
Benefits of Enterprise Beans
Securing Enterprise Beans
EJB JAR files, The Contents of an Enterprise Bean
portability, The Contents of an Enterprise Bean
EJBContext interface
Rolling Back a Container-Managed Transaction
Methods Not Allowed in Container-Managed Transactions
Methods Not Allowed in Bean-Managed Transactions
end-to-end security, Message-Layer Security
enterprise beans
Business Components
Enterprise JavaBeans Technology
See also Java EE components
accessing, Defining Client Access with Interfaces
business interfaces
See business interfaces
business methods
See business methods
classes, The Contents of an Enterprise Bean
compiling, Compiling and Packaging the converter Example
contents, The Contents of an Enterprise Bean
defined, What Is an Enterprise Bean?
deployment, The Contents of an Enterprise Bean
deployment descriptor security, Using Enterprise Bean Security Deployment Descriptor Elements
distribution, Deciding on Remote or Local Access
Duke’s Bank
Enterprise Beans
Protecting the Enterprise Beans
protecting, Protecting the Enterprise Beans
exceptions, Handling Exceptions
implementor of business logic, Business Components
Defining Client Access with Interfaces
The Contents of an Enterprise Bean
life cycles, The Life Cycles of Enterprise Beans
local access, Local Clients
message-driven beans.
See message-driven beans
method permissions
Duke’s Bank, Protecting the Enterprise Beans
packaging, Compiling and Packaging the converter Example
performance, Deciding on Remote or Local Access
persistence, Persistence in the EJB Tier
See persistence
protecting, Securing Enterprise Beans
remote access, Remote Clients
securing, Securing Enterprise Beans
session beans
See session beans
timer service, Using the Timer Service
types, Types of Enterprise Beans
web services
Types of Enterprise Beans
Web Service Clients
A Web Service Example: helloservice
Enterprise Information Systems, See EIS tier
abstract schema names, Select Statements
collections, Identification Variables
creating, Creating an Entity Class
Duke’s Bank, Java Persistence Entities
entity manager, The EntityManager Interface
entity managers, Obtaining Access to an Entity Manager
Finding Entities Using the EntityManager
Finding Entities
Entity Inheritance
Entity Inheritance in the roster Application
life cycle, Managing an Entity Instance’s Life Cycle
managing, Managing Entities
persistent fields, Persistent Fields and Properties in Entity Classes
persistent properties, Persistent Fields and Properties in Entity Classes
persisting, Managing an Entity Instance’s Life Cycle
primary keys, Primary Keys in Entities
relationships, Setting Entity Relationships
Managing an Entity Instance’s Life Cycle
Removing Entities
requirements, Requirements for Entity Classes
synchronizing, Managing an Entity Instance’s Life Cycle
updating, Updating Data in the Database
entity relationships
bidirectional, Bidirectional Relationships
many-to-many, Multiplicity in Entity Relationships
many-to-one, Multiplicity in Entity Relationships
multiplicity, Multiplicity in Entity Relationships
one-to-many, Multiplicity in Entity Relationships
one-to-one, Multiplicity in Entity Relationships
query language, Queries and Relationship Direction
unidirectional, Unidirectional Relationships
equals method, Primary Key Classes
Event, StAX example, Event Example
event and listener model
User Interface Component Model
Event and Listener Model
action events
See action events
ActionEvent class
Using Text Components
Rendering a Hyperlink with the outputLink Tag
data model events, Event and Listener Model
Event class, Event and Listener Model
event handlers
Restore View Phase
Restore View Phase
Steps for Creating a Custom Component
event listeners
apply request values phase, Apply Request Values Phase
invoke application phase, Invoke Application Phase
JavaServer Faces UI, JavaServer Faces Technology User Interface
process validations phase, Process Validations Phase
update model values phase, Update Model Values Phase
handling events of custom UI components, Handling Events for Custom Components
implementing event listeners, Implementing an Event Listener
Listener class
Event and Listener Model
Writing Backing Bean Methods
queueEvent method, Performing Decoding
value-change events
See value-change events
ValueChangeEvent class, Referencing a Method That Handles a Value-change Event
examples, Using the Tutorial Examples
See Coffee Break
See Duke’s Bank
See Duke’s Bookstore
application clients, ConverterClient Source Code
building, Building the Examples
business interfaces, Coding the Business Interface
classpath, Compiling and Packaging the converter Example Using Ant
directory structure, Tutorial Example Directory Structure
Duke’s Bookstore, JavaServer Faces technology version, The Example JavaServer Faces Application
Steps in the Development Process
The Life Cycle of a JavaServer Faces Page
JAXB, JAXB Examples
asynchronous message consumption, A Simple Example of Asynchronous Message Consumption
browsing messages in a queue, A Simple Example of Browsing Messages in a Queue
durable subscriptions, Creating Durable Subscriptions
Java EE examples
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
local transactions, Using JMS API Local Transactions
message acknowledgment, Controlling Message Acknowledgment
synchronous message consumption, A Simple Example of Synchronous Message Receives
JSP pages
A Simple JSP Page Example
Creating the converter Web Client
JSP scripting elements, The Example JSP Pages
JSP simple tags
An Iteration Tag
A Template Tag Library
location, To Obtain the Tutorial Bundle
primary keys, Primary Key Classes
query language, Example Queries
required software, Required Software
attachments, Attachments Example
DOM, DOM and DOMSource Examples
headers, Header Example
SOAP faults, SOAP Fault Example
security, A Simple Security Example
basic authentication, Example: Basic Authentication with JAX-WS
form-based authentication, Example: Using Form-Based Authentication with a JSP Page
session beans
Coding the Enterprise Bean Class
Session Bean Examples
setting build properties, Building the Examples on the Command-Line Using Ant
simple JSP pages, Web Application Life Cycle
simple servlets, Web Application Life Cycle
StAX, Example Code
timer service, The timersession Example
web clients, Creating the converter Web Client
web services
Creating a Simple Web Service and Client with JAX-WS
A Web Service Example: helloservice
The Coffee Break Application
business methods, Business Methods
enterprise beans, Handling Exceptions
JMS, JMS Exception Handling
mapping to error screens, Mapping Errors to Error Screens
rolling back transactions
Handling Exceptions
Rolling Back a Container-Managed Transaction
Mandatory Attribute
Never Attribute
exclude-list element, Specifying Method Permissions
expiration of JMS messages, Allowing Messages to Expire
JMSExpiration message header field, Message Headers
expressions, lvalue expressions, Using the Unified EL to Reference Backing Beans