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

 

D

data, encryption, HTTPS Client Authentication
data integrity
Characteristics of Application Security
Transactions
What Is a Transaction?
data sources, DataSource Objects and Connection Pools
databases
See also persistence
clients, Benefits of Enterprise Beans
connections
Business Methods
Returning without Committing
data recovery, Transactions
EIS tier, Distributed Multitiered Applications
message-driven beans and, What Makes Message-Driven Beans Different from Session Beans?
multiple
JTA Transactions
Updating Multiple Databases
transactions
See transactions
DataSource interface, DataSource Objects and Connection Pools
debugging, Java EE applications, Debugging Java EE Applications
declarative security
Overview of Java EE Security
Securing Enterprise Beans
Overview of Web Application Security
DeclareRoles annotation
Specifying Authorized Users by Declaring Security Roles
Specifying Authorized Users by Declaring Security Roles
DenyAll annotation, Specifying Authorized Users by Declaring Security Roles
Dependency Injection for Java (JSR-330), Introduction to Contexts and Dependency Injection for the Java EE Platform
deployer roles, Application Deployer and Administrator
deploying, without NetBeans IDE, Creating a RESTful Web Service From Examples
deploying applications, JAX-RS, Example Applications for JAX-RS and Jersey
deployment, Compiling, Packaging, and Running the converter Example
deployment descriptor, Introduction to Web Application Deployment Descriptors
auth-constraint element, Setting Up Security Roles
security-constraint element, Setting Up Security Roles
specifying SSL, Specifying a Secure Connection in Your Application Deployment Descriptor
transport-guarantee element, Setting Up Security Roles
user-data-constraint element, Setting Up Security Roles
web applications, Using Deployment Descriptors to Secure Web Applications
web-resource-collection element, Setting Up Security Roles
deployment descriptors
Overview of Java EE Security
Using Deployment Descriptors for Declarative Security
Securing Enterprise Beans
Overview of Web Application Security
ejb-jar.xml file, Using Deployment Descriptors for Declarative Security
portable, Packaging Applications
runtime, Packaging Applications
security-role-mapping element, Mapping Roles to Users and Groups
security-role-ref element, Declaring and Linking Role References
web application
Web Applications
Web Modules
runtime, Web Modules
web services, Using Deployment Descriptors for Declarative Security
web.xml file, Using Deployment Descriptors for Declarative Security
destroy method, Finalizing a Servlet
development roles, Development Roles
application assemblers, Application Assembler
application client developers, Application Client Developer
application deployers and administrators, Application Deployer and Administrator
enterprise bean developers, Enterprise Bean Developer
Java EE product providers, Java EE Product Provider
tool providers, Tool Provider
web component developers, Web Component Developer
digest authentication, Digest Authentication
digital signature, Working with Digital Certificates
DNS, Java Naming and Directory Interface
doFilter method
Programming Filters
Programming Filters
Specifying Filter Mappings
doGet method, Writing Service Methods
domains, Starting and Stopping the Enterprise Server
doPost method, Writing Service Methods
downloading, Enterprise Server, Java EE 6 Software Development Kit (SDK)

E

EAR files, Packaging Applications
EIS tier, Enterprise Information System Tier
security, Securing Enterprise Information Systems (EIS) Applications
EJB, security, Securing Enterprise Beans
EJB containers, Container Types
container-managed transactions, Container-Managed Transactions
services
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
embeddable classes, See persistence: embeddable classes
end-to-end security, Message-Layer Security
enterprise beans
Business Components
Enterprise JavaBeans Technology
See also Java EE components
accessing, Accessing Enterprise Beans
business methods
See business methods
classes, The Contents of an Enterprise Bean
compiling, Compiling, Packaging, and Running the converter Example
contents, The Contents of an Enterprise Bean
defined, What Is an Enterprise Bean?
deployment, The Contents of an Enterprise Bean
distribution, Deciding on Remote or Local Access
exceptions, Handling Exceptions
getCallerPrincipal method, Accessing an Enterprise Bean Caller’s Security Context
implementor of business logic, Business Components
interfaces
Accessing Enterprise Beans
The Contents of an Enterprise Bean
isCallerInRole method, Accessing an Enterprise Bean Caller’s Security Context
life cycles, The Life Cycles of Enterprise Beans
local access, Local Clients
message-driven beans.
See message-driven beans
packaging, Compiling, Packaging, and Running the converter Example
performance, Deciding on Remote or Local Access
persistence
See persistence
programmatic security, Accessing an Enterprise Bean Caller’s Security Context
protecting, Securing Enterprise Beans
remote access, Remote Clients
securing
Getting Started Securing Enterprise Applications
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
Enterprise Server
adding users to, Adding Users to the Enterprise Server
downloading, Java EE 6 Software Development Kit (SDK)
enabling debugging, Using a Debugger
installation tips, Java EE 6 Software Development Kit (SDK)
securing, Securing the Enterprise Server
server logs, Using the Server Log
SSL connectors, Installing and Configuring SSL Support
starting, Starting and Stopping the Enterprise Server
stopping, Starting and Stopping the Enterprise Server
tools, Tools
entities
abstract, Abstract Entities
abstract schema names, Select Statements
cascading operations, Cascade Operations and Relationships
orphans, Orphan Removal in Relationships
collections, Identification Variables
entity manager, The EntityManager Interface
finding
Finding Entities Using the EntityManager
Finding Entities
inheritance
Entity Inheritance
Entity Inheritance in the roster Application
life cycle, Managing an Entity Instance’s Life Cycle
managing, Managing Entities
overview, 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
querying, Querying Entities
relationships, Setting Entity Relationships
removing
Managing an Entity Instance’s Life Cycle
Removing Entities
requirements, Requirements for Entity Classes
superclasses, Mapped Superclasses
synchronizing, Managing an Entity Instance’s Life Cycle
entity providers, Using Entity Providers to Map HTTP Response and Request Entity Bodies
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 and listener model
ActionEvent class
Using Text Components
Rendering a Hyperlink With the h:outputLink Tag
event listeners
JavaServer Faces UI, What Is a JavaServer Faces Application?
Listener class, Writing Backing Bean Methods
value-change events
See value-change events
ValueChangeEvent class, Referencing a Method That Handles a Value-Change Event
examples, Using the Tutorial Examples
building, Building the Examples
CDI, Running the Basic Contexts and Dependency Injection Examples
classpath, Compiling, Packaging, and Running the converter Example Using Ant
directory structure, Tutorial Example Directory Structure
primary keys, Primary Key Classes
query language, Example Queries
required software, Required Software
security, A Simple Security Example
basic authentication, Example: Basic Authentication with JAX-WS
form-based authentication, Example: Form-Based Authentication with a Servlet
servlets, Creating the converter Web Client
session beans, Coding the Enterprise Bean Class
simple servlets, Web Application Life Cycle
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
exceptions
business methods, Business Methods
enterprise beans, Handling Exceptions
mapping to error screens, Mapping Errors to Error Screens
rolling back transactions
Handling Exceptions
Rolling Back a Container-Managed Transaction
transactions
Mandatory Attribute
Never Attribute
expressions, lvalue expressions, Using the EL to Reference Backing Beans