The Java EE 6 tutorial : basic concepts

The Java EE 6 Tutorial: Basic Concepts, Fourth Edition, is a task-oriented, example-driven guide to developing enterprise applications for the Java Platform, Enterprise Edition 6 (Java EE 6). Written by members of the Java EE 6 documentation team at Oracle, this book provides new and intermediate Ja...

Descripción completa

Detalles Bibliográficos
Otros Autores: Jendrock, Eric, author (author), Jendrock, Eric Contributor (contributor)
Formato: Libro electrónico
Idioma:Inglés
Publicado: [Place of publication not identified] Addison Wesley 2011
Edición:4th ed
Colección:The Java series
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629001206719
Tabla de Contenidos:
  • Cover
  • Contents
  • Preface
  • Part I: Introduction
  • 1 Overview
  • Java EE 6 PlatformHighlights
  • Java EE ApplicationModel
  • DistributedMultitiered Applications
  • Java EE Containers
  • Web Services Support
  • Java EE Application Assembly and Deployment
  • Packaging Applications
  • Development Roles
  • Java EE 6 APIs
  • Java EE 6 APIs in the Java Platform, Standard Edition 6.0
  • GlassFish Server Tools
  • 2 Using the Tutorial Examples
  • Required Software
  • Starting and Stopping the GlassFish Server
  • Starting the Administration Console
  • Starting and Stopping the Java DB Server
  • Building the Examples
  • Tutorial Example Directory Structure
  • Getting the Latest Updates to the Tutorial
  • Debugging Java EE Applications
  • Part II: The WebTier
  • 3 Getting Started withWeb Applications
  • Web Applications
  • Web Application Lifecycle
  • WebModules: The hello1 Example
  • Configuring Web Applications: The hello2 Example
  • Further Information about Web Applications
  • 4 JavaServer FacesTechnology
  • What Is a JavaServer Faces Application?
  • JavaServer Faces Technology Benefits
  • Creating a Simple JavaServer Faces Application
  • Further Information about JavaServer Faces Technology
  • 5 Introduction to Facelets
  • What Is Facelets?
  • Developing a Simple Facelets Application
  • Templating
  • Composite Components
  • Resources
  • 6 Expression Language
  • Overview of the EL
  • Immediate and Deferred Evaluation Syntax
  • Value and Method Expressions
  • 7 Using JavaServer FacesTechnology in Web Pages
  • Setting Up a Page
  • Adding Components to a Page Using HTML Tags
  • Using Core Tags
  • 8 Using Converters, Listeners, and Validators
  • Using the Standard Converters
  • Registering Listeners on Components
  • Using the Standard Validators
  • Referencing a Backing Bean Method
  • 9 Developing with JavaServer FacesTechnology
  • Backing Beans.
  • Writing Bean Properties
  • Writing Backing Bean Methods
  • Using Bean Validation
  • 10 Java Servlet Technology
  • What Is a Servlet?
  • Servlet Lifecycle
  • Sharing Information
  • Creating and Initializing a Servlet
  • Writing Service Methods
  • Filtering Requests and Responses
  • Invoking Other Web Resources
  • Accessing the Web Context
  • Maintaining Client State
  • Finalizing a Servlet
  • The mood Example Application
  • Further Information about Java Servlet Technology
  • Part III: Web Services
  • 11 Introduction to Web Services
  • What Are Web Services?
  • Types of Web Services
  • Deciding Which Type of Web Service to Use
  • 12 Building Web Services with JAX-WS
  • Creating a Simple Web Service and Clients with JAX-WS
  • Types Supported by JAX-WS
  • Web Services Interoperability and JAX-WS
  • Further Information about JAX-WS
  • 13 Building RESTful Web Services with JAX-RS
  • What Are RESTful Web Services?
  • Creating a RESTful Root Resource Class
  • Example Applications for JAX-RS
  • Further Information about JAX-RS
  • Part IV: Enterprise Beans
  • 14 Enterprise Beans
  • What Is an Enterprise Bean?
  • What Is a Session Bean?
  • What Is a Message-Driven Bean?
  • Accessing Enterprise Beans
  • The Contents of an Enterprise Bean
  • Naming Conventions for Enterprise Beans
  • The Lifecycles of Enterprise Beans
  • Further Information about Enterprise Beans
  • 15 Getting Started with Enterprise Beans
  • Creating the Enterprise Bean
  • Modifying the Java EE Application
  • 16 Running the Enterprise Bean Examples
  • The cart Example
  • A Singleton Session Bean Example: counter
  • A Web Service Example: helloservice
  • Using the Timer Service
  • Handling Exceptions
  • Part V: Contexts and Dependency Injection for the Java EE Platform
  • 17 Introduction to Contexts and Dependency Injection for the Java EE Platform
  • Overview of CDI
  • About Beans.
  • About Managed Beans
  • Beans as Injectable Objects
  • Using Qualifiers
  • Injecting Beans
  • Using Scopes
  • Giving Beans EL Names
  • Adding Setter and Getter Methods
  • Using a Managed Bean in a Facelets Page
  • Injecting Objects by Using ProducerMethods
  • Configuring a CDI Application
  • Further Information about CDI
  • 18 Running the Basic Contexts and Dependency Injection Examples
  • The simplegreeting CDI Example
  • The guessnumber CDI Example
  • Part VI: Persistence
  • 19 Introduction to the Java Persistence API
  • Entities
  • Entity Inheritance
  • Managing Entities
  • Querying Entities
  • Further Information about Persistence
  • 20 Running the Persistence Examples
  • The order Application
  • The roster Application
  • The address-book Application
  • 21 The Java Persistence Query Language
  • Query Language Terminology
  • Creating Queries Using the Java Persistence Query Language
  • Simplified Query Language Syntax
  • Example Queries
  • Full Query Language Syntax
  • 22 Using the Criteria API to Create Queries
  • Overview of the Criteria and Metamodel APIs
  • Using the Metamodel API to Model Entity Classes
  • Using the Criteria API and Metamodel API to Create Basic Typesafe Queries
  • Part VII: Security
  • 23 Introduction to Security in the Java EE Platform
  • Overview of Java EE Security
  • SecurityMechanisms
  • Securing Containers
  • Securing the GlassFish Server
  • Working with Realms, Users, Groups, and Roles
  • Establishing a Secure Connection Using SSL
  • Further Information about Security
  • 24 Getting Started SecuringWeb Applications
  • Overview of Web Application Security
  • Securing Web Applications
  • Using Programmatic Security with Web Applications
  • Examples: Securing Web Applications
  • 25 Getting Started Securing Enterprise Applications
  • Securing Enterprise Beans
  • Examples: Securing Enterprise Beans.
  • Securing Application Clients
  • Securing Enterprise Information Systems Applications
  • Part VIII: Java EE SupportingTechnologies
  • 26 Introduction to Java EE SupportingTechnologies
  • Transactions
  • Resources
  • 27 Transactions
  • What Is a Transaction?
  • Container-Managed Transactions
  • Bean-Managed Transactions
  • Transaction Timeouts
  • UpdatingMultipleDatabases
  • Transactions in Web Components
  • Further Information about Transactions
  • 28 Resource Connections
  • Resources and JNDINaming
  • DataSource Objects and Connection Pools
  • Resource Injection
  • Resource Adapters and Contracts
  • Metadata Annotations
  • Common Client Interface
  • Further Information about Resources
  • Index
  • Numbers and Symbols.