Document Information


Part I Introduction

1.  Overview

2.  Using the Tutorial Examples

Part II The Web Tier

3.  Getting Started with Web Applications

4.  Java Servlet Technology

5.  JavaServer Pages Technology

6.  JavaServer Pages Documents

7.  JavaServer Pages Standard Tag Library

8.  Custom Tags in JSP Pages

9.  Scripting in JSP Pages

10.  JavaServer Faces Technology

11.  Using JavaServer Faces Technology in JSP Pages

12.  Developing with JavaServer Faces Technology

13.  Creating Custom UI Components

14.  Configuring JavaServer Faces Applications

15.  Internationalizing and Localizing Web Applications

Part III Web Services

16.  Building Web Services with JAX-WS

17.  Binding between XML Schema and Java Classes

18.  Streaming API for XML

19.  SOAP with Attachments API for Java

Part IV Enterprise Beans

20.  Enterprise Beans

21.  Getting Started with Enterprise Beans

22.  Session Bean Examples

23.  A Message-Driven Bean Example

Part V Persistence

24.  Introduction to the Java Persistence API

25.  Persistence in the Web Tier

26.  Persistence in the EJB Tier

27.  The Java Persistence Query Language

Part VI Services

28.  Introduction to Security in the Java EE Platform

29.  Securing Java EE Applications

30.  Securing Web Applications

31.  The Java Message Service API

32.  Java EE Examples Using the JMS API

33.  Transactions

34.  Resource Connections

35.  Connector Architecture

Part VII Case Studies

36.  The Coffee Break Application

37.  The Duke's Bank Application

Part VIII Appendixes

A.  Java Encoding Schemes

B.  About the Authors



How This Book Is Organized

The Java EE 5 platform is quite large, and this tutorial reflects this. However, you don’t have to digest everything in it at once. The tutorial has been divided into parts to help you navigate the content more easily.

This tutorial opens with an introductory chapter, which you should read before proceeding to any specific technology area. Chapter 1, Overview covers the Java EE 5 platform architecture and APIs, the Sun Java System Application Server, and how to use the this tutorial's examples.

When you have digested the basics, you can delve into one or more of the five main technology areas listed next. Because there are dependencies between some of the chapters, Figure P-1 contains a roadmap for navigating through the tutorial.

  • The web-tier technology chapters in Part II, The Web Tier cover the components used in developing the presentation layer of a Java EE 5 or stand-alone web application:

    • Java Servlet

    • JavaServer Pages (JSP)

    • JavaServer Pages Standard Tag Library (JSTL)

    • JavaServer Faces

    • Web application internationalization and localization

  • The web services technology chapters in Part III, Web Services cover the APIs used in developing standard web services:

    • The Java API for XML-based Web Services (JAX-WS)

    • The Java API for XML Binding (JAXB)

    • The Streaming API for XML (StAX)

    • The SOAP with Attachments API for Java (SAAJ)

  • The Enterprise JavaBeans (EJB) technology chapters in Part IV, Enterprise Beans cover the components used in developing the business logic of a Java EE 5 application:

    • Session beans

    • Message-driven beans

  • The persistence technology chapters in Part V, Persistence cover the Java Persistence API, which is used for accessing databases from Java EE applications:

    • Introduction to the Java Persistence API

    • Persistence in the Web Tier

    • Persistence in the EJB Tier

    • The Java Persistence Query Language

  • The platform services chapters in Part VI, Services cover the system services used by all the Java EE 5 component technologies:

    • Security

    • Java Message Service

    • Transactions

    • Resource connections

    • The Java EE Connector Architecture

Figure P-1 Roadmap to This Tutorial

Flow diagram of chapter prerequisites. Major chapter orders are: 1-14; 1, 15-17; 1, 15, 18, 19; 1, 20-27; 1, 28-35.

After you have become familiar with some of the technology areas, you are ready to tackle the case studies in Part VII, Case Studies, which tie together several of the technologies discussed in the tutorial. The Coffee Break Application describes an application that uses the web application and web services APIs. The Duke’s Bank Application describes an application that employs web application technologies, enterprise beans, and the Java Persistence API.

Finally, Part VIII, Appendixes contains information about Java encoding schemes and Java EE certification that may be helpful to the Java EE 5 application developer, and information about the tutorial's authors.