Semi-Formal EJB Configuration Description
Resin 2.1

Reference Guide
EJB Reference Guide

EJBServer
JNDI
Entity Config
Relation Config
Session Config
Resin-EJB Config
SQL mapping
Transaction Config
Message Config
EJB-QL
xdoclet
Config Summary
Burlap
JMS
CORBA/IIOP
Index
xdoclet
EJB Reference Guide
Burlap

Configuration is based on element-only XML like the EJB 2.0 spec deployment descriptors.

In general, the order is not important, but the nesting depth is.

Semi-Formal Description

ejb-jar ::= enterprise-beans |
            relationships |
            assembly-descriptor |

enterprise-beans ::= entity* |
                     session* |
                     message-driven*

entity ::= ejb-name |
           local-home |
           local |
           home |
           remote |
           ejb-class |
           persistence |
           reentrant |
           prim-key-class |
           primkey-field |
           abstract-schema-name |
           sql-table |
           cmp-field* |
           query*

cmp-field ::= field-name |
              sql-column 

query ::= query-method 
          ejb-ql 

query-method ::= method-name
                 method-params*

session ::= ejb-name |
            local-home |
            local |
            home |
            remote |
            ejb-class |
            session-type |
            transaction-type

relationships ::= ejb-relation*

ejb-relation ::= ejb-relation-name
                 ejb-relationship-role
                 ejb-relationship-role

ejb-relationship-role ::= multiplicity |
                          relationship-role-source |
                          cmr-field |
                          sql-name

assembly-descriptor ::= container-transaction*

container-transaction ::= method* |
                          trans-attribute


xdoclet
EJB Reference Guide
Burlap
Copyright © 1998-2006 Caucho Technology, Inc. All rights reserved.
Resin® is a registered trademark, and HardCoretm and Quercustm are trademarks of Caucho Technology, Inc.