Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Praise for the First Edition

Preface

Acknowledgments

About this Book

About the Authors

About the Cover Illustration

1. Overview of the EJB landscape

Chapter 1. What’s what in EJB 3

1.1. EJB overview

1.1.1. EJB as a component model

1.1.2. EJB component services

1.1.3. Layered architectures and EJB

1.1.4. Why choose EJB 3?

1.2. Understanding EJB types

1.2.1. Session beans

1.2.2. Message-driven beans

1.3. Related specifications

1.3.1. Entities and the Java Persistence API

1.3.2. Contexts and dependency injection for Java EE

1.4. EJB runtimes

1.4.1. Application servers

1.4.2. EJB Lite

1.4.3. Embeddable containers

1.4.4. Using EJB 3 in Tomcat

1.5. Brave new innovations

1.5.1. “Hello User” example

1.5.2. Annotations versus XML

1.5.3. Intelligent defaults versus explicit configuration

1.5.4. Dependency injection versus JNDI lookup

1.5.5. CDI versus EJB injection

1.5.6. Testable POJO components