4.1 Organization of this chapter

This chapter describes the precautions to be taken for implementing Enterprise Beans as the program of an application that is running on the Application Server machine.

The following table describes the organization of this chapter:

Table 4-1 Organization of this chapter (Precautions During the Implementation of an Enterprise Bean)

CategoryTitleReference location
Common precautions for all Enterprise BeansRules for naming an Enterprise Bean and related classes4.2.1
Acquiring and releasing a resource connection4.2.2
Differentiating the use of a local interface and remote interface4.2.3
Using the Local Invocation Optimization functionality4.2.4
Method for invoking an Enterprise Bean of another J2EE application with the component interface4.2.5
Method for invoking an Enterprise Bean of another J2EE application with the business interface4.2.6
Precautions concerning the acquisition of a class loader4.2.7
Precautions during the use of the URLConnection class4.2.8
Precautions concerning loading of the native library4.2.9
About the timeout of access exclusion of an Entity Bean (common for CMP and BMP)4.2.10
About the occurrence of a deadlock during the use of an Entity Bean (common for CMP and BMP)4.2.11
Precautions regarding the methods of the javax.ejb.EJBContext interface4.2.12
About the <prim-key-class> tag of the Entity Bean (common for CMP and BMP) property file4.2.13
Precautions concerning EJB specifications4.2.14
About multi-byte characters4.2.15
Precautions concerning transmission of Unicode supplementary characters4.2.16
Precautions concerning API of EJB3.04.2.17
Precautions related to ejb-jar.xml of EJB 3.0 or later4.2.18
Precautions related to use Generics4.2.19
Precautions when using EJB 3.14.2.20
About the getCause() method4.2.21
Precautions concerning name of the resource reference4.2.22
Precautions concerning libraries of Application Server4.2.23
Precautions for each type of Enterprise BeansPrecautions during the implementation of a Stateful Session Bean4.3.2
Precautions during the implementation of an Entity Bean (BMP)4.3.3
Precautions during the implementation of an Entity Bean (CMP)4.3.4
Precautions during the implementation of a Message-driven Bean4.3.5
Precautions during the implementation of Singleton Session Bean4.3.6
Note:
This chapter provides the description only for Precautions.