@(#)jonas-ejb-jar_4_1_2.xsd 14/11/03
...
The instance documents may indicate the published version of
the schema using the xsi:schemaLocation attribute for the
Jonas namespace with the following location:
http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_1_2.xsd
]]>
The import must be done before the include, else
ejb-jar_2.1.xsd is not resolved
This is the root element of the JOnAS specific EJB deployment descriptor.
The activation-configType defines information about
the expected configuration properties of the message-driven bean in its
operational environment. This may include information about message
acknowledgement, message selector, expected destination type, etc. The
configuration information is expressed in terms of name/value
configuration properties. The properties that are recognized for a
particular message-driven bean are determined by the messaging type.
The activation-config-propertyType contains a
name/value configuration property pair for a message-driven bean. The
properties that are recognized for a particular message-driven bean are
determined by the messaging type.
The activation-config-property-name element
contains the name for an activation configuration property of a
message-driven bean. For JMS message-driven beans, the following
property names are recognized: acknowledgeMode, messageSelector,
destinationType, subscriptionDurability
The activation-config-property-value element
contains the value for an activation configuration property of a
message-driven bean.
Policy about cleanup at bean loading.
Possible values are : none, create, removeall, removedata.
'none' is not implemented, the default value is 'create'.
The cmp-field-jdbc-mapping element declares
the mapping of a container-managed field
of an entity to a column of a relational table.
It consists of
- the field's name,
- the column name of the relational table,
- and optionaly the associated sql-type (CMP2 only).
The field-name element specifies the name
of a container managed field.
The jdbc-field-name element specifies the name
of a column name in a relational table
The sql-type element specifies the SQL type
The finder-method-jdbc-mapping element declares the SQL WHERE clause associated to a
finder method of a container-managed persistence entity.
It consists of
- the description of the finder method,
- the SQL WHERE clause.
This is used only for entity bean CMP1.
The jdbc-where-clause element specifies a SQL WHERE clause.
for CMP1.x only
The foreign-key-jdbc-mapping element specifies a foreign key column name
and its associated primary key column name.
The foreign-key-jdbc-name element specifies a foreign key column name
of a relational table.
The key-jdbc-name element specifies an optional primary key column name
of a relational table.
The jdbc-mapping element declares the mapping of an entity with container-managed
persistence to the underlying database.
It consists of
- the JNDI name of the datasource (CMP only),
- the name of the relational table (CMP only),
- an optional tag automatic-pk-field-name to specify the field name of the automatic primary key (CMP only),
- for each container-managed field, the associated column name in the table (CMP only),
- for each finder method, the associated SQL WHERE clause (CMP1 only).
The jndi-name element contains the JNDI name
of the DataSource.
the name of the relational table
optional flag to use automatic generation of primary key
optional flag to specify the name of automatic cmp field generate for pk auto-generated
The jonas-ejb-jarType defines the root element of the JOnAS specific
EJB deployment descriptor.
It contains the JOnAS specific information about all included
enterprise beans and optional information for EJB relations
The jonas-ejb-relation element declares the mapping of a relation
to the underlying database.
It consist of
- the name of the relation specified in the standard
EJB deployment descriptor,
- the optional name of the relational joint table,
- and for the two relationship roles of the relation,
the mapping of those relationship roles.
the name of the relation specified in
the standard EJB deployment descriptor,
optional name of the relational joint table
The jonas-ejb-relationship-role element declares the mapping of
a relationship-role of a relation.
It consist of
- the name of the relationship-role specified
in the standard EJB deployment descriptor
- and the names of the foreign key columns.
The ejb-relationship-role-name element specifies the name
of an relationship-role (CMP2 only).
The jonas-entity-beanType defines the JOnAS specific information for a entity.
It consists of
- the enterprise bean's name specified in the standard EJB deployment descriptor,
- the JNDI name of the enterprise bean's home,
- the JNDI name of the local enterprise bean's home,
- JOnAS specific information for bean's EJB references,
- JOnAS specific information for bean's resource
manager connection factory references
- JOnAS specific information for bean's resource
environment references.
- JOnAS specific information for bean's web
service references
- an optionnal isModified method name
- an optionnal passivation timeout
- an optional shared flag
- an optional max size of instances cache
- an optional min size for the pool of ready instances
- an optional policy about cleanup at bean loading
- an optional lock policy
- an optional mapping of an entity with container-managed
persistence to the underlying database
The is-modified-method-name element specifies the name
of the is-modified method of a entity.
specifies the value of timeout in seconds for
expiration of session instances.
The shared element specifies if the bean state can be accessed
outside JOnAS.
Possible values are true or false (default is false).
defines the max number of instances that can
be hold in memory.The default value is infinite.
Defines the number of instances that will be
created to populate the pool when the bean
is loaded for the first time.
The default value is 0.
The cleanup element specifies the policy about
cleanup at bean loading.
The lock-policy element specifies the lock policy for this entity bean.
The jonas-message-drivenType defines the JOnAS specific information for a message
driven bean.
It consists of
- the enterprise bean's name specified in the standard EJB deployment descriptor,
- JOnAS specific information about the message-driven destination,
- JOnAS specific information for bean's EJB references,
- JOnAS specific information for bean's resource
manager connection factory references
- JOnAS specific information for bean's resource
environment references.
- JOnAS specific information for bean's web
service references
- an optional max size of instances cache
- an optional min size for the pool of ready instances
defines the max number of instances that can
be hold in memory.The default value is infinite.
Defines the number of instances that will be
created to populate the pool when the bean
is loaded for the first time.
The default value is 0.
The jonas-message-driven-destination element declares
the JOnAS specific information for
a the message driven bean destination.
It consists of:
the JNDI name of the message driven destination.
The jonas-method element is used to denote a method
of the enterprise bean's home.
It consists of
- the method's name,
- optional method-params elements identify a single method
among multiple methods with an overloaded method name.
The method-name element contains a name of an enterprise bean method
The jonas-session-beanType defines the JOnAS specific information for a session.
It consists of
- the enterprise bean's name specified in the standard EJB deployment descriptor,
- the JNDI name of the enterprise bean's home,
- the JNDI name of the local enterprise bean's home,
- JOnAS specific information for bean's EJB references,
- JOnAS specific information for bean's resource
manager connection factory references
- JOnAS specific information for bean's resource
environment references.
- JOnAS specific information for bean's web
service references
- an optionnal session-timeout.
- an optional max size of instances cache
- an optional min size for the pool of ready instances
specifies the value of timeout in seconds for
expiration of session instances.
defines the max number of instances that can
be hold in memory.The default value is infinite.
Defines the number of instances that will be
created to populate the pool when the bean
is loaded for the first time.
The default value is 0.
Policy about isolation locking
Possible values are : container-serialized, container-read-committed, container-read-uncommitted, database
the default value is 'container-serialized'.
The method-paramsType defines a list of the
fully-qualified Java type names of the method parameters.
The method-param element contains a primitive
or a fully-qualified Java type name of a method
parameter.
The run-asType specifies the run-as principal to be
used for the execution of a component. It is an optional
element.
The principal-to-role-mappingType specifies the mapping between
principal-name and the list of roles for this principal. It is used
for the mapping of roles for run-as identity.