[jboss-dev] ejb3 metadata elements
Dimitris Andreadis
dandread at redhat.com
Thu Nov 20 08:01:27 EST 2008
Carlo de Wolf wrote:
> Dimitris Andreadis wrote:
>> - timer-persistence. I suppose we need to keep it. Isn't ejb3 falling
>> back on the ejb2 timer implementation?
> Yes, but I've never seen that option.
It is used by the ejb2 container to support the legacy non-persisting the timers mode upon
container shutdown.
Container.java
...
{
// container stop, we choose whether active timers
// should be persisted (default), or not (legacy)
timerService.removeTimerService(getJmxName(),
getBeanMetaData().getTimerPersistence());
}
If you assume you always persist the timers in ejb3, I suppose you don't need it.
>> - ior-security-config. This is needed for the csiv2 stuff. Are we not
>> using it?
> We're not using it at the moment. I commented out the security config
> meta data usage in IORFactory. Probably because the old metamodel didn't
> support it.
This is used for setting up csiv2 for ejb2 beans. I suggest you leave it there; you might
need it.
>
> Carlo
>>
>> Alexey Loubyansky wrote:
>>> The following don't seem to be used in EJB3 right now (for the
>>> session bean at least). But this needs confirmation. I am not
>>> releasing metadata until it's been cleared out.
>>>
>>> - call-by-value
>>> - exception-on-rollback
>>> - timer-persistence
>>> - ejb-timeout-identity
>>> - ior-security-config
>>>
>>> Dimitris Andreadis wrote:
>>>> No one from the ejb3 team?
>>>>
>>>> Alexey Loubyansky wrote:
>>>>> I am at the final steps cleaning jboss_5_0.xsd and the dtd. I would
>>>>> like to clarify which elements are NOT needed (ejb2 legacy) in
>>>>> jboss_5_0.xsd. Please, review and let me know.
>>>>>
>>>>> For example, 'jboss' element (jbossType)
>>>>> - container-configurations, invoker-proxy-bindings are removed
>>>>>
>>>>>
>>>>> session element
>>>>> - configuration-name - can't be removed w/o removing cluster-config
>>>>> (do we need cluster-config in the xsd?)
>>>>> - invoker-bindings - removed
>>>>> - security-proxy - removed
>>>>>
>>>>> Are there elements from the following list which should be removed?
>>>>> <xsd:element name="security-identity"
>>>>> type="javaee:security-identityType" minOccurs="0"/>
>>>>> <xsd:element name="local-binding" type="jboss:local-bindingType"
>>>>> minOccurs="0" maxOccurs="unbounded"/>
>>>>> <xsd:element name="remote-binding" type="jboss:remote-bindingType"
>>>>> minOccurs="0" maxOccurs="unbounded"/>
>>>>> <xsd:element name="business-local" type="javaee:string"
>>>>> minOccurs="0" maxOccurs="unbounded"/>
>>>>> <xsd:element name="business-remote" type="javaee:string"
>>>>> minOccurs="0" maxOccurs="unbounded"/>
>>>>> <xsd:element name="jndi-name" type="javaee:jndi-nameType"
>>>>> minOccurs="0"/>
>>>>> <xsd:element name="home-jndi-name" type="javaee:jndi-nameType"
>>>>> minOccurs="0"/>
>>>>> <xsd:element name="call-by-value" type="xsd:boolean" minOccurs="0"/>
>>>>> <xsd:element name="exception-on-rollback" type="xsd:boolean"
>>>>> minOccurs="0"/>
>>>>> <xsd:element name="timer-persistence" type="xsd:boolean"
>>>>> minOccurs="0"/>
>>>>> <xsd:element name="local-jndi-name"
>>>>> type="jboss:local-jndi-nameType" minOccurs="0"/>
>>>>> <xsd:element name="local-home-jndi-name"
>>>>> type="javaee:jndi-nameType" minOccurs="0"/>
>>>>> <xsd:element name="jndi-binding-policy"
>>>>> type="jboss:jndi-binding-policyType" minOccurs="0"/>
>>>>> <xsd:element name="clustered" type="jboss:clusteredType"
>>>>> minOccurs="0"/>
>>>>> <xsd:element name="cluster-config" type="jboss:cluster-configType"
>>>>> minOccurs="0"/>
>>>>> <xsd:element name="security-domain"
>>>>> type="jboss:security-domainType" minOccurs="0"/>
>>>>> <xsd:element name="method-attributes"
>>>>> type="jboss:method-attributesType" minOccurs="0"/>
>>>>> <xsd:element name="depends" type="jboss:dependsType" minOccurs="0"
>>>>> maxOccurs="unbounded"/>
>>>>> <xsd:element name="annotation" type="jboss:annotationType"
>>>>> minOccurs="0"/>
>>>>> <xsd:element name="ignore-dependency"
>>>>> type="jboss:ignore-dependencyType" minOccurs="0"/>
>>>>> <xsd:element name="aop-domain-name"
>>>>> type="jboss:aop-domain-nameType" minOccurs="0"/>
>>>>> <xsd:element name="cache-config" type="jboss:cache-configType"
>>>>> minOccurs="0"/>
>>>>> <xsd:element name="pool-config" type="jboss:pool-configType"
>>>>> minOccurs="0"/>
>>>>> <xsd:element name="concurrent" type="jboss:concurrentType"
>>>>> minOccurs="0"/>
>>>>> <xsd:element name="jndi-ref" type="jboss:jndi-refType"
>>>>> minOccurs="0" maxOccurs="unbounded"/>
>>>>> <xsd:element name="port-component" type="jboss:port-componentType"
>>>>> minOccurs="0" maxOccurs="1"/>
>>>>> <xsd:element name="ejb-timeout-identity"
>>>>> type="jboss:security-identityType" minOccurs="0" maxOccurs="1"/>
>>>>> <xsd:element name="ior-security-config"
>>>>> type="jboss:ior-security-configType" minOccurs="0"/>
>>>>>
>>>>>
>>>>> message-driven
>>>>> - configuration-name - can't be removed w/o removing cluster-config
>>>>> (do we need cluster-config in the xsd?)
>>>>> - invoker-bindings - removed
>>>>> - security-proxy - removed
>>>>>
>>>>> Are there elements from the following list which should be removed?
>>>>> <xsd:element name="local-jndi-name"
>>>>> type="jboss:local-jndi-nameType" minOccurs="0"/>
>>>>> <xsd:element name="jndi-binding-policy"
>>>>> type="jboss:jndi-binding-policyType" minOccurs="0"/>
>>>>> <xsd:element name="mdb-user" type="jboss:mdb-userType" minOccurs="0"/>
>>>>> <xsd:element name="mdb-passwd" type="jboss:mdb-passwdType"
>>>>> minOccurs="0"/>
>>>>> <xsd:element name="mdb-client-id" type="jboss:mdb-client-idType"
>>>>> minOccurs="0"/>
>>>>> <xsd:element name="mdb-subscription-id"
>>>>> type="jboss:mdb-subscription-idType" minOccurs="0"/>
>>>>> <xsd:element name="resource-adapter-name"
>>>>> type="jboss:resource-adapter-nameType" minOccurs="0"/>
>>>>> <xsd:element name="exception-on-rollback" type="xsd:boolean"
>>>>> minOccurs="0"/>
>>>>> <xsd:element name="timer-persistence" type="xsd:boolean"
>>>>> minOccurs="0"/>
>>>>> <xsd:element name="ejb-ref" type="jboss:ejb-refType" minOccurs="0"
>>>>> maxOccurs="unbounded"/>
>>>>> <xsd:element name="ejb-local-ref" type="jboss:ejb-local-refType"
>>>>> minOccurs="0" maxOccurs="unbounded"/>
>>>>> <xsd:element name="service-ref" type="jboss:service-refType"
>>>>> minOccurs="0" maxOccurs="unbounded"/>
>>>>> <xsd:element name="security-identity"
>>>>> type="jboss:security-identityType" minOccurs="0"/>
>>>>> <xsd:element name="resource-ref" type="jboss:resource-refType"
>>>>> minOccurs="0" maxOccurs="unbounded"/>
>>>>> <xsd:element name="resource-env-ref"
>>>>> type="jboss:resource-env-refType" minOccurs="0"
>>>>> maxOccurs="unbounded"/>
>>>>> <xsd:element name="message-destination-ref"
>>>>> type="jboss:message-destination-refType" minOccurs="0"
>>>>> maxOccurs="unbounded"/>
>>>>> <xsd:element name="security-identity"
>>>>> type="jboss:security-identityType" minOccurs="0" maxOccurs="1"/>
>>>>> <xsd:element name="security-domain"
>>>>> type="jboss:security-domainType" minOccurs="0"/>
>>>>> <xsd:element name="method-attributes"
>>>>> type="jboss:method-attributesType" minOccurs="0"/>
>>>>> <xsd:element name="depends" type="jboss:dependsType" minOccurs="0"
>>>>> maxOccurs="unbounded"/>
>>>>> <xsd:element name="ior-security-config"
>>>>> type="jboss:ior-security-configType" minOccurs="0"/>
>>>>> <xsd:element name="ejb-timeout-identity"
>>>>> type="jboss:security-identityType" minOccurs="0" maxOccurs="1"/>
>>>>> <xsd:element name="annotation" type="jboss:annotationType"
>>>>> minOccurs="0" maxOccurs="unbounded"/>
>>>>> <xsd:element name="ignore-dependency"
>>>>> type="jboss:ignore-dependencyType" minOccurs="0"/>
>>>>> <xsd:element name="aop-domain-name"
>>>>> type="jboss:aop-domain-nameType" minOccurs="0"/>
>>>>> <xsd:element name="pool-config" type="jboss:pool-configType"
>>>>> minOccurs="0"/>
>>>>> <xsd:element name="jndi-ref" type="jboss:jndi-refType"
>>>>> minOccurs="0" maxOccurs="unbounded"/>
>>>>> <xsd:element name="activation-config"
>>>>> type="jboss:activation-configType" minOccurs="0"/>
>>>>> <xsd:element name="default-activation-config"
>>>>> type="jboss:activation-configType" minOccurs="0"/>
>>>>> <xsd:element name="create-destination" type="xsd:boolean"
>>>>> minOccurs="0"/>
>>>>>
>>>>> Thanks,
>>>>> Alexey
>>>>> _______________________________________________
>>>>> jboss-development mailing list
>>>>> jboss-development at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/jboss-development
>>>> _______________________________________________
>>>> jboss-development mailing list
>>>> jboss-development at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/jboss-development
>>> _______________________________________________
>>> jboss-development mailing list
>>> jboss-development at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jboss-development
>>
>
More information about the jboss-development
mailing list