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.  JavaServer Faces Technology

5.  Introduction to Facelets

6.  Expression Language

7.  Using JavaServer Faces Technology in Web Pages

8.  Using Converters, Listeners, and Validators

9.  Developing with JavaServer Faces Technology

10.  JavaServer Faces Technology: Advanced Concepts

11.  Using Ajax with JavaServer Faces Technology

12.  Composite Components: Advanced Topics and Example

13.  Creating Custom UI Components and Other Custom Objects

14.  Configuring JavaServer Faces Applications

15.  Java Servlet Technology

16.  Uploading Files with Java Servlet Technology

17.  Internationalizing and Localizing Web Applications

Part III Web Services

18.  Introduction to Web Services

19.  Building Web Services with JAX-WS

20.  Building RESTful Web Services with JAX-RS

21.  JAX-RS: Advanced Topics and Example

Part IV Enterprise Beans

22.  Enterprise Beans

23.  Getting Started with Enterprise Beans

24.  Running the Enterprise Bean Examples

25.  A Message-Driven Bean Example

26.  Using the Embedded Enterprise Bean Container

27.  Using Asynchronous Method Invocation in Session Beans

Part V Contexts and Dependency Injection for the Java EE Platform

28.  Introduction to Contexts and Dependency Injection for the Java EE Platform

29.  Running the Basic Contexts and Dependency Injection Examples

30.  Contexts and Dependency Injection for the Java EE Platform: Advanced Topics

31.  Running the Advanced Contexts and Dependency Injection Examples

Part VI Persistence

32.  Introduction to the Java Persistence API

33.  Running the Persistence Examples

34.  The Java Persistence Query Language

35.  Using the Criteria API to Create Queries

36.  Creating and Using String-Based Criteria Queries

37.  Controlling Concurrent Access to Entity Data with Locking

38.  Using a Second-Level Cache with Java Persistence API Applications

Part VII Security

39.  Introduction to Security in the Java EE Platform

40.  Getting Started Securing Web Applications

41.  Getting Started Securing Enterprise Applications

42.  Java EE Security: Advanced Topics

Part VIII Java EE Supporting Technologies

43.  Introduction to Java EE Supporting Technologies

44.  Transactions

45.  Resources and Resource Adapters

46.  The Resource Adapter Example

47.  Java Message Service Concepts

48.  Java Message Service Examples

49.  Bean Validation: Advanced Topics

50.  Using Java EE Interceptors

Part IX Case Studies

51.  Duke's Bookstore Case Study Example

52.  Duke's Tutoring Case Study Example

53.  Duke's Forest Case Study Example

Index

 

T

templating, Facelets, Using Facelets Templates
temporary JMS destinations, Creating Temporary Destinations
examples
Coding the Application Client: HumanResourceClient.java
Coding the Application Client: MultiAppServerClient.java
testing
enterprise beans, The standalone Example Application
unit, The standalone Example Application
TextMessage interface, Message Bodies
timeout events, intercepting, Intercepting Timeout Events
timer service, Using the Timer Service
automatic timers
Using the Timer Service
Automatic Timers
calendar-based timer expressions, Creating Calendar-Based Timer Expressions
cancelling timers, Canceling and Saving Timers
creating timers, Creating Programmatic Timers
examples, The timersession Example
exceptions, Canceling and Saving Timers
getInfo method, Getting Timer Information
getNextTimeout method, Getting Timer Information
getTimeRemaining method, Getting Timer Information
getting information, Getting Timer Information
programmatic timers
Using the Timer Service
Programmatic Timers
saving timers, Canceling and Saving Timers
transactions, Transactions and Timers
timestamps, for messages, JMSTimestamp message header field, Message Headers
Topic interface, JMS Destinations
topics, JMS Destinations
creating
JMS Destinations
To Create JMS Resources Using NetBeans IDE
durable subscriptions, Creating Durable Subscriptions
temporary
Creating Temporary Destinations
Coding the Application Client: MultiAppServerClient.java
transactions
Transactions in Java EE Applications
Transactions
application-managed, Application-Managed Entity Managers
attributes
Transaction Attributes
Setting Transaction Attributes
bean-managed
Bean-Managed Transactions
Methods Not Allowed in Bean-Managed Transactions
Managing Distributed Transactions
boundaries
What Is a Transaction?
Methods Not Allowed in Container-Managed Transactions
Bean-Managed Transactions
business methods
See business methods, transactions
commits
What Is a Transaction?
Synchronizing a Session Bean’s Instance Variables
container-managed
Container-Managed Transactions
Managing Distributed Transactions
container-managed transaction demarcation, Container-Managed Transactions
defined, What Is a Transaction?
distributed, Managing Distributed Transactions
examples, A Local Transaction Example
exceptions
See exceptions, transactions
JDBC, Updating Multiple Databases
JMS and enterprise bean applications, Managing Transactions in Session Beans
JTA
Bean-Managed Transactions
JTA Transactions
local, Using JMS API Local Transactions
managers
Summary of Transaction Attributes
JTA Transactions
Updating Multiple Databases
message-driven beans
See message-driven beans, transactions
nested
Container-Managed Transactions
JTA Transactions
Required attribute, Managing Distributed Transactions
rollbacks
What Is a Transaction?
Rolling Back a Container-Managed Transaction
Synchronizing a Session Bean’s Instance Variables
JTA Transactions
scope, Transaction Attributes
session beans
See session beans, transactions
timeouts, Transaction Timeouts
timer service, Transactions and Timers
web components, Transactions in Web Components
transport-guarantee element, Specifying a Secure Connection
transport guarantees, Specifying a Secure Connection
transport-layer security
Transport-Layer Security
Establishing a Secure Connection Using SSL
truststores
Working with Digital Certificates
Creating a Server Certificate
managing, Working with Digital Certificates

U

UI component behavioral interfaces, User Interface Component Classes
ActionSource2 interface
User Interface Component Classes
Creating Custom Component Classes
ActionSource interface
User Interface Component Classes
Event and Listener Model
Creating Custom Component Classes
Implementing an Event Listener
ClientBehaviorHolder interface, User Interface Component Classes
ConvertibleValueHolder interface, User Interface Component Classes
EditableValueHolder interface
User Interface Component Classes
Creating Custom Component Classes
NamingContainer interface
User Interface Component Classes
Creating Custom Component Classes
StateHelper interface
Creating Custom Component Classes
Enabling Component Properties to Accept Expressions
Saving and Restoring State
StateHolder interface
User Interface Component Classes
Creating Custom Component Classes
Saving and Restoring State
SystemEventListenerHolder interface, User Interface Component Classes
ValueHolder interface
User Interface Component Classes
Creating Custom Component Classes
UI component classes
User Interface Component Classes
Component Rendering Model
When to Use a Custom Component
See also custom UI components
javax.faces.component package, Creating Custom Component Classes
UIColumn class, User Interface Component Classes
UICommand class
User Interface Component Classes
Component Rendering Model
UIComponentBase class
User Interface Component Classes
Creating Custom Component Classes
Performing Encoding
UIComponent class
User Interface Component Model
Component Rendering Model
UIData class
UIData Properties
User Interface Component Classes
UIForm class, User Interface Component Classes
UIGraphic class, User Interface Component Classes
UIInput and UIOutput classes, UIInput and UIOutput Properties
UIInput class
User Interface Component Classes
Event and Listener Model
UIMessage class, User Interface Component Classes
UIMessages class, User Interface Component Classes
UIOutput class
User Interface Component Classes
Conversion Model
UIPanel class, User Interface Component Classes
UIParameter class, User Interface Component Classes
UISelectBoolean class
UISelectBoolean Properties
User Interface Component Classes
UISelectItem class
UISelectItem Properties
User Interface Component Classes
UISelectItems class
UISelectItems Properties
User Interface Component Classes
UISelectMany class
UISelectMany Properties
User Interface Component Classes
UISelectOne class
UISelectOne Properties
User Interface Component Classes
Component Rendering Model
UIViewRoot class, User Interface Component Classes
UnavailableException class, Creating and Initializing a Servlet
undeploying modules and applications, Undeploying Web Modules
Unicode character set, Character Sets
unified expression language, See EL
Uniform Resource Identifiers (URIs), What Are RESTful Web Services?
URI path parameters, JAX-RS, Extracting Request Parameters
URI path templates
JAX-RS
Overview of a JAX-RS Application
The @Path Annotation and URI Path Templates
URL paths, Mapping URLs to Web Components
US-ASCII character set, Character Sets
user-data-constraint element, Specifying a Secure Connection
user data constraints
Specifying Security Constraints
Specifying a Secure Connection
users, What Is a User?
adding to GlassFish Server, To Add Users to the GlassFish Server
managing, Managing Users and Groups on the GlassFish Server
UserTransaction interface
Methods Not Allowed in Container-Managed Transactions
JTA Transactions
Methods Not Allowed in Bean-Managed Transactions
Transactions in Web Components
message-driven beans, Managing Distributed Transactions
using pages, Composite Components
UTF-8 character encoding, Character Encoding
utility classes, The Contents of an Enterprise Bean