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 32 summarizes the conventions for the example beans of this tutorial.
Table 32 Naming Conventions for Enterprise Beans
Item |
Syntax |
Example |
Enterprise bean name (DD) |
<name>EJB |
AccountEJB |
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 |
Local<name>Home |
LocalAccountHome |
Local interface |
Local<name> |
LocalAccount |
Abstract schema (DD) |
<name> |
Account |
DD means that the item is an element in the bean's deployment descriptor.