Download PDF Home History |  | API Search Feedback FAQ

> ## Naming Conventions for Enterprise Beans

> Because enterprise beans are composed of multiple parts, it's useful to follow a naming convention for your applications. Table 23-2 summarizes the conventions for the example beans in this tutorial.

> Table 23-2 Naming Conventions for Enterprise Beans
> Item | Syntax | Example
> --- | --- | ---
> Enterprise bean name (DD1) | `<`name`>Bean` | `AccountBean`
> EJB JAR display name (DD) | `<`name`>JAR` | `AccountJAR`
> Enterprise bean class | `<`name`>Bean` | `AccountBean`
> Home interface | `<`name`>Home` | `AccountHome`
> Remote interface | `<`name`>` | `Account`
> Local home interface | `<`name`>LocalHome` | `AccountLocalHome`
> Local interface | <name>`Local` | `AccountLocal`
> Abstract schema (DD) | <name> | `Account`

> 1 DD means that the item is an element in the bean's deployment descriptor.

Download PDF Home History |  | API Search Feedback FAQ

All of the material in The J2EE(TM) 1.4 Tutorial is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.