Java EE 6 Tutorial: Advanced Topics Documentation Plan

The Java EE 6 Tutorial: Advanced Topics will consist of the following parts:

  • Part I: Introduction (same as Volume I introduction)
  • Part II: The Web Tier
  • Part III: Web Services
  • Part IV: Enterprise Beans
  • Part V: Contexts and Dependency Injection for the Java EE Platform
  • Part VI: Persistence
  • Part VII: Security
  • Part VIII: Java EE Supporting Technologies
  • Part IX: Case Studies

Content Outline

Volume II will contain advanced topics that build on the chapters and examples introduced in Volume I. This plan is the one with which we will go to press.

Part I: Introduction

  • Overview - same as Volume I.
  • Using the Tutorial Examples - same as Volume I.

Part II: The Web Tier

  • JavaServer Faces Technology: Advanced Concepts (Kim) - new chapter discussing advanced JavaServer Faces features.
  • Using Ajax with JavaServer Faces Technology (Kim) - new chapter on using Ajax functionality in JavaServer Faces web applications.
  • Advanced Composite Components (Kim) - new chapter chapter that describes the advanced features of composite components in JavaServer Faces technology.
  • Creating Custom UI Components (Kim) - new chapter chapter that explains how you can create simple custom components, custom renderers, custom converters, custom listeners, and associated custom tags, and take care of all the other details associated with using the components and renderers in an application.
  • Configuring JavaServer Faces Applications (Kim) - new chapter that describes advanced configuration tasks that are required for building and deploying more complex JavaServer Faces web applications.
  • Java Servlet Technology: Advanced Topics (Eric) - new chapter that describes a very limited set of advanced Servlet features, with pointers to applicable case studies where these features have been implemented. Topics include file upload, asynchronous processing, etc.
  • Internationalizing and Localizing Web Applications (Eric) - explains how to internationalize Web applications.

Part III: Web Services

  • JAX-RS: Advanced Topics and Example (Chinmayee) - new chapter discussing advanced JAX-RS features, with an example. Topics include annotations for field and bean properties of resource classes, subresources and runtime resource resolution, integrating JAX-RS with EJB technology and CDI, conditional HTTP requests, runtime content negotiation, and using JAX-RS with JAXB.

Part IV: Enterprise Beans

  • Using the Embedded Enterprise Bean Container - new chapter on running the EJB container in a Java SE setting; focus on testing EJBs; with example.
  • Using Asynchronous Method Invocation in Session Beans - new chapter detailing the asynchronous method invocation semantics, with example.
  • A Message Driven Bean Example (Kim) - information about MDBs, with instructions for running the examples.

Will not include:

  • Understanding the Enterprise Bean Deployment Descriptor - new chapter on ejb-jar.xml syntax and usage.
  • Using Bean-Managed Transactions - new chapter on user-controlled transaction demarcation, with example.
  • Using Enterprise Beans as Web Service Endpoints - move material from old Session Bean Examples chapter to new chapter, update example.

Part V: Contexts and Dependency Injection for the Java EE Platform

  • Contexts and Dependency Injection for the Java EE Platform: Advanced Topics - new chapter discussing advanced Java Contexts and Dependency Injection features
  • Running the Advanced Contexts and Dependency Injection Example

Part VI: Persistence (Ian)

  • Creating and Using String-Based Criteria Queries - new chapter that describes how to create weakly-typed string-based Criteria API queries
  • Controlling Concurrent Access to Entity Data with Locking - new chapter that describes setting lock modes for concurrent access.
  • Improving the Performance of Java Persistence API Applications By Setting a Second-Level Cache - new chapter that describes setting the cache mode to improve performance.

Will not include:

  • Derived Identities - new section on using derived entities.
  • Bean Validation and the Java Persistence API - discusses JPA 2.0-specific contracts of the Bean Validation API, with example(s).

Part VII: Security

The outline for Vol. 1 (basic security) can be viewed here.

  • Java EE Security: Advanced Topics and Example (Eric) - Describes setting up and using client and server certificates, describes how to use a JDBC realm for storing authentication information, and provides a solution for using a JSF-friendly internationalizable login form. The chapter also explains how to run the mutual authentication example.

Part VIII: Java EE Supporting Technologies

  • Java Message Service Concepts (Kim) - Conceptual introduction to JMS.
  • Java Message Service Examples (Kim) - Explains how to run the JMS examples.
  • Bean Validation: Advanced Topics (Ian) - Explains how to create custom constraints, custom validator messages, and constraint groups.
  • Using Java EE Interceptors (Ian) - new chapter on Java EE interceptors, with an example.
  • Running the Resource Adapter Example (Chinmayee) - Explains how to run the mailconnector example.

Part IX: Case Studies

  • Duke's Bookstore - updated JSF-centric Web tier example
  • Duke's Tutoring - new example.
  • Duke's Forest - new example.