The EJBMetaData Class

Another class that is generated by the tools provided by the container provider is a class that implements the javax.ejb.EJBMetaData interface. This interface, or rather the class that implements this interface, is used to discover, sort of dynamically, meta-information about the EJB object for which it is obtained. This interface and resulting container class that is created are used for two primary purposes:

  • Can be used by development tools that need to discover information about deployed EJB objects.

  • Can be used by clients using a scripting language to access EJB objects.

The interface contains the methods listed in Table 3.4.

Table 3.4. The Methods for javax.ejb.EJBMetaData Interface
Return Method Description
EJBHome ...

Get Special Edition Using Enterprise JavaBeans™ 2.0 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.