Chapter 6. Building Enterprise JavaBeans in WebLogic Server

This chapter examines best practices related to the implementation of Enterprise JavaBeans (EJB) technology in the WebLogic Server product. Chapters 7 and 8 walk through the development and deployment of an example EJB application to highlight related best practices.

This chapter is not intended as a primer, introduction, or reference for EJB technology. Our primary emphasis is the EJB container in WebLogic Server and its unique features and capabilities. If you're unfamiliar with the basics of EJB, we suggest you study Mastering Enterprise JavaBeans 3.0, by Rima Patel Sriganesh, Gerald Brose, and Micah Silverman (Wiley, 2006) for a complete treatment of EJB technology.

We begin by briefly reviewing some EJB terms and key concepts to support the discussions that follow. The second half of the chapter discusses EJB features that are specific to WebLogic Server.

EJB Technology Overview

The Enterprise JavaBeans (EJB) specification defines a server-side component technology designed to support the construction of distributed enterprise-class applications. We'll break apart the definition of EJB and examine key concepts.

EJB is a specification

It is not a set of classes, code, or reference implementation components. Vendors such as Oracle are expected to build application servers that implement EJB technology according to the specification.

EJB is a component technology

Component technologies emphasize the encapsulation of business ...

Get Professional Oracle® WebLogic Server now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.