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

5.  Introduction to Facelets

6.  Unified Expression Language

7.  Using JavaServerTM Faces Technology in Web Pages

8.  Using Converters, Listeners and Validators

9.  Developing With JavaServerTM Faces Technology

10.  Java Servlet Technology

Part III Web Services

11.  Introduction to Web Services

12.  Building Web Services with JAX-WS

13.  Building RESTful Web Services with JAX-RS and Jersey

Part IV Enterprise Beans

14.  Enterprise Beans

15.  Getting Started with Enterprise Beans

16.  Running the Enterprise Bean Examples

Part V Contexts and Dependency Injection for the JavaTM EE Platform

17.  Introduction to Contexts and Dependency Injection for the JavaTM EE Platform

18.  Running the Basic Contexts and Dependency Injection Examples

Part VI Persistence

19.  Introduction to the Java Persistence API

20.  Running the Persistence Examples

21.  The Java Persistence Query Language

22.  Creating Queries Using the Criteria API

Part VII Security

23.  Introduction to Security in the Java EE Platform

24.  Getting Started Securing Enterprise Applications

25.  Getting Started Securing Web Applications

Part VIII JavaTM EE Supporting Technologies

26.  Introduction to JavaTM EE Supporting Technologies

27.  Transactions

28.  Resource Connections

 

Index

Numbers and Symbols

@ApplicationScoped annotation, Using Scopes
@Consumes, Using @Consumes and @Produces to Customize Requests and Responses
@ConversationScoped annotation, Using Scopes
@DELETE
Creating a RESTful Root Resource Class
Responding to HTTP Resources
@Dependent annotation, Using Scopes
@DiscriminatorColumn annotation, Entity Inheritance Mapping Strategies
@DiscriminatorValue annotation, Entity Inheritance Mapping Strategies
@Embeddable annotation, Embeddable Classes in Entities
@EmbeddedId annotation, Primary Keys in Entities
@Entity annotation, Requirements for Entity Classes
@GET
Creating a RESTful Root Resource Class
Responding to HTTP Resources
@Id annotation, Primary Keys in Entities
@IdClass annotation, Primary Keys in Entities
@Inject annotation, Injecting Beans
@Local annotation
Deciding on Remote or Local Access
The Business Interface
@ManyToMany annotation
Multiplicity in Entity Relationships
Bidirectional Relationships
@ManyToOne annotation, Multiplicity in Entity Relationships
@Named annotation, Giving Beans EL Names
@NamedQuery annotation, Creating Queries Using the Java Persistence Query Language
@OneToMany annotation
Multiplicity in Entity Relationships
Bidirectional Relationships
Cascade Operations and Relationships
@OneToOne annotation
Multiplicity in Entity Relationships
Bidirectional Relationships
Cascade Operations and Relationships
@Path
Creating a RESTful Root Resource Class
The @Path Annotation and URI Path Templates
@PathParam, Extracting Request Parameters
@PersistenceContext annotation, Container-Managed Entity Managers
@PersistenceUnit annotation, Application-Managed Entity Managers
@POST
Creating a RESTful Root Resource Class
Responding to HTTP Resources
@PostActivate annotation
Session Bean Class
Lifecycle Callback Methods
@PostConstruct annotation, The Life Cycles of Enterprise Beans
@PostConstruct annotation
Session Bean Class
Lifecycle Callback Methods
@PreDestroy annotation, The Life Cycles of Enterprise Beans
@PreDestroy annotation
Session Bean Class
Lifecycle Callback Methods
@PrePassivate annotation
Session Bean Class
Lifecycle Callback Methods
@Produces, Using @Consumes and @Produces to Customize Requests and Responses
@Produces annotation, Injecting Objects by Using Producer Methods
@PUT
Creating a RESTful Root Resource Class
Responding to HTTP Resources
@Qualifier annotation, Using Qualifiers
@QueryParam, Extracting Request Parameters
@Remote annotation
Deciding on Remote or Local Access
The Business Interface
@Remove annotation, The Life Cycle of a Stateful Session Bean
@Remove annotation
Session Bean Class
The Remove Method
@RequestScoped annotation, Using Scopes
@Resource annotation, Resource Injection
@SessionScoped annotation, Using Scopes
@Stateful annotation, Session Bean Class
@Timeout annotation, Programmatic Timers
@Timeout method, Canceling and Saving Timers
@Transient annotation, Persistent Properties
@WebMethod annotation, Business Methods

A

abstract schemas
defined, Query Language Terminology
types, Query Language Terminology
access control, Characteristics of Application Security
action events, Rendering a Hyperlink With the h:commandLink Tag
ActionEvent class
and UICommand component, Using Command Components for Performing Actions and Navigation
actionListener attribute, Referencing a Backing Bean Method
and backing bean methods, Referencing a Backing Bean Method
and UICommand component, Using Command Components for Performing Actions and Navigation
referencing methods that handle action events, Referencing a Method That Handles an Action Event
ActionListener class, Registering an Action Listener on a Component
actionListener tag
Using Core Tags
Registering an Action Listener on a Component
referencing methods that handle action events
Referencing a Method That Handles an Action Event
Writing a Method to Handle an Action Event
writing a backing-bean method to handle action events, Writing a Method to Handle an Action Event
Admin Console, Tools
Administration Console, starting, Starting the Administration Console
annotations
DeclareRoles
Specifying Authorized Users by Declaring Security Roles
Specifying Authorized Users by Declaring Security Roles
DenyAll, Specifying Authorized Users by Declaring Security Roles
JAX-RS, Overview of a Jersey-Annotated Application
Jersey
Creating a RESTful Root Resource Class
Overview of a Jersey-Annotated Application
PermitAll, Specifying Authorized Users by Declaring Security Roles
RolesAllowed, Specifying Authorized Users by Declaring Security Roles
security
Using Annotations
Securing Enterprise Beans
Ant tool, Apache Ant
appclient tool, Tools
applet containers, Container Types
applets
Applets
Web Components
application client containers, Container Types
application clients, Application Clients
securing, Securing Application Clients
applications
creating
JAX-RS, Example Applications for JAX-RS and Jersey
deploying
JAX-RS, Example Applications for JAX-RS and Jersey
running
JAX-RS, Example Applications for JAX-RS and Jersey
security, Application-Layer Security
asadmin tool, Tools
attributes referencing backing bean methods, Referencing a Backing Bean Method
action attribute, Referencing a Backing Bean Method
and backing bean methods, Referencing a Backing Bean Method
and navigation, Referencing a Method That Performs Navigation
actionListener attribute
Referencing a Backing Bean Method
Referencing a Backing Bean Method
Referencing a Method That Handles an Action Event
validator attribute
Referencing a Backing Bean Method
Referencing a Backing Bean Method
Referencing a Method That Performs Validation
valueChangeListener attribute
Referencing a Backing Bean Method
Referencing a Backing Bean Method
Referencing a Method That Handles a Value-Change Event
audit modules, pluggable, Securing the Enterprise Server
auditing, Characteristics of Application Security
auth-constraint, Specifying an Authorization Constraint
auth-constraint element, Setting Up Security Roles
authenticate method, Authenticating Users Programmatically
authenticating users, Specifying an Authentication Mechanism
authentication
Characteristics of Application Security
Working with Realms, Users, Groups, and Roles
Establishing a Secure Connection Using SSL
Installing and Configuring SSL Support
basic, HTTP Basic Authentication
example, Example: Basic Authentication with JAX-WS
certificate-based mutual, HTTPS Client Authentication
digest, Digest Authentication
form-based
example, Example: Form-Based Authentication with a Servlet
mutual, HTTPS Client Authentication
web resources
form-based, Form-Based Authentication
HTTP basic
HTTP Basic Authentication
Example: Form-Based Authentication with a Servlet
authentication mechanism, EJB, Specifying an Authentication Mechanism and Secure Connection
authorization
Characteristics of Application Security
Working with Realms, Users, Groups, and Roles
authorization constraint
Setting Up Security Roles
Specifying an Authorization Constraint
authorization providers, pluggable, Securing the Enterprise Server