Getting Started with Enterprise JavaBeans™

G

J2EE/EJB Overview

Tutorial Home Section Home Previous Next

Get

Get

EJB Programming Restrictions

     In order for the container to properly carry out its duties, provide appropriate services, and manage the components within its environment, a number of restrictions apply to the design and creation of EJBs. These rules often cause much confusion and gnashing of teeth among developers, but it is best to understand and abide by them to avoid problems in your beans and applications. The following is reproduced verbatim from section 24.1.2 "Programming restrictions" of the EJB 2.0 specification (see Resources):

     "This section describes the programming restrictions that a Bean Provider must follow to ensure that the enterprise bean is portable and can be deployed in any compliant EJB 2.0 Container. The restrictions apply to the implementation of the business methods...



Tutorial Home Section Home Previous Next