Structural Definition - II
home (mandatory) : the fully-qualified name of the enterprise bean's home interface.
remote (mandatory): the fully-qualified name of the enterprise bean's remote interface.
Bean's type is defined with session or entity element.
session element contains the following tags;
- session-type : stateful or stateless
- transaction-type : Bean or Container
entity element has:
- persistence-type : Bean or Container
- primkey-class : the fully-qualified name of entity bean's primary key class (must for bean-managed persistence).
- cmp-fields : defines the fields in the bean constituting the state of this bean (must for container-managed persistence).