1-2 Programming Enterprise JavaBeans, Version 3.0, for Oracle WebLogic Server
■
Chapter 4, Iterative Development of Enterprise JavaBeans 3.0, describes the EJB
implementation process, and provides guidance for how to get an EJB up and running in WebLogic Server.
■
Chapter 5, Programming the Annotated EJB 3.0 Class, describes the
requirements and typical steps when programming the EJB bean class that contains the metadata annotations.
■
Chapter 6, Using Oracle TopLink with Oracle WebLogic Server, provides an
overview of developing an Oracle TopLink application using Oracle WebLogic Server.
■
Chapter 7, Using Oracle Kodo with WebLogic Server, describes how to use
Oracle Kodo to create entity beans. Oracle Kodo is a product that provides the implementation of the Java Persistence API section of the EJB 3.0 specification, as
well as other persistence-related technologies such as Java Data Objects JDO.
■
Appendix A, EJB 3.0 Metadata Annotations Reference, provides reference
information for the EJB 3.0 metadata annotations, as well as information about standard metadata annotations that are used by EJB.
■
Appendix B, Persistence Configuration Schema Reference, provides reference
information for the persistence configuration schema.
1.3 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:
■
Programming WebLogic Enterprise JavaBeans for Oracle WebLogic Server
■
Enterprise JavaBeans 3.0 Specification JSR-220 at http:www.jcp.orgenjsrdetail?id=220
For comprehensive guidelines for developing, deploying, and monitoring WebLogic Server applications, see the following documents:
■
Developing Applications for Oracle WebLogic Server is a guide to developing WebLogic Server applications.
■
Deploying Applications to Oracle WebLogic Server is the primary source of information about deploying WebLogic Server applications in development and
production environments.
1.4 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.
Introduction and Roadmap 1-3
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.
1.5 New and Changed Features in this Release