Book description
The Java EE 6 Tutorial: Advanced Topics, 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 Java programmers with a deep understanding of the platform.
This guide–which builds on the concepts introduced in The Java EE 6 Tutorial: Basic Concepts, Fourth Edition–contains advanced material, including detailed introductions to more complex platform features and instructions for using the latest version of the NetBeans IDE and the GlassFish Server, Open Source Edition.
This book introduces the Java Message Service (JMS) API and Java EE Interceptors. It also describes advanced features of JavaServer Faces, Servlets, JAX-RS, Enterprise¿ JavaBeans components, the Java Persistence API, Contexts and Dependency Injection for the Java EE Platform, web and enterprise application security, and Bean Validation. The book culminates with three new case studies that illustrate the use of multiple Java EE 6 APIs.
Table of contents
- Title Page
- Copyright Page
- Contents
- Preface
-
Part I: Introduction
-
Chapter 1. Overview
- Java EE 6 Platform Highlights
- Java EE Application Model
- Distributed Multitiered 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 and 7
- GlassFish Server Tools
- Chapter 2. Using the Tutorial Examples
-
Chapter 1. Overview
-
Part II: The Web Tier
- Chapter 3. JavaServer Faces Technology: Advanced Concepts
-
Chapter 4. Using Ajax with JavaServer Faces Technology
- Overview of Ajax
- Using Ajax Functionality with JavaServer Faces Technology
- Using Ajax with Facelets
- Sending an Ajax Request
- Monitoring Events on the Client
- Handling Errors
- Receiving an Ajax Response
- Ajax Request Lifecycle
- Grouping of Components
- Loading JavaScript as a Resource
- The ajaxguessnumber Example Application
- Further Information about Ajax in JavaServer Faces Technology
- Chapter 5. Composite Components: Advanced Topics and Example
-
Chapter 6. Creating Custom UI Components and Other Custom Objects
- Determining Whether You Need a Custom Component or Renderer
- Understanding the Image Map Example
- Steps for Creating a Custom Component
- Creating Custom Component Classes
- Delegating Rendering to a Renderer
- Implementing an Event Listener
- Handling Events for Custom Components
- Defining the Custom Component Tag in a Tag Library Descriptor
- Using a Custom Component
- Creating and Using a Custom Converter
- Creating and Using a Custom Validator
- Binding Component Values and Instances to Managed Bean Properties
- Binding Converters, Listeners, and Validators to Managed Bean Properties
-
Chapter 7. Configuring JavaServer Faces Applications
- Using Annotations to Configure Managed Beans
- Application Configuration Resource File
- Configuring Managed Beans
- Registering Application Messages
- Using Default Validators
- Registering a Custom Validator
- Registering a Custom Converter
- Configuring Navigation Rules
- Registering a Custom Renderer with a Render Kit
- Registering a Custom Component
- Basic Requirements of a JavaServer Faces Application
- Chapter 8. Uploading Files with Java Servlet Technology
- Chapter 9. Internationalizing and Localizing Web Applications
- Part III: Web Services
- Part IV: Enterprise Beans
-
Part V: Contexts and Dependency Injection for the Java EE Platform
-
Chapter 14. Contexts and Dependency Injection for the Java EE Platform: Advanced Topics
- Using Alternatives in CDI Applications
- Using Producer Methods, Producer Fields, and Disposer Methods in CDI Applications
- Using Predefined Beans in CDI Applications
- Using Events in CDI Applications
- Using Interceptors in CDI Applications
- Using Decorators in CDI Applications
- Using Stereotypes in CDI Applications
- Chapter 15. Running the Advanced Contexts and Dependency Injection Examples
-
Chapter 14. Contexts and Dependency Injection for the Java EE Platform: Advanced Topics
- Part VI: Persistence
-
Part VII: Security
-
Chapter 19. Java EE Security: Advanced Topics
- Working with Digital Certificates
- Authentication Mechanisms
- Using Form-Based Login in JavaServer Faces Web Applications
- Using the JDBC Realm for User Authentication
- Securing HTTP Resources
- Securing Application Clients
- Securing Enterprise Information Systems Applications
- Configuring Security Using Deployment Descriptors
- Further Information about Security
-
Chapter 19. Java EE Security: Advanced Topics
-
Part VIII: Java EE Supporting Technologies
- Chapter 20. Java Message Service Concepts
-
Chapter 21. Java Message Service Examples
- Writing Simple JMS Applications
- Writing Robust JMS Applications
- An Application That Uses the JMS API with a Session Bean
- An 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
- Chapter 22. Bean Validation: Advanced Topics
- Chapter 23. Using Java EE Interceptors
- Chapter 24. The Resource Adapter Example
- Part IX: Case Studies
- Index
- Ad Page
Product information
- Title: The Java EE 6 Tutorial: Advanced Topics, Fourth Edition
- Author(s):
- Release date: January 2013
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780137084005
You might also like
book
The Java EE 7 Tutorial, Volume 2, Fifth Edition
is a task-oriented, example-driven guide to developing enterprise applications for the Java Platform, Enterprise Edition 7 …
book
Java EE 6 Pocket Guide
This handy guide provides an overview of Java Enterprise Edition 6’s main technologies and includes extensive, …
book
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 …
book
The Java EE 7 Tutorial: Volume 1, Fifth Edition
is a task-oriented, example-driven guide to developing enterprise applications for the Java Platform, Enterprise Edition 7 …