Enterprise JavaBeans
Contents
- Introduction and Roadmap
- Understanding Enterprise JavaBeans
- Designing Enterprise Java Beans
- Implementing Enterprise Java Beans
- Session EJBs
- Entity EJBs
- Message-Driven EJBs
- Deployment Guidelines for Enterprise Java Beans
- weblogic-ejb-jar.xml Deployment Descriptor Reference
- weblogic-cmp-jar.xml Deployment Descriptor Reference
- EJBGen Reference
- EJB Query Language (EJB-QL) and WebLogic Server
- appc and ejbc Reference
- Important Information for EJB 1.1 Users
- WebLogic Server Applications
- Deploying WebLogic Server Applications
Samples and Tutorials for the EJB Developer
In addition to this document, BEA Systems provides a variety of code samples and tutorials for EJB developers. The examples and tutorials illustrate WebLogic Server EJBs in action, and provide practical instructions on how to perform key EJB development tasks.
BEA recommends that you run some or all of the EJB examples before developing your own EJBs.
Avitek Medical Records Application (MedRec) and Tutorials
MedRec is an end-to-end sample J2EE application shipped with WebLogic Server that simulates an independent, centralized medical record management system. The MedRec application provides a framework for patients, doctors, and administrators to manage patient data using a variety of different clients.
MedRec demonstrates WebLogic Server and J2EE features, and highlights BEA-recommended best practices. MedRec is included in the WebLogic Server distribution, and can be accessed from the Start menu on Windows machines. For Linux and other platforms, you can start MedRec from the WL_HOME\samples\domains\medrec directory, where WL_HOME is the top-level installation directory for WebLogic Platform.
MedRec includes a service tier comprised primarily of EJBs that work together to process requests from web applications, web services, and workflow applications, and future client applications. The application includes message-driven, stateless session, stateful session, and entity EJBs.
As companion documentation to the MedRec application, BEA provides tutorials that provide step-by-step procedures for key development tasks, including EJB-specific tasks, such as:
- Using EJBGen to Generate EJB deployment descriptors
- Exposing a stateless Session EJB as a web service
- Securing EJB resources using the Administration Console
EJB Examples in the WebLogic Server Distribution
WebLogic Server 8.1 optionally installs API code examples in WL_HOME\samples\server\examples\src\examples, where WL_HOME is the top-level directory of your WebLogic Server installation. You can start the examples server, and obtain information about the samples and how to run them from the WebLogic Server 8.1 Start menu.
Additional EJB Examples Available for Download
Additional API examples for download at http://dev2dev.bea.com/code/certwls81.jsp. These examples are distributed as .zip files that you can unzip into an existing WebLogic Server samples directory structure.
You build and run the downloadable examples in the same manner as you would an installed WebLogic Server example. See the download pages of individual examples for more information. at http://dev2dev.bea.com/code/certwls81.jsp.