Specifies the EJB interface the bean implements. In most cases this tag does not need to be used; When you define a new EJB using the IDE, the bean definition will automatically implement the correct interface. For more information, see How Do I: Create an Enterprise JavaBean?
Class tag for a an EJB.
@ejbgen:ejb-interface
ejb-type="InterfaceName"
ejb-type
Required. One of the following interfaces can be selected:
- javax.ejb.MessageDrivenBean
- javax.ejb.EntityBean
- javax.ejb.SessionBean