This section describes the contents and organization of this guide—Programming WebLogic Enterprise Java Beans, Version 3.0.
This document is a resource for software developers who develop applications that include WebLogic Server® Enterprise Java Beans (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 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.
persistence-configuration.xmlfile, which is the WebLogic-specific file used to configure BEA Kodo entities.
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:
In addition to this document and the basic examples described in Simple Enterprise JavaBeans 3.0 Examples, BEA Systems also 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:
The example uses a persistent domain model for entity EJBs.
WebLogic Server optionally install this comprehensive example in
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.
BEA recommends that you run this example before programming your own application that uses EJB 3.0.
For release-specific information, see these sections in WebLogic Server Release Notes: