Parameter |
Type |
Applicability |
Description |
Mandatory |
name |
text |
|
Provides the name of the bean that
will be used in the EJB deployment descriptor(ejb-jar.xml). |
true |
description |
text |
|
A description of the bean. The
default description is the first sentence of the class-level Javadoc comment
of the bean class. |
false |
display-name |
text |
|
The display name of the bean. |
false |
small-icon |
text |
|
The small icon for the bean. |
false |
large-icon |
text |
|
The large icon for the bean. |
false |
generate |
boolean |
|
Set it to false if you want the class
be excluded from the list of EJBs. This is useful for abstract EJBs from which
other EJBs derive. Clearly, abstract EJBs should not be wrongly identified
as concrete EJBs in deployment descriptors. The default value is
|
false |
jndi-name |
text |
Remote Session and Entity beans. |
Provides the JNDI name of the bean that will be used
in the vendor-specific deployment descriptors. |
false |
local-jndi-name |
text |
Local Session and Entity beans, EJB 2.0 |
Provides the JNDI name of the bean that will be used
in the vendor-specific deployment descriptors. It is the JNDI name for the
local EJB. |
false |
view-type |
text |
Session and entity beans |
Indicates what view-type is supported
by the bean. You must specify one of the following attributes:
The default value is - remote (EJB 1.1)
- both (EJB 2.0)
|
false |
type |
text |
Session and Entity beans |
Defines the type of the bean.
You must specify one of the following attributes: - CMP
- BMP
- Stateless
- Stateful
The default value is - CMP (for javax.ejb.EntityBean)
- Stateless (for javax.ejb.SessionBean)
|
true |
transaction-type |
text |
Session and Message-driven beans |
Defines the transaction-type of
the bean. You must specify one of the following attributes:
The default value is
|
false |
remote-business-interface |
text |
Session and Entity beans |
Defines the remote business interface for the bean.
If present, ejb.interface-method tags are not required;
instead the remote interface will extend the business interface. The business
interface must declare all methods as throwing RemoteException according
to the business interface pattern. |
false |
local-business-interface |
text |
Session and Entity beans |
Defines the local business interface for the bean. Functions
in a way similar to remote-business-interface, but the
interface does not need to declare RemoteException in the throws clause. |
false |