1 Introduction and Roadmap

RSS.This section describes the contents and organization of this guide—Programming Enterprise JavaBeans, Version 3.0, for Oracle WebLogic Server.

Document Scope and Audience

This document is a resource for software developers who develop applications that include WebLogic Server Enterprise JavaBeans (EJBs), Version 3.0.

The document mostly discusses the new EJB 3.0 programming model, in particular the use of metadata annotations to simplify development. The document briefly discusses the main differences between EJB 3.0 and 2.X for users who are familiar with programming EJB 2.X and want to know why they might want to use the new 3.0 programming model.

This document does not address EJB topics that are the same between versions 2.X and 3.0, such as design considerations, EJB container architecture, deployment descriptor use, and so on. This document also does not address production phase administration, monitoring, or performance tuning. For links to WebLogic Server documentation and resources for these topics, see Related Documentation.

It is assumed that the reader is familiar with Java Platform, Enterprise Edition (Java EE) Version 5 and EJB 2.X concepts.

Guide to this Document

Related Documentation

This document contains EJB 3.0-specific development information. Additionally, it provides information only for session and message-driven beans. For completed information on general EJB design and architecture, the EJB 2.X programming model (which is fully supported in EJB 3.0), and programming 3.0 entities, see the following documents:

For comprehensive guidelines for developing, deploying, and monitoring WebLogic Server applications, see the following documents:

Comprehensive Example for the EJB 3.0 Developer

In addition to this document and the basic examples described in Chapter 3, "Simple Enterprise JavaBeans 3.0 Examples," Oracle provides a comprehensive example in the WebLogic Server distribution kit. The example illustrates EJB 3.0 in action and provides practical instructions on how to perform key EJB 3.0 development tasks. In particular, the example demonstrates usage of EJB 3.0 with:

  • Java Persistence API

  • Stateless Session Bean

  • Message Driven Bean

  • Asynchronous JavaScript based browser application.

The example uses a persistent domain model for entity EJBs.

WebLogic Server optionally installs this comprehensive example in WL_HOME\samples\server\examples\src\examples\ejb\ejb30, where WL_HOME is the top-level directory of your WebLogic Server installation. On Windows, you can start the examples server, and obtain information about the samples and how to run them from the WebLogic Server Start menu.

Oracle recommends that you run this example before programming your own application that uses EJB 3.0.

New and Changed Features in this Release

For a comprehensive listing of the new WebLogic Server features introduced in this release, see "What's New in Oracle WebLogic Server" in Oracle Fusion Middleware What's New in Oracle WebLogic Server.